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 cce7a8ce3..a94d07204 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 @@ -7738,6 +7738,66 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -12883,6 +12943,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -22897,6 +22965,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -22938,6 +23011,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -23166,6 +23240,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -23605,7 +23684,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -75337,7 +75416,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -76359,6 +76438,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -108978,6 +109120,112 @@ } } }, + "billing-usage-summary-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Organization Full", @@ -113878,12 +114126,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -113941,11 +114199,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -136466,6 +136734,112 @@ } } }, + "billing-usage-summary-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -281371,6 +281745,28 @@ ] } }, + "billing-usage-summary-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -285854,6 +286250,122 @@ "is_template": true } }, + "projects-v2-field-items": { + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] + }, + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] + }, "projects-v2-field": { "value": { "id": 12345, @@ -306997,6 +307509,28 @@ ] } }, + "billing-usage-summary-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -309088,6 +309622,24 @@ "type": "integer" } }, + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "actions-custom-image-definition-id": { "name": "image_definition_id", "description": "Image definition ID of custom image", @@ -310694,6 +311246,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -310952,6 +311519,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { 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 94303c742..51232a602 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 @@ -5452,6 +5452,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -9304,6 +9344,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -16568,6 +16621,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -16613,6 +16675,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -16784,6 +16847,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -17085,7 +17157,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -54601,7 +54673,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -55273,6 +55345,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -79272,6 +79386,85 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: Organization Full @@ -83268,11 +83461,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -83321,10 +83526,22 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by @@ -100571,6 +100788,85 @@ components: - grossAmount - discountAmount - netAmount + billing-usage-summary-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -210758,6 +211054,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 organization-full: value: login: github @@ -214532,6 +214844,88 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-field-items: + value: + - id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' projects-v2-field: value: id: 12345 @@ -232755,6 +233149,22 @@ components: discountAmount: 0 netAmount: 0.8 repositoryName: user/example + billing-usage-summary-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 check-run-completed: value: action: completed @@ -234636,6 +235046,20 @@ components: required: false schema: type: integer + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string actions-custom-image-definition-id: name: image_definition_id description: Image definition ID of custom image @@ -235963,6 +236387,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" actions_runner_jitconfig: description: Response content: @@ -236129,6 +236562,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index cce7a8ce3..a94d07204 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -7738,6 +7738,66 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -12883,6 +12943,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -22897,6 +22965,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -22938,6 +23011,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -23166,6 +23240,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -23605,7 +23684,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -75337,7 +75416,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -76359,6 +76438,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -108978,6 +109120,112 @@ } } }, + "billing-usage-summary-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Organization Full", @@ -113878,12 +114126,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -113941,11 +114199,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -136466,6 +136734,112 @@ } } }, + "billing-usage-summary-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/admin/overview/about-enterprise-accounts).\"", @@ -281371,6 +281745,28 @@ ] } }, + "billing-usage-summary-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -285854,6 +286250,122 @@ "is_template": true } }, + "projects-v2-field-items": { + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] + }, + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] + }, "projects-v2-field": { "value": { "id": 12345, @@ -306997,6 +307509,28 @@ ] } }, + "billing-usage-summary-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -309088,6 +309622,24 @@ "type": "integer" } }, + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "actions-custom-image-definition-id": { "name": "image_definition_id", "description": "Image definition ID of custom image", @@ -310694,6 +311246,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -310952,6 +311519,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 94303c742..51232a602 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -5452,6 +5452,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -9304,6 +9344,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -16568,6 +16621,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -16613,6 +16675,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -16784,6 +16847,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -17085,7 +17157,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -54601,7 +54673,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -55273,6 +55345,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -79272,6 +79386,85 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: Organization Full @@ -83268,11 +83461,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -83321,10 +83526,22 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by @@ -100571,6 +100788,85 @@ components: - grossAmount - discountAmount - netAmount + billing-usage-summary-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -210758,6 +211054,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 organization-full: value: login: github @@ -214532,6 +214844,88 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-field-items: + value: + - id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' projects-v2-field: value: id: 12345 @@ -232755,6 +233149,22 @@ components: discountAmount: 0 netAmount: 0.8 repositoryName: user/example + billing-usage-summary-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 check-run-completed: value: action: completed @@ -234636,6 +235046,20 @@ components: required: false schema: type: integer + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string actions-custom-image-definition-id: name: image_definition_id description: Image definition ID of custom image @@ -235963,6 +236387,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" actions_runner_jitconfig: description: Response content: @@ -236129,6 +236562,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; 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 705004399..ca4a91a37 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 @@ -54061,6 +54061,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -71875,6 +72232,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -127139,12 +127504,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127356,6 +127731,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -127397,6 +127777,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -127457,11 +127838,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -127797,12 +128188,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127947,6 +128348,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -131065,35 +131471,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -583758,35 +584249,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -604833,6 +605409,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", 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 e0d136eed..82185a526 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 @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &301 type: string description: The type of credit the user is receiving. enum: @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &110 + schema: &112 title: Validation Error Simple description: Validation Error Simple type: object @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &635 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1579,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &192 + - &194 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 @@ -1595,7 +1595,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1675,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &194 + default: &196 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &109 + schema: &111 title: Validation Error description: Validation Error type: object @@ -1803,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &197 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1917,7 +1917,7 @@ paths: - request - response examples: - default: &196 + default: &198 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &266 + properties: &267 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &267 + required: &268 - archive_url - assignees_url - blobs_url @@ -7414,7 +7414,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &166 + code_scanning_options: &168 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7608,7 +7608,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &170 type: array description: A list of default code security configurations items: @@ -7624,7 +7624,7 @@ paths: default configuration: *43 examples: - default: &169 + default: &171 value: - default_for_new_repos: public configuration: @@ -7955,7 +7955,7 @@ paths: - *42 - *45 responses: - '204': &170 + '204': &172 description: A header with no content is returned. '400': *14 '403': *29 @@ -8082,7 +8082,7 @@ paths: default: value: default_for_new_repos: all - configuration: &167 + configuration: &169 value: id: 1325 target_type: organization @@ -8167,7 +8167,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 type: object description: Repositories associated with a code security configuration and attachment status @@ -8468,7 +8468,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &172 + repository: &174 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8562,7 +8562,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &177 + - &179 name: state in: query description: |- @@ -8571,7 +8571,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &178 + - &180 name: severity in: query description: |- @@ -8580,7 +8580,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &179 + - &181 name: ecosystem in: query description: |- @@ -8589,14 +8589,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &180 + - &182 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 - - &181 + - &183 name: epss_percentage in: query description: |- @@ -8608,7 +8608,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 - - &473 + - &474 name: has in: query description: |- @@ -8622,7 +8622,7 @@ paths: type: string enum: - patch - - &182 + - &184 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8632,7 +8632,7 @@ paths: enum: - development - runtime - - &183 + - &185 name: sort in: query description: |- @@ -8658,11 +8658,11 @@ paths: application/json: schema: type: array - items: &184 + items: &186 type: object description: A Dependabot alert. properties: - number: &156 + number: &158 type: integer description: The security alert number. readOnly: true @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &474 + security_advisory: &475 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8927,29 +8927,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &159 + url: &161 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &160 + html_url: &162 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &157 + created_at: &159 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: &158 + updated_at: &160 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: &162 + dismissed_at: &164 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8979,14 +8979,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &161 + fixed_at: &163 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: &475 + auto_dismissed_at: &476 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9012,7 +9012,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &187 value: - number: 2 state: dismissed @@ -9796,7 +9796,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &174 + properties: &176 login: type: string example: github @@ -9837,7 +9837,7 @@ paths: type: string example: A great organization nullable: true - required: &175 + required: &177 - login - url - id @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &524 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &254 + properties: &255 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &255 + required: &256 - closed_issues - creator - description @@ -10543,7 +10543,7 @@ paths: timeline_url: type: string format: uri - type: &214 + type: &216 title: Issue Type description: The type of issue. type: object @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &647 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &648 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &525 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &661 title: Public User description: Public User type: object @@ -13214,7 +13214,7 @@ paths: - closed - all default: open - - &217 + - &219 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13265,7 +13265,7 @@ paths: type: array items: *82 examples: - default: &218 + default: &220 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &323 + - &324 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &324 + - &325 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &332 + '301': &333 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &554 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &554 + - &555 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &555 + - &556 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: @@ -14791,11 +14791,11 @@ paths: properties: id: type: string - repository: &140 + repository: &142 title: Minimal Repository description: Minimal Repository type: object - properties: &187 + properties: &189 id: type: integer format: int64 @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &268 + security_and_analysis: &269 nullable: true type: object properties: @@ -15145,7 +15145,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &188 + required: &190 - archive_url - assignees_url - blobs_url @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &557 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &562 + default: &563 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &563 + default: &564 value: properties: - property_name: environment @@ -16196,7 +16196,7 @@ paths: required: false schema: type: integer - - &702 + - &107 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 @@ -16220,14 +16220,14 @@ paths: required: false schema: type: string - - &703 + - &705 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &704 + - &108 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16366,7 +16366,7 @@ paths: parameters: - *63 - *105 - - &707 + - &708 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 @@ -16457,6 +16457,152 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *63 + - *105 + - *107 + - *106 + - &709 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *108 + - &710 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16483,7 +16629,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &109 title: Organization Full description: Organization Full type: object @@ -16802,7 +16948,7 @@ paths: - updated_at - archived_at examples: - default-response: &108 + default-response: &110 value: login: github id: 1 @@ -17118,17 +17264,17 @@ paths: description: Response content: application/json: - schema: *107 + schema: *109 examples: - default: *108 + default: *110 '422': description: Validation failed content: application/json: schema: oneOf: - - *109 - - *110 + - *111 + - *112 '409': *47 x-github: githubCloudOnly: false @@ -17242,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &338 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17315,7 +17461,7 @@ paths: type: integer runners: type: array - items: &111 + items: &113 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17369,7 +17515,7 @@ paths: - display_name - source nullable: true - machine_size_details: &119 + machine_size_details: &121 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17465,7 +17611,7 @@ paths: - public_ip_enabled - platform examples: - default: &139 + default: &141 value: total_count: 2 runners: @@ -17602,9 +17748,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: &120 + default: &122 value: id: 5 name: My hosted ubuntu runner @@ -17661,7 +17807,7 @@ paths: type: integer images: type: array - items: &112 + items: &114 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -17712,7 +17858,7 @@ paths: - latest_version - state examples: - default: &114 + default: &116 value: total_count: 2 image_versions: @@ -17744,7 +17890,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *63 - - &113 + - &115 name: image_definition_id description: Image definition ID of custom image in: path @@ -17756,7 +17902,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: default: value: @@ -17787,7 +17933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *63 - - *113 + - *115 responses: '204': description: Response @@ -17810,7 +17956,7 @@ 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: - - *113 + - *115 - *63 responses: '200': @@ -17827,7 +17973,7 @@ paths: type: integer image_versions: type: array - items: &115 + items: &117 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -17860,7 +18006,7 @@ paths: - created_on - state_details examples: - default: *114 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17881,8 +18027,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - *63 - - *113 - - &116 + - *115 + - &118 name: version description: Version of a custom image in: path @@ -17895,7 +18041,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: default: value: @@ -17922,8 +18068,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *63 - - *113 - - *116 + - *115 + - *118 responses: '204': description: Response @@ -17960,7 +18106,7 @@ paths: type: integer images: type: array - items: &117 + items: &119 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17996,7 +18142,7 @@ paths: - display_name - source examples: - default: &118 + default: &120 value: id: ubuntu-20.04 platform: linux-x64 @@ -18036,9 +18182,9 @@ paths: type: integer images: type: array - items: *117 + items: *119 examples: - default: *118 + default: *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18124,7 +18270,7 @@ paths: type: integer machine_specs: type: array - items: *119 + items: *121 examples: default: value: @@ -18194,7 +18340,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *63 - - &121 + - &123 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18206,9 +18352,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 headers: Link: *54 x-github: @@ -18229,7 +18375,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 requestBody: required: true content: @@ -18272,9 +18418,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18291,15 +18437,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 responses: '202': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18325,7 +18471,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &122 + schema: &124 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18339,7 +18485,7 @@ paths: required: - include_claim_keys examples: - default: &123 + default: &125 value: include_claim_keys: - repo @@ -18366,15 +18512,15 @@ paths: required: true content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 responses: '201': description: Empty response content: application/json: - schema: &149 + schema: &151 title: Empty Object description: An object without any properties. type: object @@ -18413,7 +18559,7 @@ paths: schema: type: object properties: - enabled_repositories: &124 + enabled_repositories: &126 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18426,7 +18572,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: &125 + allowed_actions: &127 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18434,12 +18580,12 @@ paths: - all - local_only - selected - selected_actions_url: &343 + selected_actions_url: &344 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: &126 + sha_pinning_required: &128 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18481,9 +18627,9 @@ paths: schema: type: object properties: - enabled_repositories: *124 - allowed_actions: *125 - sha_pinning_required: *126 + enabled_repositories: *126 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled_repositories examples: @@ -18517,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &348 type: object properties: days: @@ -18559,7 +18705,7 @@ paths: required: true content: application/json: - schema: &348 + schema: &349 type: object properties: days: @@ -18602,7 +18748,7 @@ paths: description: Response content: application/json: - schema: &127 + schema: &129 type: object properties: approval_policy: @@ -18616,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &349 + default: &350 value: approval_policy: first_time_contributors '404': *6 @@ -18647,7 +18793,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -18675,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -18701,7 +18847,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &128 + default: &130 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18729,7 +18875,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -18752,7 +18898,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -18802,7 +18948,7 @@ paths: type: array items: *66 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -18987,7 +19133,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - &129 + - &131 name: repository_id description: The unique identifier of the repository. in: path @@ -19016,7 +19162,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -19045,7 +19191,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &132 type: object properties: github_owned_allowed: @@ -19067,7 +19213,7 @@ paths: items: type: string examples: - default: &131 + default: &133 value: github_owned_allowed: true verified_allowed: false @@ -19100,9 +19246,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19234,7 +19380,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 '403': *29 '404': *6 x-github: @@ -19303,7 +19449,7 @@ paths: 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: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19330,7 +19476,7 @@ paths: 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: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19364,17 +19510,17 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 type: object properties: - default_workflow_permissions: &133 + default_workflow_permissions: &135 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &134 + can_approve_pull_request_reviews: &136 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19382,7 +19528,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &135 + default: &137 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19415,13 +19561,13 @@ paths: required: false content: application/json: - schema: &353 + schema: &354 type: object properties: - default_workflow_permissions: *133 - can_approve_pull_request_reviews: *134 + default_workflow_permissions: *135 + can_approve_pull_request_reviews: *136 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19466,7 +19612,7 @@ paths: type: number runner_groups: type: array - items: &136 + items: &138 type: object properties: id: @@ -19654,9 +19800,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: &138 + default: &140 value: id: 2 name: octo-runner-group @@ -19692,7 +19838,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - &137 + - &139 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19704,7 +19850,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -19741,7 +19887,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -19795,9 +19941,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: *138 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19817,7 +19963,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *63 - - *137 + - *139 responses: '204': description: Response @@ -19841,7 +19987,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -19859,9 +20005,9 @@ paths: type: number runners: type: array - items: *111 + items: *113 examples: - default: *139 + default: *141 headers: Link: *54 x-github: @@ -19884,7 +20030,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 - *19 - *17 responses: @@ -19902,9 +20048,9 @@ paths: type: number repositories: type: array - items: *140 + items: *142 examples: - default: &663 + default: &664 value: total_count: 1 repositories: @@ -20157,7 +20303,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20202,8 +20348,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20226,8 +20372,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20251,7 +20397,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -20269,7 +20415,7 @@ paths: type: number runners: type: array - items: &142 + items: &144 title: Self hosted runners description: A self hosted runner type: object @@ -20298,7 +20444,7 @@ paths: type: boolean labels: type: array - items: &145 + items: &147 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20328,7 +20474,7 @@ paths: - busy - labels examples: - default: &143 + default: &145 value: total_count: 2 runners: @@ -20388,7 +20534,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20433,8 +20579,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *63 - - *137 - - &141 + - *139 + - &143 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20463,8 +20609,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *63 - - *137 - - *141 + - *139 + - *143 responses: '204': description: Response @@ -20512,9 +20658,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -20546,7 +20692,7 @@ paths: application/json: schema: type: array - items: &354 + items: &355 title: Runner Application description: Runner Application type: object @@ -20571,7 +20717,7 @@ paths: - download_url - filename examples: - default: &355 + default: &356 value: - os: osx architecture: x64 @@ -20657,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &356 + '201': &357 description: Response content: application/json: @@ -20667,7 +20813,7 @@ paths: - runner - encoded_jit_config properties: - runner: *142 + runner: *144 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20730,7 +20876,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 title: Authentication Token description: Authentication Token type: object @@ -20768,7 +20914,7 @@ paths: - token - expires_at examples: - default: &357 + default: &358 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20805,9 +20951,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: &358 + default: &359 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20833,15 +20979,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: &359 + default: &360 value: id: 23 name: MBP @@ -20883,7 +21029,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *63 - - *141 + - *143 responses: '204': description: Response @@ -20910,9 +21056,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &146 + '200': &148 description: Response content: application/json: @@ -20926,7 +21072,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -20966,7 +21112,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -20990,7 +21136,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21015,7 +21161,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -21040,7 +21186,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21065,9 +21211,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &360 + '200': &361 description: Response content: application/json: @@ -21081,7 +21227,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -21123,8 +21269,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 - - &361 + - *143 + - &362 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21132,7 +21278,7 @@ paths: schema: type: string responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21175,7 +21321,7 @@ paths: type: integer secrets: type: array - items: &147 + items: &149 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21254,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &374 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21283,7 +21429,7 @@ paths: - key_id - key examples: - default: &374 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21309,7 +21455,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *63 - - &148 + - &150 name: secret_name description: The name of the secret. in: path @@ -21321,7 +21467,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: default: value: @@ -21352,7 +21498,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21409,7 +21555,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21436,7 +21582,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -21463,7 +21609,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -21481,9 +21627,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: &152 + default: &154 value: total_count: 1 repositories: @@ -21576,7 +21722,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21629,7 +21775,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21663,7 +21809,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21696,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &342 + - &343 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)." @@ -21720,7 +21866,7 @@ paths: type: integer variables: type: array - items: &150 + items: &152 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21853,7 +21999,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21879,7 +22025,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *63 - - &151 + - &153 name: name description: The name of the variable. in: path @@ -21891,7 +22037,7 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: default: value: @@ -21922,7 +22068,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -21985,7 +22131,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *63 - - *151 + - *153 responses: '204': description: Response @@ -22012,7 +22158,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 - *19 - *17 responses: @@ -22030,9 +22176,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22059,7 +22205,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -22109,7 +22255,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22144,7 +22290,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22226,6 +22372,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -22416,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &692 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &693 value: subject_digests: - sha256:abc123 @@ -22479,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &694 value: attestations_subject_digests: - sha256:abc: @@ -22828,7 +22987,7 @@ paths: initiator: type: string examples: - default: &387 + default: &388 value: attestations: - bundle: @@ -23047,7 +23206,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &153 + schema: &155 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23073,7 +23232,7 @@ paths: application/json: schema: type: array - items: &154 + items: &156 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23104,7 +23263,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &176 + items: &178 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23179,7 +23338,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &229 + properties: &231 id: description: Unique identifier of the team type: integer @@ -23251,7 +23410,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &230 + required: &232 - id - node_id - url @@ -23294,7 +23453,7 @@ paths: type: string format: date-time nullable: true - state: *153 + state: *155 contact_link: description: The contact link of the campaign. type: string @@ -23514,9 +23673,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: &155 + default: &157 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23599,9 +23758,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '404': *6 '422': description: Unprocessable Entity @@ -23678,7 +23837,7 @@ paths: type: string format: uri nullable: true - state: *153 + state: *155 examples: default: value: @@ -23688,9 +23847,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '400': description: Bad Request content: @@ -23757,17 +23916,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &413 + - &414 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: &163 + schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &415 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 @@ -23775,7 +23934,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &164 + schema: &166 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23790,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &417 type: string description: State of a code scanning alert. enum: @@ -23813,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &418 type: string description: Severity of a code scanning alert. enum: @@ -23834,18 +23993,18 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: &418 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: &419 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &165 + state: &167 type: string description: State of a code scanning alert. nullable: true @@ -23853,7 +24012,7 @@ paths: - open - dismissed - fixed - fixed_at: *161 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -23861,8 +24020,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: &419 + dismissed_at: *164 + dismissed_reason: &420 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23871,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &421 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &422 type: object properties: id: @@ -23930,25 +24089,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &423 type: object properties: - name: *163 + name: *165 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *164 - most_recent_instance: &423 + guid: *166 + most_recent_instance: &424 type: object properties: - ref: &415 + ref: &416 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &434 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23959,13 +24118,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &434 + category: &435 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: *165 + state: *167 commit_sha: type: string message: @@ -24472,7 +24631,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *166 + code_scanning_options: *168 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24615,7 +24774,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24643,9 +24802,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '304': *37 '403': *29 '404': *6 @@ -24697,7 +24856,7 @@ paths: - 32 - 91 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -24732,7 +24891,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 '304': *37 '403': *29 '404': *6 @@ -25016,7 +25175,7 @@ paths: - *63 - *45 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -25154,7 +25313,7 @@ paths: default: value: default_for_new_repos: all - configuration: *167 + configuration: *169 '403': *29 '404': *6 x-github: @@ -25207,13 +25366,13 @@ paths: application/json: schema: type: array - items: *171 + items: *173 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *172 + repository: *174 '403': *29 '404': *6 x-github: @@ -25253,7 +25412,7 @@ paths: type: integer codespaces: type: array - items: &219 + items: &221 type: object title: Codespace description: A codespace. @@ -25278,12 +25437,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *140 + repository: *142 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -25325,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -25530,7 +25689,7 @@ paths: - pulls_url - recent_folders examples: - default: &220 + default: &222 value: total_count: 3 codespaces: @@ -26154,7 +26313,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &175 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26193,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -26231,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26260,7 +26419,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26284,15 +26443,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26320,7 +26479,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26375,7 +26534,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -26402,7 +26561,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -26428,7 +26587,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -26446,9 +26605,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -26471,7 +26630,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26522,7 +26681,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26556,7 +26715,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26759,7 +26918,7 @@ paths: currently being billed. seats: type: array - items: &222 + items: &224 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26776,14 +26935,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *174 - required: *175 + properties: *176 + required: *177 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *176 + - *178 - *55 nullable: true pending_cancellation_date: @@ -27290,7 +27449,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27597,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &306 + default: &307 value: - date: '2024-06-24' total_active_users: 24 @@ -27699,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &307 + '422': &308 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27727,11 +27886,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *63 - - *177 - - *178 - *179 - *180 - *181 + - *182 + - *183 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27769,8 +27928,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *182 - - *183 + - *184 + - *185 - *48 - *40 - *41 @@ -27782,9 +27941,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '304': *37 '400': *14 '403': *29 @@ -27828,7 +27987,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &188 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27905,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &479 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27922,7 +28081,7 @@ paths: - key_id - key examples: - default: &479 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27946,13 +28105,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *186 + schema: *188 examples: default: value: @@ -27981,7 +28140,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28040,7 +28199,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -28065,7 +28224,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -28090,7 +28249,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -28108,9 +28267,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28132,7 +28291,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28183,7 +28342,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28215,7 +28374,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28253,7 +28412,7 @@ paths: application/json: schema: type: array - items: &232 + items: &234 title: Package description: A software package type: object @@ -28303,8 +28462,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *187 - required: *188 + properties: *189 + required: *190 nullable: true created_at: type: string @@ -28323,7 +28482,7 @@ paths: - created_at - updated_at examples: - default: &233 + default: &235 value: - id: 197 name: hello_docker @@ -28493,7 +28652,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Organization Invitation description: Organization Invitation type: object @@ -28540,7 +28699,7 @@ paths: - invitation_teams_url - node_id examples: - default: &212 + default: &214 value: - id: 1 login: monalisa @@ -28607,7 +28766,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Org Hook description: Org Hook type: object @@ -28778,9 +28937,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28828,7 +28987,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *63 - - &191 + - &193 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. @@ -28841,9 +29000,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -28871,7 +29030,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -28916,7 +29075,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -28958,7 +29117,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -28986,7 +29145,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 responses: '200': description: Response @@ -29017,7 +29176,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -29068,9 +29227,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -29078,9 +29237,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -29106,16 +29265,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -29141,7 +29300,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '202': *39 @@ -29171,7 +29330,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -29194,7 +29353,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *63 - - &201 + - &203 name: actor_type in: path description: The type of the actor @@ -29207,14 +29366,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &202 + - &204 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &197 + - &199 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`.' @@ -29222,7 +29381,7 @@ paths: required: true schema: type: string - - &198 + - &200 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) @@ -29316,12 +29475,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 - *19 - *17 - *48 - - &207 + - &209 name: sort description: The property to sort the results by. in: query @@ -29400,14 +29559,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: &199 + schema: &201 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29423,7 +29582,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &202 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29444,23 +29603,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *63 - - &203 + - &205 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29479,18 +29638,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *63 - - *197 - - *198 - - *201 - - *202 + - *199 + - *200 + - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29508,9 +29667,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *63 - - *197 - - *198 - - &204 + - *199 + - *200 + - &206 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29523,7 +29682,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29539,7 +29698,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &208 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29576,18 +29735,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *63 - - *203 - - *197 - - *198 - - *204 + - *205 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29605,19 +29764,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *63 - - *201 - - *202 - - *197 - - *198 + - *203 - *204 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29635,13 +29794,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *63 - - *203 - - *197 - - *198 + - *205 + - *199 + - *200 - *19 - *17 - *48 - - *207 + - *209 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29722,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &517 + default: &518 value: id: 1 account: @@ -29888,12 +30047,12 @@ paths: application/json: schema: anyOf: - - &209 + - &211 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &208 + limit: &210 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29918,7 +30077,7 @@ paths: properties: {} additionalProperties: false examples: - default: &210 + default: &212 value: limit: collaborators_only origin: organization @@ -29947,13 +30106,13 @@ paths: required: true content: application/json: - schema: &518 + schema: &519 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *208 + limit: *210 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29977,9 +30136,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *210 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -30055,9 +30214,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 '404': *6 @@ -30134,7 +30293,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -30189,7 +30348,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *63 - - &213 + - &215 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30220,7 +30379,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *63 - - *213 + - *215 - *17 - *19 responses: @@ -30230,9 +30389,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &231 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30275,7 +30434,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -30360,9 +30519,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30395,7 +30554,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *63 - - &216 + - &218 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30448,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '422': *7 x-github: @@ -30475,7 +30634,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *63 - - *216 + - *218 responses: '204': description: Response @@ -30538,7 +30697,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: type description: Can be the name of an issue type. in: query @@ -30569,7 +30728,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -30728,9 +30887,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -30757,7 +30916,7 @@ paths: parameters: - *63 - *59 - - &221 + - &223 name: codespace_name in: path required: true @@ -30792,15 +30951,15 @@ paths: parameters: - *63 - *59 - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30980,7 +31139,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -31056,7 +31215,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &225 title: Org Membership description: Org Membership type: object @@ -31123,7 +31282,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &224 + response-if-user-has-an-active-admin-membership-with-organization: &226 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31220,9 +31379,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - response-if-user-already-had-membership-with-organization: *224 + response-if-user-already-had-membership-with-organization: *226 '422': *15 '403': *29 x-github: @@ -31293,7 +31452,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Migration description: A migration. type: object @@ -31622,7 +31781,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31801,7 +31960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *63 - - &226 + - &228 name: migration_id description: The unique identifier of the migration. in: path @@ -31828,7 +31987,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31998,7 +32157,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '302': description: Response @@ -32020,7 +32179,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '204': description: Response @@ -32044,8 +32203,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *63 - - *226 - - &676 + - *228 + - &677 name: repo_name description: repo_name parameter in: path @@ -32073,7 +32232,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *63 - - *226 + - *228 - *17 - *19 responses: @@ -32083,9 +32242,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: &238 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32238,7 +32397,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &228 + items: &230 title: Organization Role description: Organization roles type: object @@ -32413,7 +32572,7 @@ paths: parameters: - *63 - *64 - - &227 + - &229 name: role_id description: The unique identifier of the role. in: path @@ -32450,7 +32609,7 @@ paths: parameters: - *63 - *64 - - *227 + - *229 responses: '204': description: Response @@ -32503,7 +32662,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32535,7 +32694,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32564,13 +32723,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *63 - - *227 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *230 examples: default: value: @@ -32621,7 +32780,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32699,8 +32858,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true type: description: The ownership type of the team @@ -32732,7 +32891,7 @@ paths: - type - parent examples: - default: *231 + default: *233 headers: Link: *54 '404': @@ -32762,7 +32921,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32790,13 +32949,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &301 + items: &302 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 name: nullable: true type: string @@ -33084,7 +33243,7 @@ paths: - nuget - container - *63 - - &677 + - &678 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33120,12 +33279,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *233 + default: *235 '403': *29 '401': *25 - '400': &679 + '400': &680 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33147,7 +33306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &234 + - &236 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 @@ -33165,7 +33324,7 @@ paths: - docker - nuget - container - - &235 + - &237 name: package_name description: The name of the package. in: path @@ -33178,7 +33337,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *234 examples: default: value: @@ -33230,8 +33389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 responses: '204': @@ -33264,8 +33423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - name: token description: package token @@ -33298,8 +33457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - *19 - *17 @@ -33320,7 +33479,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Package Version description: A version of a software package type: object @@ -33445,10 +33604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - - &237 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -33460,7 +33619,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -33496,10 +33655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33531,10 +33690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33564,7 +33723,7 @@ paths: - *63 - *17 - *19 - - &239 + - &241 name: sort description: The property by which to sort the results. in: query @@ -33575,7 +33734,7 @@ paths: - created_at default: created_at - *48 - - &240 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33586,7 +33745,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &241 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -33594,7 +33753,7 @@ paths: schema: type: string example: Hello-World - - &242 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -33602,7 +33761,7 @@ paths: schema: type: string example: issues_read - - &243 + - &245 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) @@ -33612,7 +33771,7 @@ paths: schema: type: string format: date-time - - &244 + - &246 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) @@ -33622,7 +33781,7 @@ paths: schema: type: string format: date-time - - &245 + - &247 name: token_id description: The ID of the token in: query @@ -33892,7 +34051,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33933,9 +34092,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -33961,14 +34120,14 @@ paths: - *63 - *17 - *19 - - *239 - - *48 - - *240 - *241 + - *48 - *242 - *243 - *244 - *245 + - *246 + - *247 responses: '500': *103 '422': *15 @@ -34207,7 +34366,7 @@ paths: responses: '500': *103 '404': *6 - '204': *170 + '204': *172 '403': *29 '422': *15 x-github: @@ -34248,9 +34407,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -34292,7 +34451,7 @@ paths: type: integer configurations: type: array - items: &246 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34320,12 +34479,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -34417,6 +34590,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -34462,6 +34644,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -34511,11 +34694,24 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry + (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, + Dependabot will only use this registry and will not fall back + to the public registry. When `false` (default), Dependabot will + use this registry for scoped packages but may fall back to the + public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories @@ -34545,7 +34741,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &247 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34635,15 +34831,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34665,7 +34861,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -34702,6 +34898,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -34761,7 +34966,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -34807,7 +35012,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -34980,7 +35185,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -35018,7 +35223,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &329 + '410': &330 description: Gone content: application/json: @@ -35061,7 +35266,7 @@ paths: application/json: schema: type: array - items: &249 + items: &251 title: Projects v2 Project description: A projects v2 project type: object @@ -35131,7 +35336,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &758 + properties: &761 id: type: number description: The unique identifier of the status update. @@ -35179,7 +35384,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &759 + required: &762 - id - node_id - created_at @@ -35204,7 +35409,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &252 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35307,7 +35512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &253 name: project_number description: The project's number. in: path @@ -35320,9 +35525,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -35344,7 +35549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *253 - *63 - *17 - *40 @@ -35356,7 +35561,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35503,9 +35708,9 @@ paths: - updated_at - project_url examples: - default: &253 + default: &697 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -35525,6 +35730,66 @@ paths: description: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' headers: Link: *54 '304': *37 @@ -35546,8 +35811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &696 + - *253 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -35560,9 +35825,30 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: &699 + value: + id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' headers: Link: *54 '304': *37 @@ -35585,7 +35871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - 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) @@ -35618,7 +35904,7 @@ paths: application/json: schema: type: array - items: &259 + items: &260 title: Projects v2 Item description: An item belonging to a project type: object @@ -35634,7 +35920,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: &257 + content_type: &258 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35684,7 +35970,7 @@ paths: - updated_at - archived_at examples: - default: &260 + default: &261 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36379,7 +36665,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -36416,7 +36702,7 @@ paths: description: Response content: application/json: - schema: &697 + schema: &700 title: Projects v2 Item description: An item belonging to a project type: object @@ -36430,7 +36716,7 @@ paths: content: oneOf: - *82 - - &460 + - &461 title: Pull Request Simple description: Pull Request Simple type: object @@ -36536,8 +36822,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -36582,7 +36868,7 @@ paths: nullable: true requested_teams: type: array - items: *176 + items: *178 nullable: true head: type: object @@ -36633,7 +36919,7 @@ paths: _links: type: object properties: - comments: &256 + comments: &257 title: Link description: Hypermedia Link type: object @@ -36642,13 +36928,13 @@ paths: type: string required: - href - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -36659,7 +36945,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &565 + auto_merge: &566 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36761,7 +37047,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *257 + content_type: *258 creator: *4 created_at: type: string @@ -36794,7 +37080,7 @@ paths: - updated_at - archived_at examples: - issue: &258 + issue: &259 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36849,7 +37135,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *258 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -36869,9 +37155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - - &261 + - &262 name: item_id description: The unique identifier of the project item. in: path @@ -36897,9 +37183,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -36920,9 +37206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36992,13 +37278,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -37018,9 +37304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *262 responses: '204': description: Response @@ -37052,7 +37338,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37118,7 +37404,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37177,7 +37463,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *263 minItems: 1 maxItems: 100 required: @@ -37207,9 +37493,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *29 '404': *6 x-github: @@ -37231,7 +37517,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &264 + - &265 name: custom_property_name description: The custom property name in: path @@ -37243,9 +37529,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &265 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37280,7 +37566,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *265 requestBody: required: true content: @@ -37349,9 +37635,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *29 '404': *6 x-github: @@ -37375,9 +37661,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *265 responses: - '204': *170 + '204': *172 '403': *29 '404': *6 x-github: @@ -37695,9 +37981,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -37899,7 +38185,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Full Repository description: Full Repository type: object @@ -38176,8 +38462,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *266 - required: *267 + properties: *267 + required: *268 nullable: true temp_clone_token: type: string @@ -38292,7 +38578,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &465 + properties: &466 url: type: string format: uri @@ -38308,12 +38594,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &466 + required: &467 - url - key - name - html_url - security_and_analysis: *268 + security_and_analysis: *269 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38397,7 +38683,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &334 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38918,7 +39204,7 @@ paths: - *63 - *17 - *19 - - &588 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38936,7 +39222,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38971,7 +39257,7 @@ paths: source: type: string description: The name of the source - enforcement: &271 + enforcement: &272 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38984,7 +39270,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &272 + items: &273 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39054,7 +39340,7 @@ paths: conditions: nullable: true anyOf: - - &269 + - &270 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39078,7 +39364,7 @@ paths: match. items: type: string - - &273 + - &274 title: Organization ruleset conditions type: object description: |- @@ -39092,7 +39378,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39126,7 +39412,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39148,7 +39434,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39161,7 +39447,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &270 + items: &271 title: Repository ruleset property targeting definition type: object @@ -39194,17 +39480,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *270 + items: *271 required: - repository_property rules: type: array - items: &589 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &274 + - &275 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39216,7 +39502,7 @@ paths: type: string enum: - creation - - &275 + - &276 title: update description: Only allow users with bypass permission to update matching refs. @@ -39237,7 +39523,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &276 + - &277 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39249,7 +39535,7 @@ paths: type: string enum: - deletion - - &277 + - &278 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39261,7 +39547,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39339,7 +39625,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &278 + - &279 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39363,7 +39649,7 @@ paths: type: string required: - required_deployment_environments - - &279 + - &280 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39375,7 +39661,7 @@ paths: type: string enum: - required_signatures - - &280 + - &281 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39437,7 +39723,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &281 + - &282 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39485,7 +39771,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &282 + - &283 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39497,7 +39783,7 @@ paths: type: string enum: - non_fast_forward - - &283 + - &284 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39533,7 +39819,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39569,7 +39855,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39605,7 +39891,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39641,7 +39927,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39677,7 +39963,7 @@ paths: required: - operator - pattern - - &288 + - &289 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39702,7 +39988,7 @@ paths: type: string required: - restricted_file_paths - - &289 + - &290 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39726,7 +40012,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &290 + - &291 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39749,7 +40035,7 @@ paths: type: string required: - restricted_file_extensions - - &291 + - &292 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39774,7 +40060,7 @@ paths: maximum: 100 required: - max_file_size - - &292 + - &293 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39824,7 +40110,7 @@ paths: - repository_id required: - workflows - - &293 + - &294 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39885,7 +40171,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39983,21 +40269,20 @@ paths: - push - repository default: branch - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *273 + conditions: *274 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &297 title: Repository Rule type: object description: A repository rule. oneOf: - - *274 - *275 - *276 - *277 @@ -40017,6 +40302,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -40054,9 +40340,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: id: 21 name: super cool ruleset @@ -40111,7 +40397,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &591 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 @@ -40126,7 +40412,7 @@ paths: in: query schema: type: string - - &591 + - &592 name: time_period description: |- The time period to filter by. @@ -40142,14 +40428,14 @@ paths: - week - month default: day - - &592 + - &593 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 - - &593 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40169,7 +40455,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suites description: Response type: array @@ -40224,7 +40510,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &596 value: - id: 21 actor_id: 12 @@ -40268,7 +40554,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40284,7 +40570,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &598 title: Rule Suite description: Response type: object @@ -40383,7 +40669,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &599 value: id: 21 actor_id: 12 @@ -40456,9 +40742,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *103 put: @@ -40502,16 +40788,16 @@ paths: - tag - push - repository - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *273 + conditions: *274 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *297 examples: default: value: @@ -40546,9 +40832,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *103 delete: @@ -40605,7 +40891,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Ruleset version type: object description: The historical version of a ruleset @@ -40629,7 +40915,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &601 value: - version_id: 3 actor: @@ -40682,9 +40968,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &602 allOf: - - *297 + - *298 - type: object required: - state @@ -40754,7 +41040,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &603 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -40765,7 +41051,7 @@ paths: enum: - open - resolved - - &603 + - &604 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -40775,7 +41061,7 @@ paths: required: false schema: type: string - - &604 + - &605 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -40784,7 +41070,7 @@ paths: required: false schema: type: string - - &605 + - &606 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. @@ -40799,7 +41085,7 @@ paths: - *48 - *19 - *17 - - &606 + - &607 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 @@ -40809,7 +41095,7 @@ paths: required: false schema: type: string - - &607 + - &608 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 @@ -40819,7 +41105,7 @@ paths: required: false schema: type: string - - &608 + - &609 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -40828,7 +41114,7 @@ paths: required: false schema: type: string - - &609 + - &610 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -40837,7 +41123,7 @@ paths: schema: type: boolean default: false - - &610 + - &611 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -40846,7 +41132,7 @@ paths: schema: type: boolean default: false - - &611 + - &612 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -40865,8 +41151,8 @@ paths: items: type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -40874,21 +41160,21 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &613 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: &613 + resolution: &614 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -40995,8 +41281,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &615 + - &617 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41048,7 +41334,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &618 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. @@ -41103,7 +41389,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &619 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41117,7 +41403,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &620 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41131,7 +41417,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &621 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41145,7 +41431,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &622 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41159,7 +41445,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &623 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41173,7 +41459,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &624 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41187,7 +41473,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &625 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. @@ -41201,7 +41487,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &626 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. @@ -41215,7 +41501,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &627 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. @@ -41229,7 +41515,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &628 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. @@ -41243,7 +41529,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &629 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. @@ -41485,7 +41771,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41494,7 +41780,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -41560,7 +41846,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *299 examples: default: value: @@ -41617,7 +41903,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *300 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41643,7 +41929,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *300 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41741,7 +42027,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 description: A repository security advisory. type: object properties: @@ -41961,7 +42247,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: array nullable: true @@ -41971,7 +42257,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *301 state: type: string description: The state of the user's acceptance of the @@ -41995,7 +42281,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *176 + items: *178 private_fork: readOnly: true nullable: true @@ -42032,7 +42318,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &634 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42419,9 +42705,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42506,7 +42792,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &701 type: object properties: total_minutes_used: @@ -42576,7 +42862,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &699 + default: &702 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42612,7 +42898,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 type: object properties: total_gigabytes_bandwidth_used: @@ -42630,7 +42916,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &701 + default: &704 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42662,7 +42948,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &706 type: object properties: days_left_in_billing_cycle: @@ -42680,7 +42966,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &706 + default: &707 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -42828,9 +43114,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42899,7 +43185,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42922,7 +43208,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42963,7 +43249,7 @@ paths: type: integer network_configurations: type: array - items: &302 + items: &303 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43083,9 +43369,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: &303 + default: &304 value: id: 123456789ABCDEF name: My network configuration @@ -43114,7 +43400,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &304 + - &305 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43126,9 +43412,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 headers: Link: *54 x-github: @@ -43150,7 +43436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *304 + - *305 requestBody: required: true content: @@ -43189,9 +43475,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43211,7 +43497,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *304 + - *305 responses: '204': description: Response @@ -43351,13 +43637,13 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 '500': *103 '403': *29 '404': *6 - '422': *307 + '422': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43385,9 +43671,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '403': *29 @@ -43481,7 +43767,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43544,8 +43830,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true members_count: type: integer @@ -43808,7 +44094,7 @@ paths: - repos_count - organization examples: - default: &309 + default: &310 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43885,9 +44171,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -43971,16 +44257,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '201': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 '422': *15 '403': *29 @@ -44050,7 +44336,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44149,7 +44435,7 @@ paths: - updated_at - url examples: - default: &650 + default: &651 value: - author: login: octocat @@ -44258,9 +44544,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: author: login: octocat @@ -44334,7 +44620,7 @@ paths: parameters: - *63 - *64 - - &312 + - &313 name: discussion_number description: The number that identifies the discussion. in: path @@ -44346,9 +44632,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44372,7 +44658,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: false content: @@ -44395,9 +44681,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &651 + default: &652 value: author: login: octocat @@ -44469,7 +44755,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 responses: '204': description: Response @@ -44497,7 +44783,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 - *48 - *17 - *19 @@ -44508,7 +44794,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44580,7 +44866,7 @@ paths: - updated_at - url examples: - default: &652 + default: &653 value: - author: login: octocat @@ -44650,7 +44936,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: true content: @@ -44672,9 +44958,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: author: login: octocat @@ -44742,8 +45028,8 @@ paths: parameters: - *63 - *64 - - *312 - - &315 + - *313 + - &316 name: comment_number description: The number that identifies the comment. in: path @@ -44755,9 +45041,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44781,8 +45067,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 requestBody: required: true content: @@ -44804,9 +45090,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &653 + default: &654 value: author: login: octocat @@ -44872,8 +45158,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 responses: '204': description: Response @@ -44901,8 +45187,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 - 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 team discussion comment. @@ -44928,7 +45214,7 @@ paths: application/json: schema: type: array - items: &316 + items: &317 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44971,7 +45257,7 @@ paths: - content - created_at examples: - default: &318 + default: &319 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45023,8 +45309,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 requestBody: required: true content: @@ -45057,9 +45343,9 @@ paths: team discussion comment content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45088,9 +45374,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45115,9 +45401,9 @@ paths: parameters: - *63 - *64 - - *312 - - *315 - - &319 + - *313 + - *316 + - &320 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45151,7 +45437,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 - 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 team discussion. @@ -45177,9 +45463,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -45207,7 +45493,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: true content: @@ -45239,16 +45525,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45273,8 +45559,8 @@ paths: parameters: - *63 - *64 - - *312 - - *319 + - *313 + - *320 responses: '204': description: Response @@ -45309,9 +45595,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -45395,7 +45681,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &321 title: Team Membership description: Team Membership type: object @@ -45422,7 +45708,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &655 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45485,9 +45771,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &656 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45560,7 +45846,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 title: Team Project description: A team's access to a project. type: object @@ -45628,7 +45914,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &657 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45693,7 +45979,7 @@ paths: parameters: - *63 - *64 - - &322 + - &323 name: project_id description: The unique identifier of the project. in: path @@ -45705,9 +45991,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &657 + default: &658 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45771,7 +46057,7 @@ paths: parameters: - *63 - *64 - - *322 + - *323 requestBody: required: false content: @@ -45839,7 +46125,7 @@ paths: parameters: - *63 - *64 - - *322 + - *323 responses: '204': description: Response @@ -45877,9 +46163,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -45910,14 +46196,14 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &659 title: Team Repository description: A team's access to a repository. type: object @@ -46488,8 +46774,8 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 requestBody: required: false content: @@ -46536,8 +46822,8 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 responses: '204': description: Response @@ -46572,9 +46858,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &660 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46701,7 +46987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &325 + - &326 name: column_id description: The unique identifier of the column. in: path @@ -46713,7 +46999,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &327 title: Project Column description: Project columns contain cards of work. type: object @@ -46759,7 +47045,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &328 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46794,7 +47080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *325 + - *326 requestBody: required: true content: @@ -46818,9 +47104,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '304': *37 '403': *29 '401': *25 @@ -46845,7 +47131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *325 + - *326 responses: '204': description: Response @@ -46874,7 +47160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *325 + - *326 requestBody: required: true content: @@ -46934,15 +47220,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *322 + - *323 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: &328 + default: &329 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46999,7 +47285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *322 + - *323 requestBody: required: false content: @@ -47045,9 +47331,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *329 '404': description: Not Found if the authenticated user does not have access to the project @@ -47068,7 +47354,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -47091,7 +47377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *322 + - *323 responses: '204': description: Delete Success @@ -47112,7 +47398,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *330 '404': *6 x-github: githubCloudOnly: false @@ -47136,7 +47422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *322 + - *323 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47193,7 +47479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *322 + - *323 - *59 requestBody: required: false @@ -47246,7 +47532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *322 + - *323 - *59 responses: '204': @@ -47278,7 +47564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *322 + - *323 - *59 responses: '200': @@ -47379,7 +47665,7 @@ paths: resources: type: object properties: - core: &330 + core: &331 title: Rate Limit type: object properties: @@ -47396,21 +47682,21 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 - dependency_sbom: *330 - code_scanning_autofix: *330 + graphql: *331 + search: *331 + code_search: *331 + source_import: *331 + integration_manifest: *331 + code_scanning_upload: *331 + actions_runner_registration: *331 + scim: *331 + dependency_snapshots: *331 + dependency_sbom: *331 + code_scanning_autofix: *331 required: - core - search - rate: *330 + rate: *331 required: - rate - resources @@ -47515,14 +47801,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: default-response: summary: Default response @@ -48023,7 +48309,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *332 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48041,8 +48327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -48289,10 +48575,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 - '307': &334 + default: *334 + '307': &335 description: Temporary Redirect content: application/json: @@ -48321,8 +48607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -48344,7 +48630,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *334 + '307': *335 '404': *6 '409': *47 x-github: @@ -48368,11 +48654,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 - - &365 + - &366 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48395,7 +48681,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &336 title: Artifact description: An artifact type: object @@ -48473,7 +48759,7 @@ paths: - expires_at - updated_at examples: - default: &366 + default: &367 value: total_count: 2 artifacts: @@ -48534,9 +48820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *323 - *324 - - &336 + - *325 + - &337 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48548,7 +48834,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -48586,9 +48872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *323 - *324 - - *336 + - *325 + - *337 responses: '204': description: Response @@ -48612,9 +48898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *323 - *324 - - *336 + - *325 + - *337 - name: archive_format in: path required: true @@ -48628,7 +48914,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': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48651,14 +48937,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: default: value: @@ -48684,11 +48970,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 - - &338 + - &339 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 @@ -48722,7 +49008,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &340 title: Repository actions caches description: Repository actions caches type: object @@ -48764,7 +49050,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &341 value: total_count: 1 actions_caches: @@ -48796,23 +49082,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: - - *323 - *324 + - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48832,8 +49118,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: - - *323 - *324 + - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48864,9 +49150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *323 - *324 - - &341 + - *325 + - &342 name: job_id description: The unique identifier of the job. in: path @@ -48878,7 +49164,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &370 title: Job description: Information of a job execution in a workflow run type: object @@ -49185,9 +49471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *323 - *324 - - *341 + - *325 + - *342 responses: '302': description: Response @@ -49215,9 +49501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *323 - *324 - - *341 + - *325 + - *342 requestBody: required: false content: @@ -49238,7 +49524,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49262,8 +49548,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: - - *323 - *324 + - *325 responses: '200': description: Status response @@ -49313,8 +49599,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -49348,7 +49634,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49377,8 +49663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -49396,7 +49682,7 @@ paths: type: integer secrets: type: array - items: &371 + items: &372 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49416,7 +49702,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &373 value: total_count: 2 secrets: @@ -49449,9 +49735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *323 - *324 - - *342 + - *325 + - *343 - *19 responses: '200': @@ -49468,7 +49754,7 @@ paths: type: integer variables: type: array - items: &375 + items: &376 title: Actions Variable type: object properties: @@ -49498,7 +49784,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &377 value: total_count: 2 variables: @@ -49531,8 +49817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -49541,12 +49827,12 @@ paths: schema: type: object properties: - enabled: &344 + enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *125 - selected_actions_url: *343 - sha_pinning_required: *126 + allowed_actions: *127 + selected_actions_url: *344 + sha_pinning_required: *128 required: - enabled examples: @@ -49574,8 +49860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49586,9 +49872,9 @@ paths: schema: type: object properties: - enabled: *344 - allowed_actions: *125 - sha_pinning_required: *126 + enabled: *345 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled examples: @@ -49618,14 +49904,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: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: access_level: @@ -49642,7 +49928,7 @@ paths: required: - access_level examples: - default: &346 + default: &347 value: access_level: organization x-github: @@ -49666,15 +49952,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: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 responses: '204': description: Response @@ -49698,14 +49984,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: default: value: @@ -49729,8 +50015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Empty response for successful settings update @@ -49740,7 +50026,7 @@ paths: required: true content: application/json: - schema: *348 + schema: *349 examples: default: summary: Set retention days @@ -49764,16 +50050,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *127 + schema: *129 examples: - default: *349 + default: *350 '404': *6 x-github: enabledForGitHubApps: true @@ -49792,8 +50078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49803,7 +50089,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -49827,16 +50113,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: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *128 + default: *130 '403': *29 '404': *6 x-github: @@ -49856,15 +50142,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: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *351 + schema: *352 examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -49888,16 +50174,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49916,8 +50202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49925,9 +50211,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49949,16 +50235,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49979,8 +50265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Success response @@ -49991,9 +50277,9 @@ paths: required: true content: application/json: - schema: *353 + schema: *354 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50020,8 +50306,8 @@ paths: in: query schema: type: string - - *323 - *324 + - *325 - *17 - *19 responses: @@ -50039,9 +50325,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -50065,8 +50351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -50074,9 +50360,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50098,8 +50384,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -50142,7 +50428,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *356 + '201': *357 '404': *6 '422': *7 '409': *47 @@ -50173,16 +50459,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *323 - *324 + - *325 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50210,16 +50496,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *323 - *324 + - *325 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50241,17 +50527,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50272,9 +50558,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: '204': description: Response @@ -50300,11 +50586,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: - '200': *146 + '200': *148 '404': *6 x-github: githubCloudOnly: false @@ -50326,9 +50612,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: - - *323 - *324 - - *141 + - *325 + - *143 requestBody: required: true content: @@ -50352,7 +50638,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50376,9 +50662,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: - - *323 - *324 - - *141 + - *325 + - *143 requestBody: required: true content: @@ -50403,7 +50689,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50427,11 +50713,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: - '200': *360 + '200': *361 '404': *6 x-github: githubCloudOnly: false @@ -50458,12 +50744,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: - - *323 - *324 - - *141 - - *361 + - *325 + - *143 + - *362 responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50489,9 +50775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *323 - *324 - - &379 + - *325 + - &380 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. @@ -50499,7 +50785,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50507,7 +50793,7 @@ paths: required: false schema: type: string - - &381 + - &382 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50516,7 +50802,7 @@ paths: required: false schema: type: string - - &382 + - &383 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 @@ -50543,7 +50829,7 @@ paths: - pending - *17 - *19 - - &383 + - &384 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)." @@ -50552,7 +50838,7 @@ paths: schema: type: string format: date-time - - &362 + - &363 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50561,13 +50847,13 @@ paths: schema: type: boolean default: false - - &384 + - &385 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &385 + - &386 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50590,7 +50876,7 @@ paths: type: integer workflow_runs: type: array - items: &363 + items: &364 title: Workflow Run description: An invocation of a workflow type: object @@ -50685,7 +50971,7 @@ paths: that triggered the run. type: array nullable: true - items: &404 + items: &405 title: Pull Request Minimal type: object properties: @@ -50804,7 +51090,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &409 id: type: string description: SHA for the commit @@ -50855,7 +51141,7 @@ paths: - name - email nullable: true - required: &409 + required: &410 - id - tree_id - message @@ -50863,8 +51149,8 @@ paths: - author - committer nullable: true - repository: *140 - head_repository: *140 + repository: *142 + head_repository: *142 head_repository_id: type: integer example: 5 @@ -50902,7 +51188,7 @@ paths: - workflow_url - pull_requests examples: - default: &386 + default: &387 value: total_count: 1 workflow_runs: @@ -51138,24 +51424,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *323 - *324 - - &364 + - *325 + - &365 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *362 + - *363 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: &367 + default: &368 value: id: 30433642 name: Build @@ -51396,9 +51682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '204': description: Response @@ -51421,9 +51707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -51542,15 +51828,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: - - *323 - *324 - - *364 + - *325 + - *365 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51577,12 +51863,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *323 - *324 - - *364 + - *325 + - *365 - *17 - *19 - - *365 + - *366 responses: '200': description: Response @@ -51598,9 +51884,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *336 examples: - default: *366 + default: *367 headers: Link: *54 x-github: @@ -51624,25 +51910,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *323 - *324 - - *364 - - &368 + - *325 + - *365 + - &369 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *362 + - *363 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51665,10 +51951,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *323 - *324 - - *364 - - *368 + - *325 + - *365 + - *369 - *17 - *19 responses: @@ -51686,9 +51972,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *370 examples: - default: &370 + default: &371 value: total_count: 1 jobs: @@ -51801,10 +52087,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *323 - *324 - - *364 - - *368 + - *325 + - *365 + - *369 responses: '302': description: Response @@ -51832,15 +52118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51867,9 +52153,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: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: true content: @@ -51936,15 +52222,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51971,9 +52257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 - 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 @@ -52003,9 +52289,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *54 x-github: @@ -52030,9 +52316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '302': description: Response @@ -52059,9 +52345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '204': description: Response @@ -52088,9 +52374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -52150,7 +52436,7 @@ paths: items: type: object properties: - type: &487 + type: &488 type: string description: The type of reviewer. enum: @@ -52160,7 +52446,7 @@ paths: reviewer: anyOf: - *4 - - *176 + - *178 required: - environment - wait_timer @@ -52235,9 +52521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: true content: @@ -52284,7 +52570,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52390,7 +52676,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &484 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52446,9 +52732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: false content: @@ -52469,7 +52755,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52492,9 +52778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: false content: @@ -52515,7 +52801,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52547,9 +52833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -52686,8 +52972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -52705,9 +52991,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *372 examples: - default: *372 + default: *373 headers: Link: *54 x-github: @@ -52732,16 +53018,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52763,17 +53049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: &500 + default: &501 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52799,9 +53085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -52832,7 +53118,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52858,9 +53144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -52885,9 +53171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *323 - *324 - - *342 + - *325 + - *343 - *19 responses: '200': @@ -52904,9 +53190,9 @@ paths: type: integer variables: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 headers: Link: *54 x-github: @@ -52929,8 +53215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -52957,7 +53243,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52982,17 +53268,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &501 + default: &502 value: name: USERNAME value: octocat @@ -53018,9 +53304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 requestBody: required: true content: @@ -53062,9 +53348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 responses: '204': description: Response @@ -53089,8 +53375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -53108,7 +53394,7 @@ paths: type: integer workflows: type: array - items: &377 + items: &378 title: Workflow description: A GitHub Actions workflow type: object @@ -53215,9 +53501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *323 - *324 - - &378 + - *325 + - &379 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53232,7 +53518,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -53265,9 +53551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53292,9 +53578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53345,9 +53631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53374,19 +53660,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *323 - *324 - - *378 + - *325 - *379 - *380 - *381 - *382 + - *383 - *17 - *19 - - *383 - - *362 - *384 + - *363 - *385 + - *386 responses: '200': description: Response @@ -53402,9 +53688,9 @@ paths: type: integer workflow_runs: type: array - items: *363 + items: *364 examples: - default: *386 + default: *387 headers: Link: *54 x-github: @@ -53436,9 +53722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '200': description: Response @@ -53499,8 +53785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *323 - *324 + - *325 - *48 - *17 - *40 @@ -53664,8 +53950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -53702,8 +53988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *323 - *324 + - *325 - name: assignee in: path required: true @@ -53739,8 +54025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -53852,8 +54138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *323 - *324 + - *325 - *17 - *40 - *41 @@ -53910,7 +54196,7 @@ paths: initiator: type: string examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53930,8 +54216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -53939,7 +54225,7 @@ paths: application/json: schema: type: array - items: &388 + items: &389 title: Autolink reference description: An autolink reference. type: object @@ -53993,8 +54279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -54033,9 +54319,9 @@ paths: description: response content: application/json: - schema: *388 + schema: *389 examples: - default: &389 + default: &390 value: id: 1 key_prefix: TICKET- @@ -54066,9 +54352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *323 - *324 - - &390 + - *325 + - &391 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54080,9 +54366,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: *389 + default: *390 '404': *6 x-github: githubCloudOnly: false @@ -54102,9 +54388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *323 - *324 - - *390 + - *325 + - *391 responses: '204': description: Response @@ -54128,8 +54414,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: - - *323 - *324 + - *325 responses: '200': description: Response if Dependabot is enabled @@ -54177,8 +54463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -54199,8 +54485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -54220,8 +54506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *323 - *324 + - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54259,7 +54545,7 @@ paths: - url protected: type: boolean - protection: &392 + protection: &393 title: Branch Protection description: Branch Protection type: object @@ -54301,7 +54587,7 @@ paths: required: - contexts - checks - enforce_admins: &395 + enforce_admins: &396 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54316,7 +54602,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &397 + required_pull_request_reviews: &398 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54337,7 +54623,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *176 + items: *178 apps: description: The list of apps with review dismissal access. @@ -54366,7 +54652,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *176 + items: *178 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54392,7 +54678,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &394 + restrictions: &395 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54455,7 +54741,7 @@ paths: type: string teams: type: array - items: *176 + items: *178 apps: type: array items: @@ -54669,9 +54955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *323 - *324 - - &393 + - *325 + - &394 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). @@ -54685,14 +54971,14 @@ paths: description: Response content: application/json: - schema: &403 + schema: &404 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &457 title: Commit description: Commit type: object @@ -54726,7 +55012,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &391 + properties: &392 name: type: string example: '"Chris Wanstrath"' @@ -54741,7 +55027,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true message: type: string @@ -54762,7 +55048,7 @@ paths: required: - sha - url - verification: &507 + verification: &508 title: Verification type: object properties: @@ -54796,12 +55082,12 @@ paths: nullable: true oneOf: - *4 - - *149 + - *151 committer: nullable: true oneOf: - *4 - - *149 + - *151 parents: type: array items: @@ -54832,7 +55118,7 @@ paths: type: integer files: type: array - items: &469 + items: &470 title: Diff Entry description: Diff Entry type: object @@ -54916,7 +55202,7 @@ paths: - self protected: type: boolean - protection: *392 + protection: *393 protection_url: type: string format: uri @@ -55023,7 +55309,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -55045,15 +55331,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -55247,9 +55533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -55504,7 +55790,7 @@ paths: url: type: string format: uri - required_status_checks: &400 + required_status_checks: &401 title: Status Check Policy description: Status Check Policy type: object @@ -55580,7 +55866,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55598,7 +55884,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55656,7 +55942,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *394 + restrictions: *395 required_conversation_resolution: type: object properties: @@ -55768,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -55795,17 +56081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55827,17 +56113,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55856,9 +56142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -55883,17 +56169,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55989,9 +56275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56089,9 +56375,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -56112,9 +56398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56141,17 +56427,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56174,17 +56460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *399 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -56204,9 +56490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56231,17 +56517,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56267,9 +56553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56321,9 +56607,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 '422': *15 x-github: @@ -56345,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56371,9 +56657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56407,9 +56693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56476,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56542,9 +56828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: content: application/json: @@ -56610,15 +56896,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -56709,9 +56995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56734,9 +57020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56746,7 +57032,7 @@ paths: type: array items: *5 examples: - default: &402 + default: &403 value: - id: 1 slug: octoapp @@ -56803,9 +57089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56839,7 +57125,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56860,9 +57146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56896,7 +57182,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56917,9 +57203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56953,7 +57239,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56975,9 +57261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56985,9 +57271,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -57007,9 +57293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -57045,9 +57331,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57068,9 +57354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -57106,9 +57392,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57129,9 +57415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: content: application/json: @@ -57166,9 +57452,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57190,9 +57476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -57226,9 +57512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57286,9 +57572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57346,9 +57632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57408,9 +57694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57432,7 +57718,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57548,8 +57834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -57828,7 +58114,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &406 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57947,8 +58233,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *404 - deployment: &716 + items: *405 + deployment: &719 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58228,9 +58514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *323 - *324 - - &406 + - *325 + - &407 name: check_run_id description: The unique identifier of the check run. in: path @@ -58242,9 +58528,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: &407 + default: &408 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58344,9 +58630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *323 - *324 - - *406 + - *325 + - *407 requestBody: required: true content: @@ -58586,9 +58872,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: *407 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58608,9 +58894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *323 - *324 - - *406 + - *325 + - *407 - *17 - *19 responses: @@ -58705,15 +58991,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *323 - *324 - - *406 + - *325 + - *407 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -58751,8 +59037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -58774,7 +59060,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &411 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58838,7 +59124,7 @@ paths: nullable: true pull_requests: type: array - items: *404 + items: *405 nullable: true app: title: GitHub app @@ -58851,7 +59137,7 @@ paths: nullable: true properties: *67 required: *68 - repository: *140 + repository: *142 created_at: type: string format: date-time @@ -58860,12 +59146,12 @@ paths: type: string format: date-time nullable: true - head_commit: &742 + head_commit: &745 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 latest_check_runs_count: type: integer check_runs_url: @@ -58893,7 +59179,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &412 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59184,9 +59470,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59205,8 +59491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -59267,7 +59553,7 @@ paths: required: - app_id - setting - repository: *140 + repository: *142 examples: default: value: @@ -59515,9 +59801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *323 - *324 - - &412 + - *325 + - &413 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59529,9 +59815,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59554,17 +59840,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *323 - *324 - - *412 - - &462 + - *325 + - *413 + - &463 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &464 name: status description: Returns check runs with the specified `status`. in: query @@ -59603,9 +59889,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *406 examples: - default: &464 + default: &465 value: total_count: 1 check_runs: @@ -59707,15 +59993,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *323 - *324 - - *412 + - *325 + - *413 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -59742,21 +60028,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *323 - *324 - - *413 + - *325 - *414 + - *415 - *19 - *17 - - &431 + - &432 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: *415 - - &432 + schema: *416 + - &433 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59781,13 +60067,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *417 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *418 responses: '200': description: Response @@ -59798,14 +60084,14 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *419 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -59813,12 +60099,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_at: *164 + dismissed_reason: *420 + dismissed_comment: *421 + rule: *422 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59944,7 +60230,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &425 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59971,9 +60257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *323 - *324 - - &425 + - *325 + - &426 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59981,23 +60267,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: &426 + schema: &427 type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *419 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -60005,9 +60291,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_at: *164 + dismissed_reason: *420 + dismissed_comment: *421 rule: type: object properties: @@ -60061,8 +60347,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60161,7 +60447,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60181,9 +60467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: true content: @@ -60198,8 +60484,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *420 + dismissed_comment: *421 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60218,7 +60504,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -60294,7 +60580,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &431 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60321,15 +60607,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: - - *323 - *324 - - *425 + - *325 + - *426 responses: '200': description: Response content: application/json: - schema: &427 + schema: &428 type: object properties: status: @@ -60355,13 +60641,13 @@ paths: - description - started_at examples: - default: &428 + default: &429 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &430 description: Bad Request content: application/json: @@ -60372,7 +60658,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': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60397,29 +60683,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: - - *323 - *324 - - *425 + - *325 + - *426 responses: '200': description: OK content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 '202': description: Accepted content: application/json: - schema: *427 + schema: *428 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *430 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60451,9 +60737,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: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: false content: @@ -60498,8 +60784,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *430 + '403': *431 '404': *6 '422': description: Unprocessable Entity @@ -60523,13 +60809,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 - *19 - *17 - - *431 - *432 + - *433 responses: '200': description: Response @@ -60537,7 +60823,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -60576,7 +60862,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60610,25 +60896,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *323 - *324 - - *413 + - *325 - *414 + - *415 - *19 - *17 - - *432 + - *433 - 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: *415 + schema: *416 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60649,23 +60935,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *415 - commit_sha: &444 + ref: *416 + commit_sha: &445 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: *433 + analysis_key: *434 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *434 + category: *435 error: type: string example: error reading field xyz @@ -60689,8 +60975,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *422 + sarif_id: *436 + tool: *423 deletable: type: boolean warning: @@ -60751,7 +61037,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60787,8 +61073,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: - - *323 - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60801,7 +61087,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -60855,7 +61141,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *425 '404': *6 '422': description: Response if analysis could not be processed @@ -60942,8 +61228,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: - - *323 - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60996,7 +61282,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': *430 + '403': *431 '404': *6 '503': *104 x-github: @@ -61018,8 +61304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -61027,7 +61313,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61138,7 +61424,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': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -61167,8 +61453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *323 - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -61180,7 +61466,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61212,9 +61498,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': &471 + '302': &472 description: Found - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -61236,8 +61522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *323 - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -61247,7 +61533,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *431 '404': *6 '503': *104 x-github: @@ -61275,8 +61561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -61285,7 +61571,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -61364,7 +61650,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61374,7 +61660,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -61421,7 +61707,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -61457,7 +61743,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61489,7 +61775,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -61503,7 +61789,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: *439 + items: *440 required: - repository_count - repositories @@ -61525,8 +61811,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -61542,7 +61828,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -61694,10 +61980,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -61725,8 +62011,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: - - *323 - *324 + - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61738,9 +62024,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *104 x-github: @@ -61763,7 +62049,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: - - *323 + - *324 - name: repo in: path description: The name of the controller repository. @@ -61798,7 +62084,7 @@ paths: type: object properties: repository: *53 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61923,8 +62209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -62009,7 +62295,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -62030,8 +62316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62098,7 +62384,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -62123,7 +62409,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *431 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62194,8 +62480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62203,7 +62489,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62261,7 +62547,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62275,7 +62561,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': *430 + '403': *431 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62298,8 +62584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *323 - *324 + - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62345,7 +62631,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': *424 + '403': *425 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62370,8 +62656,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: - - *323 - *324 + - *325 responses: '200': description: Response @@ -62427,7 +62713,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': *170 + '204': *172 '304': *37 '403': *29 '404': *6 @@ -62452,8 +62738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *323 - *324 + - *325 - 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 @@ -62573,8 +62859,8 @@ paths: parameters: - *17 - *19 - - *323 - *324 + - *325 responses: '200': description: Response @@ -62590,7 +62876,7 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: default: value: @@ -62888,8 +63174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62952,17 +63238,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -62991,8 +63277,8 @@ paths: parameters: - *17 - *19 - - *323 - *324 + - *325 responses: '200': description: Response @@ -63056,8 +63342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *323 - *324 + - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63092,14 +63378,14 @@ paths: type: integer machines: type: array - items: &666 + items: &667 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &667 + default: &668 value: total_count: 2 machines: @@ -63139,8 +63425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *323 - *324 + - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63224,8 +63510,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: - - *323 - *324 + - *325 - 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 @@ -63291,8 +63577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -63310,7 +63596,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63330,7 +63616,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *54 x-github: @@ -63353,16 +63639,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63382,17 +63668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63412,9 +63698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -63442,7 +63728,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -63466,9 +63752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -63496,8 +63782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *323 - *324 + - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63539,7 +63825,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -63632,7 +63918,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -63706,8 +63992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 responses: '204': @@ -63754,8 +64040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 requestBody: required: false @@ -63782,7 +64068,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &520 + schema: &521 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63793,7 +64079,7 @@ paths: example: 42 type: integer format: int64 - repository: *140 + repository: *142 invitee: title: Simple User description: A GitHub user. @@ -63971,7 +64257,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *109 + schema: *111 '403': *29 x-github: triggersNotification: true @@ -64011,8 +64297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 responses: '204': @@ -64044,8 +64330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *323 - *324 + - *325 - *59 responses: '200': @@ -64066,8 +64352,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64122,8 +64408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -64133,7 +64419,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64191,7 +64477,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &459 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64250,17 +64536,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &459 + default: &460 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64317,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -64341,7 +64627,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -64392,8 +64678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -64415,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64443,9 +64729,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -64466,8 +64752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -64500,16 +64786,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -64531,10 +64817,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -64583,8 +64869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *323 - *324 + - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64640,9 +64926,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64736,9 +65022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *323 - *324 - - &457 + - *325 + - &458 name: commit_sha description: The SHA of the commit. in: path @@ -64810,9 +65096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *323 - *324 - - *457 + - *325 + - *458 - *17 - *19 responses: @@ -64822,9 +65108,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *458 + default: *459 headers: Link: *54 x-github: @@ -64852,9 +65138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *323 - *324 - - *457 + - *325 + - *458 requestBody: required: true content: @@ -64889,9 +65175,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64919,9 +65205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *323 - *324 - - *457 + - *325 + - *458 - *17 - *19 responses: @@ -64931,9 +65217,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: &564 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65470,11 +65756,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *323 - *324 + - *325 - *19 - *17 - - &461 + - &462 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)" @@ -65489,9 +65775,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: &549 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65604,11 +65890,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *323 - *324 - - *461 + - *325 - *462 - *463 + - *464 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65642,9 +65928,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *406 examples: - default: *464 + default: *465 headers: Link: *54 x-github: @@ -65669,9 +65955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65679,7 +65965,7 @@ paths: schema: type: integer example: 1 - - *462 + - *463 - *17 - *19 responses: @@ -65697,7 +65983,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *411 examples: default: value: @@ -65897,9 +66183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - *17 - *19 responses: @@ -65966,7 +66252,7 @@ paths: type: string total_count: type: integer - repository: *140 + repository: *142 commit_url: type: string format: uri @@ -66097,9 +66383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - *17 - *19 responses: @@ -66109,7 +66395,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Status description: The status of a commit. type: object @@ -66190,7 +66476,7 @@ paths: site_admin: false headers: Link: *54 - '301': *332 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66218,8 +66504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -66248,20 +66534,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *465 - required: *466 + properties: *466 + required: *467 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &467 + properties: &468 url: type: string format: uri html_url: type: string format: uri - required: &468 + required: &469 - url - html_url nullable: true @@ -66275,26 +66561,26 @@ paths: contributing: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true readme: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true issue_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true pull_request_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true required: - code_of_conduct @@ -66421,8 +66707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *323 - *324 + - *325 - *19 - *17 - name: basehead @@ -66465,8 +66751,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *457 + merge_base_commit: *457 status: type: string enum: @@ -66486,10 +66772,10 @@ paths: example: 6 commits: type: array - items: *456 + items: *457 files: type: array - items: *469 + items: *470 required: - url - html_url @@ -66775,8 +67061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -66919,7 +67205,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &470 + response-if-content-is-a-file: &471 summary: Response if content is a file value: type: file @@ -67051,7 +67337,7 @@ paths: - size - type - url - - &577 + - &578 title: Content File description: Content File type: object @@ -67252,7 +67538,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *471 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67321,7 +67607,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *471 + '302': *472 '304': *37 x-github: githubCloudOnly: false @@ -67344,8 +67630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -67438,7 +67724,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &473 title: File Commit description: File Commit type: object @@ -67590,7 +67876,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: example-for-creating-a-file: value: @@ -67644,7 +67930,7 @@ paths: schema: oneOf: - *3 - - &502 + - &503 description: Repository rule violation was detected type: object properties: @@ -67665,7 +67951,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &630 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67697,8 +67983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -67759,7 +68045,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -67814,8 +68100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *323 - *324 + - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67938,22 +68224,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *323 - *324 - - *177 - - *178 + - *325 - *179 - *180 + - *181 + - *182 - 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 - - *181 - - *473 - - *182 - *183 + - *474 + - *184 + - *185 - *48 - name: per_page description: The number of results per page (max 100). For more information, @@ -67972,11 +68258,11 @@ paths: application/json: schema: type: array - items: &476 + items: &477 type: object description: A Dependabot alert. properties: - number: *156 + number: *158 state: type: string description: The state of the Dependabot alert. @@ -68018,13 +68304,13 @@ paths: - unknown - direct - transitive - security_advisory: *474 + security_advisory: *475 security_vulnerability: *52 - url: *159 - html_url: *160 - created_at: *157 - updated_at: *158 - dismissed_at: *162 + url: *161 + html_url: *162 + created_at: *159 + updated_at: *160 + dismissed_at: *164 dismissed_by: title: Simple User description: A GitHub user. @@ -68048,8 +68334,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *161 - auto_dismissed_at: *475 + fixed_at: *163 + auto_dismissed_at: *476 required: - number - state @@ -68279,9 +68565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *323 - *324 - - &477 + - *325 + - &478 name: alert_number in: path description: |- @@ -68290,13 +68576,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -68409,9 +68695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *323 - *324 - - *477 + - *325 + - *478 requestBody: required: true content: @@ -68456,7 +68742,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -68585,8 +68871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -68604,7 +68890,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &481 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68657,16 +68943,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68686,15 +68972,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -68720,9 +69006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -68750,7 +69036,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -68774,9 +69060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -68798,8 +69084,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: - - *323 - *324 + - *325 - 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 @@ -68959,8 +69245,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: - - *323 - *324 + - *325 responses: '200': description: Response @@ -69199,8 +69485,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -69275,7 +69561,7 @@ paths: - version - url additionalProperties: false - metadata: &481 + metadata: &482 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69308,7 +69594,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *481 + metadata: *482 resolved: type: object description: A collection of resolved package dependencies. @@ -69321,7 +69607,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *481 + metadata: *482 relationship: type: string description: A notation of whether a dependency is requested @@ -69450,8 +69736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *323 - *324 + - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -69491,9 +69777,9 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: - default: *483 + default: *484 headers: Link: *54 x-github: @@ -69559,8 +69845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -69641,7 +69927,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: simple-example: summary: Simple example @@ -69714,9 +70000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *323 - *324 - - &484 + - *325 + - &485 name: deployment_id description: deployment_id parameter in: path @@ -69728,7 +70014,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -69793,9 +70079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *323 - *324 - - *484 + - *325 + - *485 responses: '204': description: Response @@ -69817,9 +70103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *323 - *324 - - *484 + - *325 + - *485 - *17 - *19 responses: @@ -69829,7 +70115,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment Status description: The status of a deployment. type: object @@ -69990,9 +70276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *323 - *324 - - *484 + - *325 + - *485 requestBody: required: true content: @@ -70067,9 +70353,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70125,9 +70411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *323 - *324 - - *484 + - *325 + - *485 - name: status_id in: path required: true @@ -70138,9 +70424,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -70165,8 +70451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -70223,8 +70509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -70241,7 +70527,7 @@ paths: type: integer environments: type: array - items: &488 + items: &489 title: Environment description: Details of a deployment environment type: object @@ -70293,7 +70579,7 @@ paths: type: type: string example: wait_timer - wait_timer: &490 + wait_timer: &491 type: integer example: 30 description: The amount of time to delay a job after @@ -70330,11 +70616,11 @@ paths: items: type: object properties: - type: *487 + type: *488 reviewer: anyOf: - *4 - - *176 + - *178 required: - id - node_id @@ -70354,7 +70640,7 @@ paths: - id - node_id - type - deployment_branch_policy: &491 + deployment_branch_policy: &492 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70470,9 +70756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *323 - *324 - - &489 + - *325 + - &490 name: environment_name in: path required: true @@ -70485,9 +70771,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &492 + default: &493 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70571,9 +70857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: false content: @@ -70582,7 +70868,7 @@ paths: type: object nullable: true properties: - wait_timer: *490 + wait_timer: *491 prevent_self_review: type: boolean example: false @@ -70599,13 +70885,13 @@ paths: items: type: object properties: - type: *487 + type: *488 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *491 + deployment_branch_policy: *492 additionalProperties: false examples: default: @@ -70625,9 +70911,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *492 + default: *493 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70651,9 +70937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *323 - *324 - - *489 + - *325 + - *490 responses: '204': description: Default response @@ -70678,9 +70964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *323 - *324 - - *489 + - *325 + - *490 - *17 - *19 responses: @@ -70698,7 +70984,7 @@ paths: example: 2 branch_policies: type: array - items: &493 + items: &494 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -70755,9 +71041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: true content: @@ -70803,9 +71089,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - example-wildcard: &494 + example-wildcard: &495 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -70847,10 +71133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - &495 + - *325 + - *490 + - &496 name: branch_policy_id in: path required: true @@ -70862,9 +71148,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70883,10 +71169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - *495 + - *325 + - *490 + - *496 requestBody: required: true content: @@ -70914,9 +71200,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70935,10 +71221,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - *495 + - *325 + - *490 + - *496 responses: '204': description: Response @@ -70963,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *489 + - *490 + - *325 - *324 - - *323 responses: '200': description: List of deployment protection rules @@ -70981,7 +71267,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &496 + items: &497 title: Deployment protection rule description: Deployment protection rule type: object @@ -71000,7 +71286,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &497 + app: &498 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71099,9 +71385,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: - - *489 + - *490 + - *325 - *324 - - *323 requestBody: content: application/json: @@ -71122,9 +71408,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *496 + schema: *497 examples: - default: &498 + default: &499 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71159,9 +71445,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: - - *489 + - *490 + - *325 - *324 - - *323 - *19 - *17 responses: @@ -71180,7 +71466,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *497 + items: *498 examples: default: value: @@ -71215,10 +71501,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *323 - *324 - - *489 - - &499 + - *325 + - *490 + - &500 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71230,9 +71516,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *498 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71253,10 +71539,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *489 + - *490 + - *325 - *324 - - *323 - - *499 + - *500 responses: '204': description: Response @@ -71282,9 +71568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *323 - *324 - - *489 + - *325 + - *490 - *17 - *19 responses: @@ -71302,9 +71588,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *372 examples: - default: *372 + default: *373 headers: Link: *54 x-github: @@ -71329,17 +71615,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *323 - *324 - - *489 + - *325 + - *490 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71361,18 +71647,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71394,10 +71680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 requestBody: required: true content: @@ -71428,7 +71714,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71454,10 +71740,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 responses: '204': description: Default response @@ -71482,10 +71768,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *323 - *324 - - *489 - - *342 + - *325 + - *490 + - *343 - *19 responses: '200': @@ -71502,9 +71788,9 @@ paths: type: integer variables: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 headers: Link: *54 x-github: @@ -71527,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: true content: @@ -71556,7 +71842,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71581,18 +71867,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *323 - *324 - - *489 - - *151 + - *325 + - *490 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71613,10 +71899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *323 - *324 - - *151 - - *489 + - *325 + - *153 + - *490 requestBody: required: true content: @@ -71658,10 +71944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *323 - *324 - - *151 - - *489 + - *325 + - *153 + - *490 responses: '204': description: Response @@ -71683,8 +71969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -71752,8 +72038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *323 - *324 + - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71775,7 +72061,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -71912,8 +72198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -71945,9 +72231,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 '400': *14 '422': *15 '403': *29 @@ -71968,8 +72254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72028,8 +72314,8 @@ paths: application/json: schema: oneOf: - - *109 - - *502 + - *111 + - *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72054,8 +72340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *323 - *324 + - *325 - name: file_sha in: path required: true @@ -72154,8 +72440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72264,7 +72550,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &504 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72478,15 +72764,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *323 - *324 - - *457 + - *325 + - *458 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: default: value: @@ -72542,9 +72828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *323 - *324 - - &504 + - *325 + - &505 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. @@ -72561,7 +72847,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Git Reference description: Git references within a repository type: object @@ -72636,17 +72922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &506 + default: &507 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72675,8 +72961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72705,9 +72991,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -72733,9 +73019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 requestBody: required: true content: @@ -72764,9 +73050,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 '422': *15 '409': *47 x-github: @@ -72784,9 +73070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 responses: '204': description: Response @@ -72841,8 +73127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72909,7 +73195,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &509 title: Git Tag description: Metadata for a Git tag type: object @@ -72960,7 +73246,7 @@ paths: - sha - type - url - verification: *507 + verification: *508 required: - sha - url @@ -72970,7 +73256,7 @@ paths: - tag - message examples: - default: &509 + default: &510 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73043,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *323 - *324 + - *325 - name: tag_sha in: path required: true @@ -73055,9 +73341,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '404': *6 '409': *47 x-github: @@ -73081,8 +73367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -73155,7 +73441,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &511 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73251,8 +73537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *323 - *324 + - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73275,7 +73561,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default-response: summary: Default response @@ -73334,8 +73620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -73345,7 +73631,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Webhook description: Webhooks for repositories. type: object @@ -73399,7 +73685,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &750 + last_response: &753 title: Hook Response type: object properties: @@ -73473,8 +73759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -73526,9 +73812,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: type: Repository id: 12345678 @@ -73576,17 +73862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -73606,9 +73892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 requestBody: required: true content: @@ -73653,9 +73939,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '422': *15 '404': *6 x-github: @@ -73676,9 +73962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73702,9 +73988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '200': description: Response @@ -73731,9 +74017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *323 - *324 - - *191 + - *325 + - *193 requestBody: required: false content: @@ -73777,11 +74063,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -73789,9 +74075,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -73810,18 +74096,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -73840,9 +74126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *16 responses: '202': *39 @@ -73865,9 +74151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73892,9 +74178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73917,8 +74203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response if immutable releases are enabled @@ -73964,10 +74250,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -73985,10 +74271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74043,14 +74329,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &513 + schema: &514 title: Import description: A repository import from an external source. type: object @@ -74149,7 +74435,7 @@ paths: - html_url - authors_url examples: - default: &516 + default: &517 value: vcs: subversion use_lfs: true @@ -74165,7 +74451,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': &514 + '503': &515 description: Unavailable due to service under maintenance. content: application/json: @@ -74194,8 +74480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -74243,7 +74529,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default: value: @@ -74268,7 +74554,7 @@ paths: type: string '422': *15 '404': *6 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74296,8 +74582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -74346,7 +74632,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: example-1: summary: Example 1 @@ -74394,7 +74680,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': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74417,12 +74703,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *323 - *324 + - *325 responses: '204': description: Response - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74448,9 +74734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *323 - *324 - - &688 + - *325 + - &689 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74464,7 +74750,7 @@ paths: application/json: schema: type: array - items: &515 + items: &516 title: Porter Author description: Porter Author type: object @@ -74518,7 +74804,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': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74543,8 +74829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *323 - *324 + - *325 - name: author_id in: path required: true @@ -74574,7 +74860,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: default: value: @@ -74587,7 +74873,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74611,8 +74897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74653,7 +74939,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74681,8 +74967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -74709,11 +74995,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *516 + default: *517 '422': *15 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74736,8 +75022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74745,8 +75031,8 @@ paths: application/json: schema: *22 examples: - default: *517 - '301': *332 + default: *518 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -74766,8 +75052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74775,12 +75061,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: &519 + default: &520 value: limit: collaborators_only origin: repository @@ -74805,13 +75091,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *518 + schema: *519 examples: default: summary: Example request body @@ -74823,9 +75109,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *519 + default: *520 '409': description: Response x-github: @@ -74847,8 +75133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -74871,8 +75157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -74882,9 +75168,9 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: - default: &681 + default: &682 value: - id: 1 repository: @@ -75015,9 +75301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *323 - *324 - - *213 + - *325 + - *215 requestBody: required: false content: @@ -75046,7 +75332,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: default: value: @@ -75177,9 +75463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *323 - *324 - - *213 + - *325 + - *215 responses: '204': description: Response @@ -75210,8 +75496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *323 - *324 + - *325 - 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 @@ -75259,7 +75545,7 @@ paths: required: false schema: type: string - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -75284,7 +75570,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75432,7 +75718,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *332 + '301': *333 '422': *15 '404': *6 x-github: @@ -75461,8 +75747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -75546,7 +75832,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -75702,7 +75988,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *329 + '410': *330 x-github: triggersNotification: true githubCloudOnly: false @@ -75730,8 +76016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *323 - *324 + - *325 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -75752,9 +76038,9 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: &528 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75812,17 +76098,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75876,8 +76162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -75900,9 +76186,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -75920,8 +76206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -75942,8 +76228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75970,9 +76256,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -75993,8 +76279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -76027,16 +76313,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -76058,10 +76344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -76081,8 +76367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -76092,7 +76378,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Issue Event description: Issue Event type: object @@ -76135,8 +76421,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76180,7 +76466,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *176 + requested_team: *178 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76443,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *323 - *324 + - *325 - name: event_id in: path required: true @@ -76455,7 +76741,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -76648,7 +76934,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *329 + '410': *330 '403': *29 x-github: githubCloudOnly: false @@ -76682,9 +76968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *323 - *324 - - &527 + - *325 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -76698,10 +76984,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '404': *6 - '410': *329 + '410': *330 '304': *37 x-github: githubCloudOnly: false @@ -76726,9 +77012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -76834,13 +77120,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '422': *15 '503': *104 '403': *29 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76858,9 +77144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -76888,7 +77174,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76904,9 +77190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: content: application/json: @@ -76933,7 +77219,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76955,9 +77241,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: - - *323 - *324 - - *527 + - *325 + - *528 - name: assignee in: path required: true @@ -76997,9 +77283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *72 - *17 - *19 @@ -77010,13 +77296,13 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *528 + default: *529 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77045,9 +77331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -77069,16 +77355,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -77106,9 +77392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77120,12 +77406,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77153,9 +77439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -77179,15 +77465,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *332 + '301': *333 '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -77218,9 +77504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77234,13 +77520,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 x-github: triggersNotification: true githubCloudOnly: false @@ -77266,9 +77552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77280,12 +77566,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77302,9 +77588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77318,7 +77604,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &533 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77372,7 +77658,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77508,7 +77794,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &535 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77559,7 +77845,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77610,7 +77896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77664,7 +77950,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &538 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77698,7 +77984,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77711,7 +77997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77745,7 +78031,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77758,7 +78044,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &540 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -77818,7 +78104,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Locked Issue Event description: Locked Issue Event type: object @@ -77866,7 +78152,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -77932,7 +78218,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -77998,7 +78284,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78064,7 +78350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78155,7 +78441,7 @@ paths: color: red headers: Link: *54 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78172,9 +78458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -78184,7 +78470,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78231,7 +78517,7 @@ paths: - color - default examples: - default: &531 + default: &532 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78249,9 +78535,9 @@ paths: default: false headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78268,9 +78554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78329,12 +78615,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *332 + default: *532 + '301': *333 '404': *6 - '410': *329 + '410': *330 '422': *15 x-github: githubCloudOnly: false @@ -78351,9 +78637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78413,12 +78699,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *332 + default: *532 + '301': *333 '404': *6 - '410': *329 + '410': *330 '422': *15 x-github: githubCloudOnly: false @@ -78435,15 +78721,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '204': description: Response - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78462,9 +78748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - name: name in: path required: true @@ -78477,7 +78763,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -78488,9 +78774,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78510,9 +78796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78540,7 +78826,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *330 '404': *6 '422': *15 x-github: @@ -78558,9 +78844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '204': description: Response @@ -78590,9 +78876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '200': description: Response @@ -78600,10 +78886,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78620,9 +78906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - 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. @@ -78648,13 +78934,13 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78672,9 +78958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78706,16 +78992,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -78737,10 +79023,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *323 - *324 - - *527 - - *319 + - *325 + - *528 + - *320 responses: '204': description: Response @@ -78769,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78795,7 +79081,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -78828,9 +79114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -78842,11 +79128,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78874,9 +79160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78905,14 +79191,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -78932,9 +79218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78967,7 +79253,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '403': *29 '404': *6 '422': *7 @@ -78989,9 +79275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -79006,7 +79292,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - *533 - *534 - *535 @@ -79019,6 +79304,7 @@ paths: - *542 - *543 - *544 + - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79327,7 +79613,7 @@ paths: type: string comments: type: array - items: &566 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79536,7 +79822,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79825,7 +80111,7 @@ paths: headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79842,8 +80128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -79853,7 +80139,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -79919,8 +80205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -79956,9 +80242,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: id: 1 key: ssh-rsa AAA... @@ -79992,9 +80278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *323 - *324 - - &547 + - *325 + - &548 name: key_id description: The unique identifier of the key. in: path @@ -80006,9 +80292,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80026,9 +80312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *323 - *324 - - *547 + - *325 + - *548 responses: '204': description: Response @@ -80048,8 +80334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -80059,9 +80345,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 '404': *6 @@ -80082,8 +80368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80119,9 +80405,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &548 + default: &549 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80153,8 +80439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80165,9 +80451,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *548 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80184,8 +80470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80224,7 +80510,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -80250,8 +80536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80277,8 +80563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -80317,9 +80603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *323 - *324 - - *431 + - *325 + - *432 responses: '200': description: Response @@ -80464,8 +80750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80530,8 +80816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80565,9 +80851,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *457 examples: - default: *549 + default: *550 '204': description: Response when already merged '404': @@ -80592,8 +80878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *323 - *324 + - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80634,12 +80920,12 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 examples: default: value: @@ -80695,8 +80981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80736,9 +81022,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -80797,9 +81083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *323 - *324 - - &552 + - *325 + - &553 name: milestone_number description: The number that identifies the milestone. in: path @@ -80811,9 +81097,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80830,9 +81116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 requestBody: required: false content: @@ -80870,9 +81156,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80888,9 +81174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 responses: '204': description: Response @@ -80911,9 +81197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 - *17 - *19 responses: @@ -80923,9 +81209,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 x-github: @@ -80944,12 +81230,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *323 - *324 - - *553 + - *325 - *554 - - *72 - *555 + - *72 + - *556 - *17 - *19 responses: @@ -80961,7 +81247,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *557 headers: Link: *54 x-github: @@ -80985,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -81044,14 +81330,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &557 + schema: &558 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81176,7 +81462,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81217,8 +81503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81272,9 +81558,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '422': *15 '409': *47 x-github: @@ -81297,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81397,8 +81683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -81424,8 +81710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -81435,7 +81721,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: Page Build description: Page Build type: object @@ -81529,8 +81815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *323 - *324 + - *325 responses: '201': description: Response @@ -81575,16 +81861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81632,8 +81918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *323 - *324 + - *325 - name: build_id in: path required: true @@ -81644,9 +81930,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81666,8 +81952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81772,9 +82058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *323 - *324 - - &561 + - *325 + - &562 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -81832,11 +82118,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *323 - *324 - - *561 + - *325 + - *562 responses: - '204': *170 + '204': *172 '404': *6 x-github: githubCloudOnly: false @@ -81861,8 +82147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -82093,7 +82379,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -82120,8 +82406,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: - - *323 - *324 + - *325 responses: '200': description: Private vulnerability reporting status @@ -82158,10 +82444,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82180,10 +82466,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82204,8 +82490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *323 - *324 + - *325 - name: state description: Indicates the state of the projects to return. in: query @@ -82226,7 +82512,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -82266,7 +82552,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -82289,8 +82575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82316,13 +82602,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *329 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -82345,8 +82631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -82356,7 +82642,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *563 '403': *29 '404': *6 x-github: @@ -82378,8 +82664,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82395,7 +82681,7 @@ paths: required: - properties examples: - default: *563 + default: *564 responses: '204': description: No Content when custom property values are successfully created @@ -82433,8 +82719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *323 - *324 + - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82494,9 +82780,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *564 + default: *565 headers: Link: *54 '304': *37 @@ -82528,8 +82814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82594,7 +82880,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82705,8 +82991,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -82751,7 +83037,7 @@ paths: nullable: true requested_teams: type: array - items: *301 + items: *302 nullable: true head: type: object @@ -82790,14 +83076,14 @@ paths: _links: type: object properties: - comments: *256 - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + comments: *257 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -82808,7 +83094,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -82900,7 +83186,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83427,8 +83713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *323 - *324 + - *325 - name: sort in: query required: false @@ -83457,9 +83743,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &571 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83536,17 +83822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83621,8 +83907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -83645,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83663,8 +83949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -83686,8 +83972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83714,9 +84000,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -83737,8 +84023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -83771,16 +84057,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -83802,10 +84088,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -83848,9 +84134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *323 - *324 - - &570 + - *325 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -83863,9 +84149,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '304': *37 '404': *6 '406': @@ -83900,9 +84186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -83944,9 +84230,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '422': *15 '403': *29 x-github: @@ -83968,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -84030,17 +84316,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84070,9 +84356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84093,9 +84379,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *571 + default: *572 headers: Link: *54 x-github: @@ -84128,9 +84414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -84235,7 +84521,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84323,9 +84609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *81 requestBody: required: true @@ -84348,7 +84634,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -84434,9 +84720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -84446,9 +84732,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *572 + default: *573 headers: Link: *54 x-github: @@ -84478,9 +84764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -84490,7 +84776,7 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: value: @@ -84528,9 +84814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *323 - *324 - - *570 + - *325 + - *571 responses: '204': description: Response if pull request has been merged @@ -84553,9 +84839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -84666,9 +84952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 responses: '200': description: Response @@ -84684,7 +84970,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 required: - users - teams @@ -84743,9 +85029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -84782,7 +85068,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -85318,9 +85604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -85354,7 +85640,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -85859,9 +86145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -85871,7 +86157,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86022,9 +86308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -86110,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &575 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86175,10 +86461,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - &574 + - *325 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86190,9 +86476,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &576 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86251,10 +86537,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86277,7 +86563,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86339,18 +86625,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *575 + default: *576 '422': *7 '404': *6 x-github: @@ -86377,10 +86663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 - *17 - *19 responses: @@ -86463,9 +86749,9 @@ paths: _links: type: object properties: - self: *256 - html: *256 - pull_request: *256 + self: *257 + html: *257 + pull_request: *257 required: - self - html @@ -86615,10 +86901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86646,7 +86932,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86709,10 +86995,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86747,9 +87033,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *576 + default: *577 '404': *6 '422': *7 '403': *29 @@ -86771,9 +87057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -86836,8 +87122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *323 - *324 + - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86850,9 +87136,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: &578 + default: &579 value: type: file encoding: base64 @@ -86894,8 +87180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *323 - *324 + - *325 - name: dir description: The alternate path to look for a README file in: path @@ -86915,9 +87201,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *6 '422': *15 x-github: @@ -86939,8 +87225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -86950,7 +87236,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Release description: A release. type: object @@ -87021,7 +87307,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -87208,8 +87494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -87285,9 +87571,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &583 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87392,9 +87678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *323 - *324 - - &581 + - *325 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87406,9 +87692,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 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 @@ -87443,7 +87729,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87459,9 +87745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *323 - *324 - - *581 + - *325 + - *582 requestBody: required: false content: @@ -87489,9 +87775,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87507,9 +87793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *323 - *324 - - *581 + - *325 + - *582 responses: '204': description: Response @@ -87533,8 +87819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -87619,16 +87905,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87645,8 +87931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *323 - *324 + - *325 - name: tag description: tag parameter in: path @@ -87659,9 +87945,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -87683,9 +87969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *323 - *324 - - &584 + - *325 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -87699,9 +87985,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: *579 + schema: *580 examples: - default: *583 + default: *584 '401': description: Unauthorized x-github: @@ -87719,9 +88005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 requestBody: required: false content: @@ -87785,9 +88071,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -87808,9 +88094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 responses: '204': description: Response @@ -87830,9 +88116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *323 - *324 - - *584 + - *325 + - *585 - *17 - *19 responses: @@ -87842,7 +88128,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -87923,9 +88209,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: - - *323 - *324 - - *584 + - *325 + - *585 - name: name in: query required: true @@ -87951,7 +88237,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *581 examples: response-for-successful-upload: value: @@ -88006,9 +88292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 - 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. @@ -88032,9 +88318,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -88055,9 +88341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 requestBody: required: true content: @@ -88087,16 +88373,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -88118,10 +88404,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *323 - *324 - - *584 - - *319 + - *325 + - *585 + - *320 responses: '204': description: Response @@ -88145,9 +88431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 - *17 - *19 responses: @@ -88163,8 +88449,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *274 - - &585 + - *275 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88183,69 +88469,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *275 - - *585 - allOf: - *276 - - *585 + - *586 - allOf: - *277 - - *585 - - allOf: - *586 - - *585 - allOf: - *278 - - *585 + - *586 + - allOf: + - *587 + - *586 - allOf: - *279 - - *585 + - *586 - allOf: - *280 - - *585 + - *586 - allOf: - *281 - - *585 + - *586 - allOf: - *282 - - *585 + - *586 - allOf: - *283 - - *585 + - *586 - allOf: - *284 - - *585 + - *586 - allOf: - *285 - - *585 + - *586 - allOf: - *286 - - *585 + - *586 - allOf: - *287 - - *585 + - *586 - allOf: - *288 - - *585 + - *586 - allOf: - *289 - - *585 + - *586 - allOf: - *290 - - *585 + - *586 - allOf: - *291 - - *585 + - *586 - allOf: - *292 - - *585 + - *586 - allOf: - *293 - - *585 + - *586 - allOf: - - *587 - - *585 + - *294 + - *586 + - allOf: + - *588 + - *586 examples: default: value: @@ -88284,8 +88570,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - *17 - *19 - name: includes_parents @@ -88296,7 +88582,7 @@ paths: schema: type: boolean default: true - - *588 + - *589 responses: '200': description: Response @@ -88304,7 +88590,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -88351,8 +88637,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 requestBody: description: Request body required: true @@ -88372,16 +88658,16 @@ paths: - tag - push default: branch - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *273 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *590 required: - name - enforcement @@ -88412,9 +88698,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &599 + default: &600 value: id: 42 name: super cool ruleset @@ -88461,12 +88747,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *323 - *324 - - *590 + - *325 - *591 - *592 - *593 + - *594 - *17 - *19 responses: @@ -88474,9 +88760,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '500': *103 x-github: @@ -88497,17 +88783,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *323 - *324 - - *596 + - *325 + - *597 responses: '200': description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *598 + default: *599 '404': *6 '500': *103 x-github: @@ -88535,8 +88821,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88556,9 +88842,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *599 + default: *600 '404': *6 '500': *103 put: @@ -88576,8 +88862,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88602,16 +88888,16 @@ paths: - branch - tag - push - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *273 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *590 examples: default: value: @@ -88639,9 +88925,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *599 + default: *600 '404': *6 '500': *103 delete: @@ -88659,8 +88945,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88683,8 +88969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *323 - *324 + - *325 - *17 - *19 - name: ruleset_id @@ -88700,9 +88986,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *600 + default: *601 '404': *6 '500': *103 x-github: @@ -88721,8 +89007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88740,7 +89026,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -88795,21 +89081,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *323 - *324 - - *602 + - *325 - *603 - *604 - *605 + - *606 - *48 - *19 - *17 - - *606 - *607 - *608 - *609 - *610 - *611 + - *612 responses: '200': description: Response @@ -88817,11 +89103,11 @@ paths: application/json: schema: type: array - items: &615 + items: &616 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -88829,15 +89115,15 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolved_at: type: string format: date-time @@ -88933,7 +89219,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *615 nullable: true has_more_locations: type: boolean @@ -89082,16 +89368,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 - - *611 + - *325 + - *426 + - *612 responses: '200': description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89143,9 +89429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: true content: @@ -89153,8 +89439,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89172,7 +89458,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89247,9 +89533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 - *19 - *17 responses: @@ -89260,7 +89546,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &772 + items: &775 type: object properties: type: @@ -89286,7 +89572,6 @@ paths: example: commit details: oneOf: - - *616 - *617 - *618 - *619 @@ -89299,6 +89584,7 @@ paths: - *626 - *627 - *628 + - *629 examples: default: value: @@ -89384,8 +89670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -89393,14 +89679,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &631 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *630 required: - reason - placeholder_id @@ -89417,7 +89703,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *631 expire_at: type: string format: date-time @@ -89463,8 +89749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *323 - *324 + - *325 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89479,7 +89765,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &632 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89505,15 +89791,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *632 backfill_scans: type: array - items: *631 + items: *632 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *632 - type: object properties: pattern_name: @@ -89583,8 +89869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *323 - *324 + - *325 - *48 - name: sort description: The property to sort the results by. @@ -89628,9 +89914,9 @@ paths: application/json: schema: type: array - items: *632 + items: *633 examples: - default: *633 + default: *634 '400': *14 '404': *6 x-github: @@ -89653,8 +89939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -89727,7 +90013,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -89814,9 +90100,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90049,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -90154,7 +90440,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -90301,17 +90587,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *323 - *324 - - *634 + - *325 + - *635 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '403': *29 '404': *6 x-github: @@ -90335,9 +90621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *323 - *324 - - *634 + - *325 + - *635 requestBody: required: true content: @@ -90410,7 +90696,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -90496,17 +90782,17 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 - add_credit: *635 + default: *636 + add_credit: *636 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *109 + schema: *111 examples: invalid_state_transition: value: @@ -90537,9 +90823,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: - - *323 - *324 - - *634 + - *325 + - *635 responses: '202': *39 '400': *14 @@ -90566,17 +90852,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *323 - *324 - - *634 + - *325 + - *635 responses: '202': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 '400': *14 '422': *15 '403': *29 @@ -90602,8 +90888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -90702,8 +90988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90712,7 +90998,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90725,7 +91011,7 @@ paths: - 1124 - -435 '202': *39 - '204': *170 + '204': *172 '422': description: Repository contains more than 10,000 commits x-github: @@ -90745,8 +91031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -90795,7 +91081,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90822,8 +91108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -90897,7 +91183,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90919,8 +91205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *323 - *324 + - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91074,8 +91360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *323 - *324 + - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91085,7 +91371,7 @@ paths: application/json: schema: type: array - items: *636 + items: *637 examples: default: value: @@ -91098,7 +91384,7 @@ paths: - - 0 - 2 - 21 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91118,8 +91404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *323 - *324 + - *325 - name: sha in: path required: true @@ -91173,7 +91459,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -91227,8 +91513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91260,14 +91546,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *323 - *324 + - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91335,8 +91621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -91362,7 +91648,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -91389,8 +91675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -91410,8 +91696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91490,8 +91776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -91499,7 +91785,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Tag protection description: Tag protection type: object @@ -91551,8 +91837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -91575,7 +91861,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -91606,8 +91892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *323 - *324 + - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91644,8 +91930,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *323 - *324 + - *325 - name: ref in: path required: true @@ -91681,8 +91967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91692,9 +91978,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '404': *6 @@ -91714,8 +92000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *323 - *324 + - *325 - *19 - *17 responses: @@ -91723,7 +92009,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91735,7 +92021,7 @@ paths: required: - names examples: - default: &641 + default: &642 value: names: - octocat @@ -91758,8 +92044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -91790,9 +92076,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *7 x-github: @@ -91813,9 +92099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *323 - *324 - - &642 + - *325 + - &643 name: per description: The time frame to display results for. in: query @@ -91844,7 +92130,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &644 title: Traffic type: object properties: @@ -91931,8 +92217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -92022,8 +92308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -92083,9 +92369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *323 - *324 - - *642 + - *325 + - *643 responses: '200': description: Response @@ -92104,7 +92390,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *644 required: - uniques - count @@ -92181,8 +92467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -92218,7 +92504,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -92456,8 +92742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92480,8 +92766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -92503,8 +92789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -92530,8 +92816,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *323 - *324 + - *325 - name: ref in: path required: true @@ -92623,9 +92909,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92666,7 +92952,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -92855,7 +93141,7 @@ paths: html_url: type: string format: uri - repository: *140 + repository: *142 score: type: number file_size: @@ -92873,7 +93159,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -93035,7 +93321,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -93106,7 +93392,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true comment_count: type: integer @@ -93126,7 +93412,7 @@ paths: url: type: string format: uri - verification: *507 + verification: *508 required: - author - committer @@ -93145,7 +93431,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true parents: type: array @@ -93158,12 +93444,12 @@ paths: type: string sha: type: string - repository: *140 + repository: *142 score: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -93355,7 +93641,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *17 - *19 - name: advanced_search @@ -93452,11 +93738,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -93473,8 +93759,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true comments: type: integer @@ -93488,7 +93774,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -93532,7 +93818,7 @@ paths: timeline_url: type: string format: uri - type: *214 + type: *216 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93713,7 +93999,7 @@ paths: enum: - created - updated - - *645 + - *646 - *17 - *19 responses: @@ -93757,7 +94043,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -93842,7 +94128,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *17 - *19 responses: @@ -94081,7 +94367,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -94381,7 +94667,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -94572,7 +94858,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *17 - *19 responses: @@ -94676,7 +94962,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -94755,7 +95041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &650 name: team_id description: The unique identifier of the team. in: path @@ -94767,9 +95053,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -94796,7 +95082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -94859,16 +95145,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '201': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 '422': *15 '403': *29 @@ -94896,7 +95182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *650 responses: '204': description: Response @@ -94927,7 +95213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *650 - *48 - *17 - *19 @@ -94938,9 +95224,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *650 + default: *651 headers: Link: *54 x-github: @@ -94969,7 +95255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95003,9 +95289,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -95032,16 +95318,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95066,8 +95352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: false content: @@ -95090,9 +95376,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *651 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95117,8 +95403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 responses: '204': description: Response @@ -95147,8 +95433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *312 + - *650 + - *313 - *48 - *17 - *19 @@ -95159,9 +95445,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *652 + default: *653 headers: Link: *54 x-github: @@ -95190,8 +95476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: true content: @@ -95213,9 +95499,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: triggersNotification: true githubCloudOnly: false @@ -95242,17 +95528,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95277,9 +95563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 requestBody: required: true content: @@ -95301,9 +95587,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *653 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95328,9 +95614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 responses: '204': description: Response @@ -95359,9 +95645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 - 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 team discussion comment. @@ -95387,9 +95673,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -95418,9 +95704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 requestBody: required: true content: @@ -95452,9 +95738,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95480,8 +95766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 - 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 team discussion. @@ -95507,9 +95793,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -95538,8 +95824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: true content: @@ -95571,9 +95857,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95597,7 +95883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95607,9 +95893,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -95635,7 +95921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *650 - name: role description: Filters members returned by their role in the team. in: query @@ -95686,7 +95972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95723,7 +96009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95763,7 +96049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95800,16 +96086,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *655 '404': *6 x-github: githubCloudOnly: false @@ -95842,7 +96128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 requestBody: required: false @@ -95868,9 +96154,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *656 '403': description: Forbidden if team synchronization is set up '422': @@ -95904,7 +96190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95933,7 +96219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95943,9 +96229,9 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *656 + default: *657 headers: Link: *54 '404': *6 @@ -95971,16 +96257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *322 + - *650 + - *323 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *657 + default: *658 '404': description: Not Found if project is not managed by this team x-github: @@ -96004,8 +96290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *322 + - *650 + - *323 requestBody: required: false content: @@ -96072,8 +96358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *322 + - *650 + - *323 responses: '204': description: Response @@ -96100,7 +96386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96110,9 +96396,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -96142,15 +96428,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *659 examples: alternative-response-with-extra-repository-information: value: @@ -96301,9 +96587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 requestBody: required: false content: @@ -96353,9 +96639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 responses: '204': description: Response @@ -96380,7 +96666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96390,9 +96676,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *660 headers: Link: *54 '404': *6 @@ -96425,7 +96711,7 @@ paths: application/json: schema: oneOf: - - &661 + - &662 title: Private User description: Private User type: object @@ -96628,7 +96914,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *661 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96781,7 +97067,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -96984,9 +97270,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -97125,17 +97411,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97179,7 +97465,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &663 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97219,7 +97505,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *54 x-github: @@ -97289,13 +97575,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -97325,7 +97611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 requestBody: required: true content: @@ -97370,7 +97656,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -97398,7 +97684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '204': description: Response @@ -97423,7 +97709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 responses: '200': description: Response @@ -97439,9 +97725,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *663 + default: *664 '401': *25 '403': *29 '404': *6 @@ -97466,7 +97752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 requestBody: required: true content: @@ -97520,7 +97806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97553,7 +97839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97585,15 +97871,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '304': *37 '500': *103 '401': *25 @@ -97619,7 +97905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 requestBody: required: false content: @@ -97649,9 +97935,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97673,7 +97959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': *39 '304': *37 @@ -97702,13 +97988,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': description: Response content: application/json: - schema: &664 + schema: &665 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97749,7 +98035,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &666 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97781,7 +98067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *221 + - *223 - name: export_id in: path required: true @@ -97794,9 +98080,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97817,7 +98103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *221 + - *223 responses: '200': description: Response @@ -97833,9 +98119,9 @@ paths: type: integer machines: type: array - items: *666 + items: *667 examples: - default: *667 + default: *668 '304': *37 '500': *103 '401': *25 @@ -97864,7 +98150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *221 + - *223 requestBody: required: true content: @@ -97914,13 +98200,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *331 + repository: *332 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98694,15 +98980,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '304': *37 '500': *103 '400': *14 @@ -98734,15 +99020,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '500': *103 '401': *25 '403': *29 @@ -98772,9 +99058,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: &678 + default: &679 value: - id: 197 name: hello_docker @@ -98875,7 +99161,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 title: Email description: Email type: object @@ -98940,9 +99226,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: &680 + default: &681 value: - email: octocat@github.com verified: true @@ -99017,7 +99303,7 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: default: value: @@ -99273,7 +99559,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: GPG Key description: A unique encryption key type: object @@ -99404,7 +99690,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &695 value: - id: 3 name: Octocat's GPG Key @@ -99489,9 +99775,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: id: 3 name: Octocat's GPG Key @@ -99548,7 +99834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &672 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99560,9 +99846,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99585,7 +99871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *672 responses: '204': description: Response @@ -99776,7 +100062,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 headers: Link: *54 '404': *6 @@ -99801,7 +100087,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99827,7 +100113,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99861,12 +100147,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: *210 + default: *212 '204': description: Response when there are no restrictions x-github: @@ -99890,7 +100176,7 @@ paths: required: true content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -99901,7 +100187,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -99982,7 +100268,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -100007,7 +100293,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -100040,7 +100326,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Key description: Key type: object @@ -100141,9 +100427,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: &673 + default: &674 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100176,15 +100462,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '200': description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '404': *6 '304': *37 '403': *29 @@ -100207,7 +100493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '204': description: Response @@ -100240,7 +100526,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100308,7 +100594,7 @@ paths: - account - plan examples: - default: &675 + default: &676 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100370,9 +100656,9 @@ paths: application/json: schema: type: array - items: *674 + items: *675 examples: - default: *675 + default: *676 headers: Link: *54 '304': *37 @@ -100412,7 +100698,7 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: default: value: @@ -100520,7 +100806,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100603,7 +100889,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100671,7 +100957,7 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: default: value: @@ -100924,7 +101210,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101104,7 +101390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *226 + - *228 - name: exclude in: query required: false @@ -101117,7 +101403,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101311,7 +101597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *226 + - *228 responses: '302': description: Response @@ -101337,7 +101623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *226 + - *228 responses: '204': description: Response @@ -101366,8 +101652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *226 - - *676 + - *228 + - *677 responses: '204': description: Response @@ -101391,7 +101677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *226 + - *228 - *17 - *19 responses: @@ -101401,9 +101687,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -101482,7 +101768,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *19 - *17 responses: @@ -101492,10 +101778,10 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 - '400': *679 + default: *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101515,16 +101801,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: &695 + default: &696 value: id: 40201 name: octo-name @@ -101637,8 +101923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '204': description: Response @@ -101668,8 +101954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - name: token description: package token schema: @@ -101701,8 +101987,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: - - *234 - - *235 + - *236 + - *237 - *19 - *17 - name: state @@ -101722,7 +102008,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -101771,15 +102057,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -101815,9 +102101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101847,9 +102133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101905,7 +102191,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -101977,9 +102263,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: *680 + default: *681 headers: Link: *54 '304': *37 @@ -102092,7 +102378,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &688 summary: Default response value: - id: 1296269 @@ -102396,9 +102682,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102436,9 +102722,9 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: - default: *681 + default: *682 headers: Link: *54 '304': *37 @@ -102461,7 +102747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102484,7 +102770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102517,7 +102803,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Social account description: Social media account type: object @@ -102532,7 +102818,7 @@ paths: - provider - url examples: - default: &683 + default: &684 value: - provider: twitter url: https://twitter.com/github @@ -102594,9 +102880,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 '422': *15 '304': *37 '404': *6 @@ -102683,7 +102969,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102703,7 +102989,7 @@ paths: - title - created_at examples: - default: &708 + default: &711 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102769,9 +103055,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102802,7 +103088,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: - - &686 + - &687 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102814,9 +103100,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 '404': *6 '304': *37 '403': *29 @@ -102839,7 +103125,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: - - *686 + - *687 responses: '204': description: Response @@ -102868,7 +103154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &709 + - &712 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 @@ -102893,11 +103179,11 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *688 application/vnd.github.v3.star+json: schema: type: array - items: &710 + items: &713 title: Starred Repository description: Starred Repository type: object @@ -103053,8 +103339,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: - - *323 - *324 + - *325 responses: '204': description: Response if this repository is starred by you @@ -103082,8 +103368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -103107,8 +103393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -103141,9 +103427,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '304': *37 @@ -103180,7 +103466,7 @@ paths: application/json: schema: type: array - items: *308 + items: *309 examples: default: value: @@ -103266,10 +103552,10 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: &689 + default-response: &690 summary: Default response value: login: octocat @@ -103304,7 +103590,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &691 summary: Response with GitHub plan information value: login: octocat @@ -103364,7 +103650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *689 - *17 responses: '200': @@ -103413,11 +103699,11 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *690 + response-with-git-hub-plan-information: *691 '404': *6 x-github: githubCloudOnly: false @@ -103467,8 +103753,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *692 + withPredicateType: *693 responses: '200': description: Response @@ -103521,7 +103807,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103726,12 +104012,12 @@ paths: initiator: type: string examples: - default: *387 + default: *388 '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -103765,9 +104051,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *679 '403': *29 '401': *25 x-github: @@ -104151,9 +104437,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *694 + default: *695 headers: Link: *54 x-github: @@ -104257,7 +104543,7 @@ paths: application/json: schema: *22 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104381,7 +104667,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *59 - *19 - *17 @@ -104392,12 +104678,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *679 '403': *29 '401': *25 - '400': *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104417,17 +104703,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *695 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104448,8 +104734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '204': @@ -104482,8 +104768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 - name: token description: package token @@ -104516,8 +104802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': @@ -104526,7 +104812,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -104584,16 +104870,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 - *59 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104628,10 +104914,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104663,10 +104949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104713,7 +104999,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -104788,9 +105074,9 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104812,16 +105098,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *253 - *59 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104843,7 +105129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *253 - *59 - *17 - *40 @@ -104855,9 +105141,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *697 headers: Link: *54 '304': *37 @@ -104879,17 +105165,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *696 + - *253 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *699 headers: Link: *54 '304': *37 @@ -104912,7 +105198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - *40 - *41 @@ -104945,9 +105231,9 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -104969,7 +105255,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -105006,10 +105292,10 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: - issue: *258 - pull_request: *258 + issue: *259 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -105029,9 +105315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - - *261 + - *262 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105051,9 +105337,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -105074,9 +105360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105146,13 +105432,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -105172,9 +105458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *262 responses: '204': description: Response @@ -105392,9 +105678,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105424,9 +105710,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: - default: *699 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105454,9 +105740,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105478,10 +105764,10 @@ paths: parameters: - *59 - *105 - - *702 + - *107 - *106 - - *703 - - *704 + - *705 + - *108 responses: '200': description: Response when getting a billing premium request usage report @@ -105617,9 +105903,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *706 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105641,7 +105927,7 @@ paths: parameters: - *59 - *105 - - *707 + - *708 - *106 responses: '200': @@ -105719,6 +106005,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *59 + - *105 + - *107 + - *106 + - *709 + - *108 + - *710 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -105741,9 +106162,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 headers: Link: *54 x-github: @@ -105773,9 +106194,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *708 + default: *711 headers: Link: *54 x-github: @@ -105800,7 +106221,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *709 + - *712 - *48 - *17 - *19 @@ -105812,11 +106233,11 @@ paths: schema: anyOf: - type: array - items: *710 + items: *713 - type: array items: *66 examples: - default-response: *687 + default-response: *688 headers: Link: *54 x-github: @@ -105845,9 +106266,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105975,7 +106396,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &711 + enterprise: &714 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106033,7 +106454,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &712 + installation: &715 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106052,7 +106473,7 @@ x-webhooks: required: - id - node_id - organization: &713 + organization: &716 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106112,13 +106533,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &714 + repository: &717 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: &744 + properties: &747 id: description: Unique identifier of the repository example: 42 @@ -106801,7 +107222,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &745 + required: &748 - archive_url - assignees_url - blobs_url @@ -106952,10 +107373,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -107031,11 +107452,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: &715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: &718 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) @@ -107258,11 +107679,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -107445,11 +107866,11 @@ x-webhooks: - everyone required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -107533,7 +107954,7 @@ x-webhooks: type: string enum: - completed - check_run: &717 + check_run: &720 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107586,8 +108007,8 @@ x-webhooks: type: string pull_requests: type: array - items: *404 - repository: *140 + items: *405 + repository: *142 status: example: completed type: string @@ -107624,7 +108045,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *716 + deployment: *719 details_url: example: https://example.com type: string @@ -107674,7 +108095,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *404 + items: *405 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -107709,10 +108130,10 @@ x-webhooks: - output - app - pull_requests - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -108105,11 +108526,11 @@ x-webhooks: type: string enum: - created - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -108505,11 +108926,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 requested_action: description: The action requested by the user. type: object @@ -108914,11 +109335,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -109895,10 +110316,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -110568,10 +110989,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -111235,10 +111656,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -111404,7 +111825,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111549,20 +111970,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &718 + commit_oid: &721 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: *711 - installation: *712 - organization: *713 - ref: &719 + enterprise: *714 + installation: *715 + organization: *716 + ref: &722 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: *714 + repository: *717 sender: *4 required: - action @@ -111727,7 +112148,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111957,12 +112378,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112057,7 +112478,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112228,12 +112649,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112399,7 +112820,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112565,12 +112986,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112670,7 +113091,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112838,16 +113259,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 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: *714 + repository: *717 sender: *4 required: - action @@ -112944,7 +113365,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113084,12 +113505,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -113346,10 +113767,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -113429,18 +113850,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *713 - pusher_type: &720 + organization: *716 + pusher_type: &723 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &721 + ref: &724 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113450,7 +113871,7 @@ x-webhooks: enum: - tag - branch - repository: *714 + repository: *717 sender: *4 required: - ref @@ -113532,10 +113953,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113620,9 +114041,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113699,10 +114120,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113779,10 +114200,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113859,10 +114280,10 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - repository: *714 - organization: *713 + enterprise: *714 + installation: *715 + repository: *717 + organization: *716 sender: *4 new_property_values: type: array @@ -113947,18 +114368,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - pusher_type: *720 - ref: *721 + enterprise: *714 + installation: *715 + organization: *716 + pusher_type: *723 + ref: *724 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *714 + repository: *717 sender: *4 required: - ref @@ -114042,11 +114463,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114130,11 +114551,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114218,11 +114639,11 @@ x-webhooks: type: string enum: - created - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114304,11 +114725,11 @@ x-webhooks: type: string enum: - dismissed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114390,11 +114811,11 @@ x-webhooks: type: string enum: - fixed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114477,11 +114898,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114563,11 +114984,11 @@ x-webhooks: type: string enum: - reopened - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114644,9 +115065,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - key: &722 + enterprise: *714 + installation: *715 + key: &725 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114682,8 +115103,8 @@ x-webhooks: - verified - created_at - read_only - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -114760,11 +115181,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - key: *722 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + key: *725 + organization: *716 + repository: *717 sender: *4 required: - action @@ -115325,12 +115746,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: &726 + workflow: &729 title: Workflow type: object nullable: true @@ -116056,13 +116477,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *482 + deployment: *483 pull_requests: type: array - items: *568 - repository: *714 - organization: *713 - installation: *712 + items: *569 + repository: *717 + organization: *716 + installation: *715 sender: *4 responses: '200': @@ -116133,7 +116554,7 @@ x-webhooks: type: string enum: - approved - approver: &723 + approver: &726 type: object properties: avatar_url: @@ -116176,11 +116597,11 @@ x-webhooks: type: string comment: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - reviewers: &724 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: &727 type: array items: type: object @@ -116259,7 +116680,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &725 + workflow_job_run: &728 type: object properties: conclusion: @@ -116990,18 +117411,18 @@ x-webhooks: type: string enum: - rejected - approver: *723 + approver: *726 comment: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - reviewers: *724 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: *727 sender: *4 since: type: string - workflow_job_run: *725 + workflow_job_run: *728 workflow_job_runs: type: array items: @@ -117705,13 +118126,13 @@ x-webhooks: type: string enum: - requested - enterprise: *711 + enterprise: *714 environment: type: string - installation: *712 - organization: *713 - repository: *714 - requestor: &731 + installation: *715 + organization: *716 + repository: *717 + requestor: &734 title: User type: object nullable: true @@ -119610,12 +120031,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Deployment Workflow Run type: object @@ -120295,7 +120716,7 @@ x-webhooks: type: string enum: - answered - answer: &729 + answer: &732 type: object properties: author_association: @@ -120452,7 +120873,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &727 + discussion: &730 title: Discussion description: A Discussion in a repository. type: object @@ -120738,7 +121159,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *531 required: - repository_url - category @@ -120760,10 +121181,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120890,11 +121311,11 @@ x-webhooks: - from required: - category - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120977,11 +121398,11 @@ x-webhooks: type: string enum: - closed - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121063,7 +121484,7 @@ x-webhooks: type: string enum: - created - comment: &728 + comment: &731 type: object properties: author_association: @@ -121220,11 +121641,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121307,12 +121728,12 @@ x-webhooks: type: string enum: - deleted - comment: *728 - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121407,12 +121828,12 @@ x-webhooks: - from required: - body - comment: *728 - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121496,11 +121917,11 @@ x-webhooks: type: string enum: - created - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121582,11 +122003,11 @@ x-webhooks: type: string enum: - deleted - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121686,11 +122107,11 @@ x-webhooks: type: string required: - from - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121772,10 +122193,10 @@ x-webhooks: type: string enum: - labeled - discussion: *727 - enterprise: *711 - installation: *712 - label: &730 + discussion: *730 + enterprise: *714 + installation: *715 + label: &733 title: Label type: object properties: @@ -121807,8 +122228,8 @@ x-webhooks: - color - default - description - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121891,11 +122312,11 @@ x-webhooks: type: string enum: - locked - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121977,11 +122398,11 @@ x-webhooks: type: string enum: - pinned - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122063,11 +122484,11 @@ x-webhooks: type: string enum: - reopened - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122152,16 +122573,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *727 - new_repository: *714 + new_discussion: *730 + new_repository: *717 required: - new_discussion - new_repository - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122244,10 +122665,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *727 - old_answer: *729 - organization: *713 - repository: *714 + discussion: *730 + old_answer: *732 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122329,12 +122750,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *727 - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122417,11 +122838,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122503,11 +122924,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122580,7 +123001,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *711 + enterprise: *714 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123240,9 +123661,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - forkee @@ -123388,9 +123809,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pages: description: The pages that were updated. type: array @@ -123427,7 +123848,7 @@ x-webhooks: - action - sha - html_url - repository: *714 + repository: *717 sender: *4 required: - pages @@ -123503,10 +123924,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: &732 + organization: *716 + repositories: &735 description: An array of repository objects that the installation can access. type: array @@ -123532,8 +123953,8 @@ x-webhooks: - name - full_name - private - repository: *714 - requester: *731 + repository: *717 + requester: *734 sender: *4 required: - action @@ -123608,11 +124029,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -123688,11 +124109,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -123768,10 +124189,10 @@ x-webhooks: type: string enum: - added - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories_added: &733 + organization: *716 + repositories_added: &736 description: An array of repository objects, which were added to the installation. type: array @@ -123817,15 +124238,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *714 - repository_selection: &734 + repository: *717 + repository_selection: &737 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *731 + requester: *734 sender: *4 required: - action @@ -123904,10 +124325,10 @@ x-webhooks: type: string enum: - removed - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories_added: *733 + organization: *716 + repositories_added: *736 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123934,9 +124355,9 @@ x-webhooks: - name - full_name - private - repository: *714 - repository_selection: *734 - requester: *731 + repository: *717 + repository_selection: *737 + requester: *734 sender: *4 required: - action @@ -124015,11 +124436,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -124197,10 +124618,10 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 target_type: type: string @@ -124279,11 +124700,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -124535,8 +124956,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125330,8 +125751,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125347,7 +125768,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -125680,8 +126101,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -125761,7 +126182,7 @@ x-webhooks: type: string enum: - deleted - comment: &735 + comment: &738 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125926,8 +126347,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126717,8 +127138,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126734,7 +127155,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -127069,8 +127490,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127150,7 +127571,7 @@ x-webhooks: type: string enum: - edited - changes: &764 + changes: &767 description: The changes to the comment. type: object properties: @@ -127162,9 +127583,9 @@ x-webhooks: type: string required: - from - comment: *735 - enterprise: *711 - installation: *712 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127957,8 +128378,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127974,7 +128395,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -128307,8 +128728,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128398,9 +128819,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128494,9 +128915,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128589,9 +129010,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128685,9 +129106,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128772,10 +129193,10 @@ x-webhooks: type: string enum: - assigned - assignee: *731 - enterprise: *711 - installation: *712 - issue: &738 + assignee: *734 + enterprise: *714 + installation: *715 + issue: &741 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129564,11 +129985,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129584,7 +130005,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -129685,8 +130106,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129766,8 +130187,8 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130561,11 +130982,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130581,7 +131002,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -130817,8 +131238,8 @@ x-webhooks: required: - state - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -130897,8 +131318,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131683,11 +132104,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131703,7 +132124,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -131803,8 +132224,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -131883,8 +132304,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132691,11 +133112,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132711,7 +133132,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -132790,7 +133211,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &736 + milestone: &739 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132928,8 +133349,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -133028,8 +133449,8 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133818,11 +134239,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133835,7 +134256,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -133939,9 +134360,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *730 - organization: *713 - repository: *714 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -134021,8 +134442,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134810,11 +135231,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134827,7 +135248,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -134931,9 +135352,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *730 - organization: *713 - repository: *714 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -135013,8 +135434,8 @@ x-webhooks: type: string enum: - locked - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135826,11 +136247,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135843,7 +136264,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -135924,8 +136345,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -136004,8 +136425,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136811,11 +137232,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136831,7 +137252,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -136909,9 +137330,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *736 - organization: *713 - repository: *714 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137779,11 +138200,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137876,7 +138297,7 @@ x-webhooks: required: - login - id - type: *214 + type: *216 required: - id - number @@ -138345,8 +138766,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139135,11 +139556,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139155,7 +139576,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -139255,8 +139676,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -139336,9 +139757,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *711 - installation: *712 - issue: &737 + enterprise: *714 + installation: *715 + issue: &740 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140121,11 +140542,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140141,7 +140562,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -140241,8 +140662,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -140321,8 +140742,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141132,11 +141553,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141230,9 +141651,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *214 - organization: *713 - repository: *714 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142098,11 +142519,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142118,7 +142539,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -142686,11 +143107,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *711 - installation: *712 - issue: *737 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142770,12 +143191,12 @@ x-webhooks: type: string enum: - typed - enterprise: *711 - installation: *712 - issue: *738 - type: *214 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142856,7 +143277,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &767 + assignee: &770 title: User type: object nullable: true @@ -142926,11 +143347,11 @@ x-webhooks: required: - login - id - enterprise: *711 - installation: *712 - issue: *738 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143009,12 +143430,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *711 - installation: *712 - issue: *738 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143094,8 +143515,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143905,11 +144326,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143925,7 +144346,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -144003,8 +144424,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144084,11 +144505,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *711 - installation: *712 - issue: *737 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144167,12 +144588,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *711 - installation: *712 - issue: *738 - type: *214 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144252,11 +144673,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144334,11 +144755,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144448,11 +144869,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144534,9 +144955,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: &739 + enterprise: *714 + installation: *715 + marketplace_purchase: &742 title: Marketplace Purchase type: object required: @@ -144619,8 +145040,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *713 - previous_marketplace_purchase: &740 + organization: *716 + previous_marketplace_purchase: &743 title: Marketplace Purchase type: object properties: @@ -144700,7 +145121,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -144780,10 +145201,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144866,7 +145287,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -144948,10 +145369,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145033,7 +145454,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -145114,8 +145535,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 marketplace_purchase: title: Marketplace Purchase type: object @@ -145197,9 +145618,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *713 - previous_marketplace_purchase: *740 - repository: *714 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -145279,12 +145700,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 - previous_marketplace_purchase: *740 - repository: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -145386,11 +145807,11 @@ x-webhooks: type: string required: - to - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145490,11 +145911,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145573,11 +145994,11 @@ x-webhooks: type: string enum: - removed - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145655,11 +146076,11 @@ x-webhooks: type: string enum: - added - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145735,7 +146156,7 @@ x-webhooks: required: - login - id - team: &741 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145958,11 +146379,11 @@ x-webhooks: type: string enum: - removed - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146039,7 +146460,7 @@ x-webhooks: required: - login - id - team: *741 + team: *744 required: - action - scope @@ -146121,8 +146542,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *712 - merge_group: &743 + installation: *715 + merge_group: &746 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146141,15 +146562,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *742 + head_commit: *745 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146235,10 +146656,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *712 - merge_group: *743 - organization: *713 - repository: *714 + installation: *715 + merge_group: *746 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146311,7 +146732,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 + enterprise: *714 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146420,16 +146841,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *712 - organization: *713 + installation: *715 + organization: *716 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -146510,11 +146931,11 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146593,9 +147014,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - milestone: &746 + enterprise: *714 + installation: *715 + milestone: &749 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146732,8 +147153,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146812,11 +147233,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146926,11 +147347,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147010,11 +147431,11 @@ x-webhooks: type: string enum: - opened - enterprise: *711 - installation: *712 - milestone: *746 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *749 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147093,11 +147514,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *731 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147176,11 +147597,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *731 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147259,9 +147680,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - membership: &747 + enterprise: *714 + installation: *715 + membership: &750 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147368,8 +147789,8 @@ x-webhooks: - role - organization_url - user - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147447,11 +147868,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147530,8 +147951,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147647,10 +148068,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 - user: *731 + user: *734 required: - action - invitation @@ -147728,11 +148149,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147819,11 +148240,11 @@ x-webhooks: properties: from: type: string - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147899,9 +148320,9 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -148400,7 +148821,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &748 + items: &751 title: Ruby Gems metadata type: object properties: @@ -148495,7 +148916,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -148571,9 +148992,9 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -148926,7 +149347,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *748 + items: *751 source_url: type: string format: uri @@ -148996,7 +149417,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -149173,12 +149594,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *711 + enterprise: *714 id: type: integer - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - id @@ -149255,7 +149676,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &749 + personal_access_token_request: &752 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149401,10 +149822,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *711 - organization: *713 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149481,11 +149902,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *749 - enterprise: *711 - organization: *713 + personal_access_token_request: *752 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149561,11 +149982,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *749 - enterprise: *711 - organization: *713 + personal_access_token_request: *752 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149640,11 +150061,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *749 - organization: *713 - enterprise: *711 + personal_access_token_request: *752 + organization: *716 + enterprise: *714 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149749,7 +150170,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *750 + last_response: *753 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149781,8 +150202,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 zen: description: Random string of GitHub zen. @@ -150027,10 +150448,10 @@ x-webhooks: - from required: - note - enterprise: *711 - installation: *712 - organization: *713 - project_card: &751 + enterprise: *714 + installation: *715 + organization: *716 + project_card: &754 title: Project Card type: object properties: @@ -150149,7 +150570,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -150230,11 +150651,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project_card: *751 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *754 + repository: *717 sender: *4 required: - action @@ -150314,9 +150735,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 project_card: title: Project Card type: object @@ -150444,8 +150865,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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -150539,11 +150960,11 @@ x-webhooks: - from required: - note - enterprise: *711 - installation: *712 - organization: *713 - project_card: *751 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *754 + repository: *717 sender: *4 required: - action @@ -150637,9 +151058,9 @@ x-webhooks: - from required: - column_id - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 project_card: allOf: - title: Project Card @@ -150829,7 +151250,7 @@ x-webhooks: type: string required: - after_id - repository: *714 + repository: *717 sender: *4 required: - action @@ -150909,10 +151330,10 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - organization: *713 - project: &753 + enterprise: *714 + installation: *715 + organization: *716 + project: &756 title: Project type: object properties: @@ -151036,7 +151457,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -151116,10 +151537,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project_column: &752 + enterprise: *714 + installation: *715 + organization: *716 + project_column: &755 title: Project Column type: object properties: @@ -151158,7 +151579,7 @@ x-webhooks: - name - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -151237,18 +151658,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -151338,11 +151759,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 + repository: *717 sender: *4 required: - action @@ -151422,11 +151843,11 @@ x-webhooks: type: string enum: - moved - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 + repository: *717 sender: *4 required: - action @@ -151506,11 +151927,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151590,18 +152011,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - project: *753 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -151703,11 +152124,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151786,11 +152207,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151871,9 +152292,9 @@ x-webhooks: type: string enum: - closed - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -151954,9 +152375,9 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152037,9 +152458,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152156,9 +152577,9 @@ x-webhooks: type: string to: type: string - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152241,7 +152662,7 @@ x-webhooks: type: string enum: - archived - changes: &757 + changes: &760 type: object properties: archived_at: @@ -152255,9 +152676,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *712 - organization: *713 - projects_v2_item: &754 + installation: *715 + organization: *716 + projects_v2_item: &757 title: Projects v2 Item description: An item belonging to a project type: object @@ -152275,7 +152696,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *257 + content_type: *258 creator: *4 created_at: type: string @@ -152392,9 +152813,9 @@ x-webhooks: nullable: true to: type: string - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152476,9 +152897,9 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152559,9 +152980,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152667,7 +153088,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &755 + - &758 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152689,7 +153110,7 @@ x-webhooks: required: - id - name - - &756 + - &759 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152723,8 +153144,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *755 - - *756 + - *758 + - *759 required: - field_value - type: object @@ -152740,9 +153161,9 @@ x-webhooks: nullable: true required: - body - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152837,9 +153258,9 @@ x-webhooks: to: type: string nullable: true - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152922,10 +153343,10 @@ x-webhooks: type: string enum: - restored - changes: *757 - installation: *712 - organization: *713 - projects_v2_item: *754 + changes: *760 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -153007,9 +153428,9 @@ x-webhooks: type: string enum: - reopened - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -153090,14 +153511,14 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2_status_update: &760 + installation: *715 + organization: *716 + projects_v2_status_update: &763 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *758 - required: *759 + properties: *761 + required: *762 sender: *4 required: - action @@ -153178,9 +153599,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2_status_update: *760 + installation: *715 + organization: *716 + projects_v2_status_update: *763 sender: *4 required: - action @@ -153316,9 +153737,9 @@ x-webhooks: type: string format: date nullable: true - installation: *712 - organization: *713 - projects_v2_status_update: *760 + installation: *715 + organization: *716 + projects_v2_status_update: *763 sender: *4 required: - action @@ -153389,10 +153810,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - repository @@ -153469,13 +153890,13 @@ x-webhooks: type: string enum: - assigned - assignee: *731 - enterprise: *711 - installation: *712 - number: &761 + assignee: *734 + enterprise: *714 + installation: *715 + number: &764 description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -155758,7 +156179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -155840,11 +156261,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -158122,7 +158543,7 @@ x-webhooks: - draft reason: type: string - repository: *714 + repository: *717 sender: *4 required: - action @@ -158204,11 +158625,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -160486,7 +160907,7 @@ x-webhooks: - draft reason: type: string - repository: *714 + repository: *717 sender: *4 required: - action @@ -160568,13 +160989,13 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: &762 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: &765 allOf: - - *568 + - *569 - type: object properties: allow_auto_merge: @@ -160636,7 +161057,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *714 + repository: *717 sender: *4 required: - action @@ -160717,12 +161138,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -160802,11 +161223,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *711 - milestone: *550 - number: *761 - organization: *713 - pull_request: &763 + enterprise: *714 + milestone: *551 + number: *764 + organization: *716 + pull_request: &766 title: Pull Request type: object properties: @@ -163069,7 +163490,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -163148,11 +163569,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -165434,7 +165855,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *714 + repository: *717 sender: *4 required: - action @@ -165558,12 +165979,12 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -165643,11 +166064,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -167914,7 +168335,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -167994,11 +168415,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *711 - installation: *712 - label: *730 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + label: *733 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -170280,7 +170701,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -170361,10 +170782,10 @@ x-webhooks: type: string enum: - locked - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -172644,7 +173065,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -172724,12 +173145,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *711 - milestone: *550 - number: *761 - organization: *713 - pull_request: *763 - repository: *714 + enterprise: *714 + milestone: *551 + number: *764 + organization: *716 + pull_request: *766 + repository: *717 sender: *4 required: - action @@ -172808,12 +173229,12 @@ x-webhooks: type: string enum: - opened - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -172894,12 +173315,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -172979,12 +173400,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -173350,9 +173771,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -175522,7 +175943,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -175602,7 +176023,7 @@ x-webhooks: type: string enum: - deleted - comment: &765 + comment: &768 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175887,9 +176308,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -178047,7 +178468,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -178127,11 +178548,11 @@ x-webhooks: type: string enum: - edited - changes: *764 - comment: *765 - enterprise: *711 - installation: *712 - organization: *713 + changes: *767 + comment: *768 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -180292,7 +180713,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -180373,9 +180794,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -182548,7 +182969,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 review: description: The review that was affected. type: object @@ -182795,9 +183216,9 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -184851,8 +185272,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 - review: &766 + repository: *717 + review: &769 description: The review that was affected. type: object properties: @@ -185085,12 +185506,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -187373,7 +187794,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_reviewer: title: User type: object @@ -187457,12 +187878,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -189752,7 +190173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189944,12 +190365,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -192234,7 +192655,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_reviewer: title: User type: object @@ -192319,12 +192740,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -194600,7 +195021,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194781,9 +195202,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -196958,8 +197379,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 - review: *766 + repository: *717 + review: *769 sender: *4 required: - action @@ -197039,9 +197460,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -199111,7 +199532,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 sender: *4 thread: type: object @@ -199498,9 +199919,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -201556,7 +201977,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 sender: *4 thread: type: object @@ -201946,10 +202367,10 @@ x-webhooks: type: string before: type: string - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -204220,7 +204641,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -204302,11 +204723,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *767 - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + assignee: *770 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -206589,7 +207010,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -206668,11 +207089,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *711 - installation: *712 - label: *730 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + label: *733 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -208945,7 +209366,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -209026,10 +209447,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -211294,7 +211715,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -211494,7 +211915,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *711 + enterprise: *714 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211586,8 +212007,8 @@ x-webhooks: - url - author - committer - installation: *712 - organization: *713 + installation: *715 + organization: *716 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212162,9 +212583,9 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -212610,7 +213031,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *748 + items: *751 summary: type: string tag_name: @@ -212664,7 +213085,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -212742,9 +213163,9 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -213052,7 +213473,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *748 + items: *751 summary: type: string tag_name: @@ -213101,7 +213522,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -213178,10 +213599,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - release: &768 + enterprise: *714 + installation: *715 + organization: *716 + release: &771 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213499,7 +213920,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *714 + repository: *717 sender: *4 required: - action @@ -213576,11 +213997,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -213697,11 +214118,11 @@ x-webhooks: type: boolean required: - to - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -213779,9 +214200,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214103,7 +214524,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *714 + repository: *717 sender: *4 required: - action @@ -214179,10 +214600,10 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - release: &769 + enterprise: *714 + installation: *715 + organization: *716 + release: &772 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214501,7 +214922,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *714 + repository: *717 sender: *4 required: - action @@ -214577,11 +214998,11 @@ x-webhooks: type: string enum: - released - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -214657,11 +215078,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *711 - installation: *712 - organization: *713 - release: *769 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *772 + repository: *717 sender: *4 required: - action @@ -214737,11 +215158,11 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_advisory: *632 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *633 sender: *4 required: - action @@ -214817,11 +215238,11 @@ x-webhooks: type: string enum: - reported - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_advisory: *632 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *633 sender: *4 required: - action @@ -214897,10 +215318,10 @@ x-webhooks: type: string enum: - archived - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -214977,10 +215398,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215058,10 +215479,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215145,10 +215566,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215260,10 +215681,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215335,10 +215756,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 status: type: string @@ -215419,10 +215840,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215499,10 +215920,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215596,10 +216017,10 @@ x-webhooks: - name required: - repository - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215679,11 +216100,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 sender: *4 required: - action @@ -215761,11 +216182,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 sender: *4 required: - action @@ -215843,11 +216264,11 @@ x-webhooks: type: string enum: - edited - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 changes: type: object properties: @@ -215866,16 +216287,16 @@ x-webhooks: properties: added: type: array - items: *269 + items: *270 deleted: type: array - items: *269 + items: *270 updated: type: array items: type: object properties: - condition: *269 + condition: *270 changes: type: object properties: @@ -215908,16 +216329,16 @@ x-webhooks: properties: added: type: array - items: *589 + items: *590 deleted: type: array - items: *589 + items: *590 updated: type: array items: type: object properties: - rule: *589 + rule: *590 changes: type: object properties: @@ -216151,10 +216572,10 @@ x-webhooks: - from required: - owner - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216232,10 +216653,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216313,7 +216734,7 @@ x-webhooks: type: string enum: - create - alert: &770 + alert: &773 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216434,10 +216855,10 @@ x-webhooks: type: string enum: - open - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216643,10 +217064,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216724,11 +217145,11 @@ x-webhooks: type: string enum: - reopen - alert: *770 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216927,10 +217348,10 @@ x-webhooks: enum: - fixed - open - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217008,11 +217429,11 @@ x-webhooks: type: string enum: - created - alert: &771 + alert: &774 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217020,8 +217441,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri @@ -217126,10 +217547,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217210,11 +217631,11 @@ x-webhooks: type: string enum: - created - alert: *771 - installation: *712 - location: *772 - organization: *713 - repository: *714 + alert: *774 + installation: *715 + location: *775 + organization: *716 + repository: *717 sender: *4 required: - location @@ -217452,11 +217873,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217534,11 +217955,11 @@ x-webhooks: type: string enum: - reopened - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217616,11 +218037,11 @@ x-webhooks: type: string enum: - resolved - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217698,11 +218119,11 @@ x-webhooks: type: string enum: - validated - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217828,10 +218249,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *714 - enterprise: *711 - installation: *712 - organization: *713 + repository: *717 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -217909,11 +218330,11 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - security_advisory: &773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: &776 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218096,11 +218517,11 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - security_advisory: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: *776 sender: *4 required: - action @@ -218173,10 +218594,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218360,11 +218781,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *268 - enterprise: *711 - installation: *712 - organization: *713 - repository: *331 + security_and_analysis: *269 + enterprise: *714 + installation: *715 + organization: *716 + repository: *332 sender: *4 required: - changes @@ -218442,12 +218863,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: &774 + sponsorship: &777 type: object properties: created_at: @@ -218748,12 +219169,12 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - sponsorship @@ -218841,12 +219262,12 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -218923,17 +219344,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &775 + effective_date: &778 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: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - sponsorship @@ -219007,7 +219428,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &776 + changes: &779 type: object properties: tier: @@ -219051,13 +219472,13 @@ x-webhooks: - from required: - tier - effective_date: *775 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + effective_date: *778 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -219134,13 +219555,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *776 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + changes: *779 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -219214,10 +219635,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219300,10 +219721,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219723,15 +220144,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *711 + enterprise: *714 id: description: The unique identifier of the status. type: integer - installation: *712 + installation: *715 name: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 sha: description: The Commit SHA. @@ -219846,9 +220267,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -219938,9 +220359,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220030,9 +220451,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220122,9 +220543,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220201,12 +220622,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - team: &777 + team: &780 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220429,9 +220850,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -220889,7 +221310,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -220965,9 +221386,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -221425,7 +221846,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -221502,9 +221923,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -221962,7 +222383,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -222106,9 +222527,9 @@ x-webhooks: - from required: - permissions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -222566,7 +222987,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - changes @@ -222644,9 +223065,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -223104,7 +223525,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -223180,10 +223601,10 @@ x-webhooks: type: string enum: - started - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -223256,16 +223677,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *711 + enterprise: *714 inputs: type: object nullable: true additionalProperties: true - installation: *712 - organization: *713 + installation: *715 + organization: *716 ref: type: string - repository: *714 + repository: *717 sender: *4 workflow: type: string @@ -223347,10 +223768,10 @@ x-webhooks: type: string enum: - completed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -223587,7 +224008,7 @@ x-webhooks: type: string required: - conclusion - deployment: *482 + deployment: *483 required: - action - repository @@ -223666,10 +224087,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -223929,7 +224350,7 @@ x-webhooks: required: - status - steps - deployment: *482 + deployment: *483 required: - action - repository @@ -224008,10 +224429,10 @@ x-webhooks: type: string enum: - queued - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -224146,7 +224567,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *483 required: - action - repository @@ -224225,10 +224646,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -224364,7 +224785,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *483 required: - action - repository @@ -224444,12 +224865,12 @@ x-webhooks: type: string enum: - completed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -225448,12 +225869,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -226437,12 +226858,12 @@ x-webhooks: type: string enum: - requested - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 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 705004399..ca4a91a37 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -54061,6 +54061,363 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -71875,6 +72232,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -127139,12 +127504,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127356,6 +127731,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -127397,6 +127777,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -127457,11 +127838,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -127797,12 +128188,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127947,6 +128348,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -131065,35 +131471,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -583758,35 +584249,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -604833,6 +605409,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", 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 e0d136eed..82185a526 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &300 + type: &301 type: string description: The type of credit the user is receiving. enum: @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &110 + schema: &112 title: Validation Error Simple description: Validation Error Simple type: object @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &634 + - &635 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1579,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &192 + - &194 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 @@ -1595,7 +1595,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1675,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &194 + default: &196 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &109 + schema: &111 title: Validation Error description: Validation Error type: object @@ -1803,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &195 + schema: &197 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1917,7 +1917,7 @@ paths: - request - response examples: - default: &196 + default: &198 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &266 + properties: &267 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &267 + required: &268 - archive_url - assignees_url - blobs_url @@ -7414,7 +7414,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &166 + code_scanning_options: &168 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7608,7 +7608,7 @@ paths: description: Response content: application/json: - schema: &168 + schema: &170 type: array description: A list of default code security configurations items: @@ -7624,7 +7624,7 @@ paths: default configuration: *43 examples: - default: &169 + default: &171 value: - default_for_new_repos: public configuration: @@ -7955,7 +7955,7 @@ paths: - *42 - *45 responses: - '204': &170 + '204': &172 description: A header with no content is returned. '400': *14 '403': *29 @@ -8082,7 +8082,7 @@ paths: default: value: default_for_new_repos: all - configuration: &167 + configuration: &169 value: id: 1325 target_type: organization @@ -8167,7 +8167,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 type: object description: Repositories associated with a code security configuration and attachment status @@ -8468,7 +8468,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &172 + repository: &174 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8562,7 +8562,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &177 + - &179 name: state in: query description: |- @@ -8571,7 +8571,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &178 + - &180 name: severity in: query description: |- @@ -8580,7 +8580,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &179 + - &181 name: ecosystem in: query description: |- @@ -8589,14 +8589,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &180 + - &182 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 - - &181 + - &183 name: epss_percentage in: query description: |- @@ -8608,7 +8608,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 - - &473 + - &474 name: has in: query description: |- @@ -8622,7 +8622,7 @@ paths: type: string enum: - patch - - &182 + - &184 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8632,7 +8632,7 @@ paths: enum: - development - runtime - - &183 + - &185 name: sort in: query description: |- @@ -8658,11 +8658,11 @@ paths: application/json: schema: type: array - items: &184 + items: &186 type: object description: A Dependabot alert. properties: - number: &156 + number: &158 type: integer description: The security alert number. readOnly: true @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &474 + security_advisory: &475 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8927,29 +8927,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &159 + url: &161 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &160 + html_url: &162 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &157 + created_at: &159 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: &158 + updated_at: &160 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: &162 + dismissed_at: &164 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8979,14 +8979,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &161 + fixed_at: &163 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: &475 + auto_dismissed_at: &476 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9012,7 +9012,7 @@ paths: - repository additionalProperties: false examples: - default: &185 + default: &187 value: - number: 2 state: dismissed @@ -9796,7 +9796,7 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: &174 + properties: &176 login: type: string example: github @@ -9837,7 +9837,7 @@ paths: type: string example: A great organization nullable: true - required: &175 + required: &177 - login - url - id @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &523 + properties: &524 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &254 + properties: &255 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &255 + required: &256 - closed_issues - creator - description @@ -10543,7 +10543,7 @@ paths: timeline_url: type: string format: uri - type: &214 + type: &216 title: Issue Type description: The type of issue. type: object @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &646 + sub_issues_summary: &647 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &647 + issue_dependencies_summary: &648 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &648 + items: &649 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &524 + required: &525 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &521 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &660 + user: &661 title: Public User description: Public User type: object @@ -13214,7 +13214,7 @@ paths: - closed - all default: open - - &217 + - &219 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13265,7 +13265,7 @@ paths: type: array items: *82 examples: - default: &218 + default: &220 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &323 + - &324 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &324 + - &325 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &332 + '301': &333 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &553 + - &554 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &554 + - &555 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &555 + - &556 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: @@ -14791,11 +14791,11 @@ paths: properties: id: type: string - repository: &140 + repository: &142 title: Minimal Repository description: Minimal Repository type: object - properties: &187 + properties: &189 id: type: integer format: int64 @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &268 + security_and_analysis: &269 nullable: true type: object properties: @@ -15145,7 +15145,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &188 + required: &190 - archive_url - assignees_url - blobs_url @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &556 + default: &557 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &562 + default: &563 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &563 + default: &564 value: properties: - property_name: environment @@ -16196,7 +16196,7 @@ paths: required: false schema: type: integer - - &702 + - &107 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 @@ -16220,14 +16220,14 @@ paths: required: false schema: type: string - - &703 + - &705 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &704 + - &108 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16366,7 +16366,7 @@ paths: parameters: - *63 - *105 - - &707 + - &708 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 @@ -16457,6 +16457,152 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *63 + - *105 + - *107 + - *106 + - &709 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *108 + - &710 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16483,7 +16629,7 @@ paths: description: Response content: application/json: - schema: &107 + schema: &109 title: Organization Full description: Organization Full type: object @@ -16802,7 +16948,7 @@ paths: - updated_at - archived_at examples: - default-response: &108 + default-response: &110 value: login: github id: 1 @@ -17118,17 +17264,17 @@ paths: description: Response content: application/json: - schema: *107 + schema: *109 examples: - default: *108 + default: *110 '422': description: Validation failed content: application/json: schema: oneOf: - - *109 - - *110 + - *111 + - *112 '409': *47 x-github: githubCloudOnly: false @@ -17242,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &338 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17315,7 +17461,7 @@ paths: type: integer runners: type: array - items: &111 + items: &113 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17369,7 +17515,7 @@ paths: - display_name - source nullable: true - machine_size_details: &119 + machine_size_details: &121 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17465,7 +17611,7 @@ paths: - public_ip_enabled - platform examples: - default: &139 + default: &141 value: total_count: 2 runners: @@ -17602,9 +17748,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: &120 + default: &122 value: id: 5 name: My hosted ubuntu runner @@ -17661,7 +17807,7 @@ paths: type: integer images: type: array - items: &112 + items: &114 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -17712,7 +17858,7 @@ paths: - latest_version - state examples: - default: &114 + default: &116 value: total_count: 2 image_versions: @@ -17744,7 +17890,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *63 - - &113 + - &115 name: image_definition_id description: Image definition ID of custom image in: path @@ -17756,7 +17902,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *114 examples: default: value: @@ -17787,7 +17933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *63 - - *113 + - *115 responses: '204': description: Response @@ -17810,7 +17956,7 @@ 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: - - *113 + - *115 - *63 responses: '200': @@ -17827,7 +17973,7 @@ paths: type: integer image_versions: type: array - items: &115 + items: &117 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -17860,7 +18006,7 @@ paths: - created_on - state_details examples: - default: *114 + default: *116 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17881,8 +18027,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - *63 - - *113 - - &116 + - *115 + - &118 name: version description: Version of a custom image in: path @@ -17895,7 +18041,7 @@ paths: description: Response content: application/json: - schema: *115 + schema: *117 examples: default: value: @@ -17922,8 +18068,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *63 - - *113 - - *116 + - *115 + - *118 responses: '204': description: Response @@ -17960,7 +18106,7 @@ paths: type: integer images: type: array - items: &117 + items: &119 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17996,7 +18142,7 @@ paths: - display_name - source examples: - default: &118 + default: &120 value: id: ubuntu-20.04 platform: linux-x64 @@ -18036,9 +18182,9 @@ paths: type: integer images: type: array - items: *117 + items: *119 examples: - default: *118 + default: *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18124,7 +18270,7 @@ paths: type: integer machine_specs: type: array - items: *119 + items: *121 examples: default: value: @@ -18194,7 +18340,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *63 - - &121 + - &123 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18206,9 +18352,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 headers: Link: *54 x-github: @@ -18229,7 +18375,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 requestBody: required: true content: @@ -18272,9 +18418,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18291,15 +18437,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *63 - - *121 + - *123 responses: '202': description: Response content: application/json: - schema: *111 + schema: *113 examples: - default: *120 + default: *122 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18325,7 +18471,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &122 + schema: &124 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18339,7 +18485,7 @@ paths: required: - include_claim_keys examples: - default: &123 + default: &125 value: include_claim_keys: - repo @@ -18366,15 +18512,15 @@ paths: required: true content: application/json: - schema: *122 + schema: *124 examples: - default: *123 + default: *125 responses: '201': description: Empty response content: application/json: - schema: &149 + schema: &151 title: Empty Object description: An object without any properties. type: object @@ -18413,7 +18559,7 @@ paths: schema: type: object properties: - enabled_repositories: &124 + enabled_repositories: &126 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18426,7 +18572,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: &125 + allowed_actions: &127 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18434,12 +18580,12 @@ paths: - all - local_only - selected - selected_actions_url: &343 + selected_actions_url: &344 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: &126 + sha_pinning_required: &128 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18481,9 +18627,9 @@ paths: schema: type: object properties: - enabled_repositories: *124 - allowed_actions: *125 - sha_pinning_required: *126 + enabled_repositories: *126 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled_repositories examples: @@ -18517,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &348 type: object properties: days: @@ -18559,7 +18705,7 @@ paths: required: true content: application/json: - schema: &348 + schema: &349 type: object properties: days: @@ -18602,7 +18748,7 @@ paths: description: Response content: application/json: - schema: &127 + schema: &129 type: object properties: approval_policy: @@ -18616,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &349 + default: &350 value: approval_policy: first_time_contributors '404': *6 @@ -18647,7 +18793,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -18675,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object required: - run_workflows_from_fork_pull_requests @@ -18701,7 +18847,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &128 + default: &130 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18729,7 +18875,7 @@ paths: required: true content: application/json: - schema: &351 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -18752,7 +18898,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -18802,7 +18948,7 @@ paths: type: array items: *66 examples: - default: &132 + default: &134 value: total_count: 1 repositories: @@ -18987,7 +19133,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - &129 + - &131 name: repository_id description: The unique identifier of the repository. in: path @@ -19016,7 +19162,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -19045,7 +19191,7 @@ paths: description: Response content: application/json: - schema: &130 + schema: &132 type: object properties: github_owned_allowed: @@ -19067,7 +19213,7 @@ paths: items: type: string examples: - default: &131 + default: &133 value: github_owned_allowed: true verified_allowed: false @@ -19100,9 +19246,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19234,7 +19380,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 '403': *29 '404': *6 x-github: @@ -19303,7 +19449,7 @@ paths: 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: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19330,7 +19476,7 @@ paths: 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: - *63 - - *129 + - *131 responses: '204': description: No content @@ -19364,17 +19510,17 @@ paths: description: Response content: application/json: - schema: &352 + schema: &353 type: object properties: - default_workflow_permissions: &133 + default_workflow_permissions: &135 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &134 + can_approve_pull_request_reviews: &136 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19382,7 +19528,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &135 + default: &137 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19415,13 +19561,13 @@ paths: required: false content: application/json: - schema: &353 + schema: &354 type: object properties: - default_workflow_permissions: *133 - can_approve_pull_request_reviews: *134 + default_workflow_permissions: *135 + can_approve_pull_request_reviews: *136 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19466,7 +19612,7 @@ paths: type: number runner_groups: type: array - items: &136 + items: &138 type: object properties: id: @@ -19654,9 +19800,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: &138 + default: &140 value: id: 2 name: octo-runner-group @@ -19692,7 +19838,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - &137 + - &139 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19704,7 +19850,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -19741,7 +19887,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -19795,9 +19941,9 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: - default: *138 + default: *140 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19817,7 +19963,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *63 - - *137 + - *139 responses: '204': description: Response @@ -19841,7 +19987,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -19859,9 +20005,9 @@ paths: type: number runners: type: array - items: *111 + items: *113 examples: - default: *139 + default: *141 headers: Link: *54 x-github: @@ -19884,7 +20030,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 - *19 - *17 responses: @@ -19902,9 +20048,9 @@ paths: type: number repositories: type: array - items: *140 + items: *142 examples: - default: &663 + default: &664 value: total_count: 1 repositories: @@ -20157,7 +20303,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20202,8 +20348,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20226,8 +20372,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *63 - - *137 - - *129 + - *139 + - *131 responses: '204': description: Response @@ -20251,7 +20397,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 - *17 - *19 responses: @@ -20269,7 +20415,7 @@ paths: type: number runners: type: array - items: &142 + items: &144 title: Self hosted runners description: A self hosted runner type: object @@ -20298,7 +20444,7 @@ paths: type: boolean labels: type: array - items: &145 + items: &147 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20328,7 +20474,7 @@ paths: - busy - labels examples: - default: &143 + default: &145 value: total_count: 2 runners: @@ -20388,7 +20534,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *63 - - *137 + - *139 requestBody: required: true content: @@ -20433,8 +20579,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *63 - - *137 - - &141 + - *139 + - &143 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20463,8 +20609,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *63 - - *137 - - *141 + - *139 + - *143 responses: '204': description: Response @@ -20512,9 +20658,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -20546,7 +20692,7 @@ paths: application/json: schema: type: array - items: &354 + items: &355 title: Runner Application description: Runner Application type: object @@ -20571,7 +20717,7 @@ paths: - download_url - filename examples: - default: &355 + default: &356 value: - os: osx architecture: x64 @@ -20657,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &356 + '201': &357 description: Response content: application/json: @@ -20667,7 +20813,7 @@ paths: - runner - encoded_jit_config properties: - runner: *142 + runner: *144 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20730,7 +20876,7 @@ paths: description: Response content: application/json: - schema: &144 + schema: &146 title: Authentication Token description: Authentication Token type: object @@ -20768,7 +20914,7 @@ paths: - token - expires_at examples: - default: &357 + default: &358 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20805,9 +20951,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: &358 + default: &359 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20833,15 +20979,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: &359 + default: &360 value: id: 23 name: MBP @@ -20883,7 +21029,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *63 - - *141 + - *143 responses: '204': description: Response @@ -20910,9 +21056,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &146 + '200': &148 description: Response content: application/json: @@ -20926,7 +21072,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -20966,7 +21112,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -20990,7 +21136,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21015,7 +21161,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 requestBody: required: true content: @@ -21040,7 +21186,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21065,9 +21211,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 + - *143 responses: - '200': &360 + '200': &361 description: Response content: application/json: @@ -21081,7 +21227,7 @@ paths: type: integer labels: type: array - items: *145 + items: *147 examples: default: value: @@ -21123,8 +21269,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *63 - - *141 - - &361 + - *143 + - &362 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21132,7 +21278,7 @@ paths: schema: type: string responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -21175,7 +21321,7 @@ paths: type: integer secrets: type: array - items: &147 + items: &149 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21254,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &374 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21283,7 +21429,7 @@ paths: - key_id - key examples: - default: &374 + default: &375 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21309,7 +21455,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *63 - - &148 + - &150 name: secret_name description: The name of the secret. in: path @@ -21321,7 +21467,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: default: value: @@ -21352,7 +21498,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21409,7 +21555,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21436,7 +21582,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -21463,7 +21609,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -21481,9 +21627,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: &152 + default: &154 value: total_count: 1 repositories: @@ -21576,7 +21722,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -21629,7 +21775,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21663,7 +21809,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -21696,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &342 + - &343 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)." @@ -21720,7 +21866,7 @@ paths: type: integer variables: type: array - items: &150 + items: &152 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21853,7 +21999,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -21879,7 +22025,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *63 - - &151 + - &153 name: name description: The name of the variable. in: path @@ -21891,7 +22037,7 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: default: value: @@ -21922,7 +22068,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -21985,7 +22131,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *63 - - *151 + - *153 responses: '204': description: Response @@ -22012,7 +22158,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 - *19 - *17 responses: @@ -22030,9 +22176,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22059,7 +22205,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *63 - - *151 + - *153 requestBody: required: true content: @@ -22109,7 +22255,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22144,7 +22290,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *63 - - *151 + - *153 - name: repository_id in: path required: true @@ -22226,6 +22372,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -22416,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &691 + default: &692 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &692 + withPredicateType: &693 value: subject_digests: - sha256:abc123 @@ -22479,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &693 + default: &694 value: attestations_subject_digests: - sha256:abc: @@ -22828,7 +22987,7 @@ paths: initiator: type: string examples: - default: &387 + default: &388 value: attestations: - bundle: @@ -23047,7 +23206,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &153 + schema: &155 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23073,7 +23232,7 @@ paths: application/json: schema: type: array - items: &154 + items: &156 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23104,7 +23263,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &176 + items: &178 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23179,7 +23338,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &229 + properties: &231 id: description: Unique identifier of the team type: integer @@ -23251,7 +23410,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &230 + required: &232 - id - node_id - url @@ -23294,7 +23453,7 @@ paths: type: string format: date-time nullable: true - state: *153 + state: *155 contact_link: description: The contact link of the campaign. type: string @@ -23514,9 +23673,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: &155 + default: &157 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23599,9 +23758,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '404': *6 '422': description: Unprocessable Entity @@ -23678,7 +23837,7 @@ paths: type: string format: uri nullable: true - state: *153 + state: *155 examples: default: value: @@ -23688,9 +23847,9 @@ paths: description: Response content: application/json: - schema: *154 + schema: *156 examples: - default: *155 + default: *157 '400': description: Bad Request content: @@ -23757,17 +23916,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &413 + - &414 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: &163 + schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &414 + - &415 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 @@ -23775,7 +23934,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &164 + schema: &166 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23790,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &416 + schema: &417 type: string description: State of a code scanning alert. enum: @@ -23813,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &418 type: string description: Severity of a code scanning alert. enum: @@ -23834,18 +23993,18 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: &418 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: &419 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &165 + state: &167 type: string description: State of a code scanning alert. nullable: true @@ -23853,7 +24012,7 @@ paths: - open - dismissed - fixed - fixed_at: *161 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -23861,8 +24020,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: &419 + dismissed_at: *164 + dismissed_reason: &420 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23871,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &420 + dismissed_comment: &421 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &421 + rule: &422 type: object properties: id: @@ -23930,25 +24089,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &422 + tool: &423 type: object properties: - name: *163 + name: *165 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *164 - most_recent_instance: &423 + guid: *166 + most_recent_instance: &424 type: object properties: - ref: &415 + ref: &416 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &433 + analysis_key: &434 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23959,13 +24118,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &434 + category: &435 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: *165 + state: *167 commit_sha: type: string message: @@ -24472,7 +24631,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *166 + code_scanning_options: *168 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24615,7 +24774,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24643,9 +24802,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: - default: *169 + default: *171 '304': *37 '403': *29 '404': *6 @@ -24697,7 +24856,7 @@ paths: - 32 - 91 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -24732,7 +24891,7 @@ paths: application/json: schema: *43 examples: - default: *167 + default: *169 '304': *37 '403': *29 '404': *6 @@ -25016,7 +25175,7 @@ paths: - *63 - *45 responses: - '204': *170 + '204': *172 '400': *14 '403': *29 '404': *6 @@ -25154,7 +25313,7 @@ paths: default: value: default_for_new_repos: all - configuration: *167 + configuration: *169 '403': *29 '404': *6 x-github: @@ -25207,13 +25366,13 @@ paths: application/json: schema: type: array - items: *171 + items: *173 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *172 + repository: *174 '403': *29 '404': *6 x-github: @@ -25253,7 +25412,7 @@ paths: type: integer codespaces: type: array - items: &219 + items: &221 type: object title: Codespace description: A codespace. @@ -25278,12 +25437,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *140 + repository: *142 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -25325,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -25530,7 +25689,7 @@ paths: - pulls_url - recent_folders examples: - default: &220 + default: &222 value: total_count: 3 codespaces: @@ -26154,7 +26313,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &175 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26193,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -26231,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26260,7 +26419,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26284,15 +26443,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26320,7 +26479,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26375,7 +26534,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -26402,7 +26561,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -26428,7 +26587,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -26446,9 +26605,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -26471,7 +26630,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -26522,7 +26681,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26556,7 +26715,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -26759,7 +26918,7 @@ paths: currently being billed. seats: type: array - items: &222 + items: &224 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26776,14 +26935,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *174 - required: *175 + properties: *176 + required: *177 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *176 + - *178 - *55 nullable: true pending_cancellation_date: @@ -27290,7 +27449,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27597,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &306 + default: &307 value: - date: '2024-06-24' total_active_users: 24 @@ -27699,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &307 + '422': &308 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27727,11 +27886,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *63 - - *177 - - *178 - *179 - *180 - *181 + - *182 + - *183 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27769,8 +27928,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *182 - - *183 + - *184 + - *185 - *48 - *40 - *41 @@ -27782,9 +27941,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '304': *37 '400': *14 '403': *29 @@ -27828,7 +27987,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &188 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27905,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &479 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27922,7 +28081,7 @@ paths: - key_id - key examples: - default: &479 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27946,13 +28105,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *186 + schema: *188 examples: default: value: @@ -27981,7 +28140,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28040,7 +28199,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -28065,7 +28224,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -28090,7 +28249,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 - *19 - *17 responses: @@ -28108,9 +28267,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28132,7 +28291,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -28183,7 +28342,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28215,7 +28374,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *63 - - *148 + - *150 - name: repository_id in: path required: true @@ -28253,7 +28412,7 @@ paths: application/json: schema: type: array - items: &232 + items: &234 title: Package description: A software package type: object @@ -28303,8 +28462,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *187 - required: *188 + properties: *189 + required: *190 nullable: true created_at: type: string @@ -28323,7 +28482,7 @@ paths: - created_at - updated_at examples: - default: &233 + default: &235 value: - id: 197 name: hello_docker @@ -28493,7 +28652,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Organization Invitation description: Organization Invitation type: object @@ -28540,7 +28699,7 @@ paths: - invitation_teams_url - node_id examples: - default: &212 + default: &214 value: - id: 1 login: monalisa @@ -28607,7 +28766,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Org Hook description: Org Hook type: object @@ -28778,9 +28937,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28828,7 +28987,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *63 - - &191 + - &193 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. @@ -28841,9 +29000,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -28871,7 +29030,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -28916,7 +29075,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -28958,7 +29117,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -28986,7 +29145,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 responses: '200': description: Response @@ -29017,7 +29176,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *63 - - *191 + - *193 requestBody: required: false content: @@ -29068,9 +29227,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -29078,9 +29237,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -29106,16 +29265,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -29141,7 +29300,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *63 - - *191 + - *193 - *16 responses: '202': *39 @@ -29171,7 +29330,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *63 - - *191 + - *193 responses: '204': description: Response @@ -29194,7 +29353,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *63 - - &201 + - &203 name: actor_type in: path description: The type of the actor @@ -29207,14 +29366,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &202 + - &204 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &197 + - &199 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`.' @@ -29222,7 +29381,7 @@ paths: required: true schema: type: string - - &198 + - &200 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) @@ -29316,12 +29475,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 - *19 - *17 - *48 - - &207 + - &209 name: sort description: The property to sort the results by. in: query @@ -29400,14 +29559,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *63 - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: &199 + schema: &201 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29423,7 +29582,7 @@ paths: type: integer format: int64 examples: - default: &200 + default: &202 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29444,23 +29603,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *63 - - &203 + - &205 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *197 - - *198 + - *199 + - *200 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29479,18 +29638,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *63 - - *197 - - *198 - - *201 - - *202 + - *199 + - *200 + - *203 + - *204 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *200 + default: *202 x-github: enabledForGitHubApps: true category: orgs @@ -29508,9 +29667,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *63 - - *197 - - *198 - - &204 + - *199 + - *200 + - &206 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29523,7 +29682,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29539,7 +29698,7 @@ paths: type: integer format: int64 examples: - default: &206 + default: &208 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29576,18 +29735,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *63 - - *203 - - *197 - - *198 - - *204 + - *205 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29605,19 +29764,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *63 - - *201 - - *202 - - *197 - - *198 + - *203 - *204 + - *199 + - *200 + - *206 responses: '200': description: Response content: application/json: - schema: *205 + schema: *207 examples: - default: *206 + default: *208 x-github: enabledForGitHubApps: true category: orgs @@ -29635,13 +29794,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *63 - - *203 - - *197 - - *198 + - *205 + - *199 + - *200 - *19 - *17 - *48 - - *207 + - *209 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29722,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &517 + default: &518 value: id: 1 account: @@ -29888,12 +30047,12 @@ paths: application/json: schema: anyOf: - - &209 + - &211 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &208 + limit: &210 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29918,7 +30077,7 @@ paths: properties: {} additionalProperties: false examples: - default: &210 + default: &212 value: limit: collaborators_only origin: organization @@ -29947,13 +30106,13 @@ paths: required: true content: application/json: - schema: &518 + schema: &519 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *208 + limit: *210 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29977,9 +30136,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *210 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -30055,9 +30214,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 '404': *6 @@ -30134,7 +30293,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -30189,7 +30348,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *63 - - &213 + - &215 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30220,7 +30379,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *63 - - *213 + - *215 - *17 - *19 responses: @@ -30230,9 +30389,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &231 + default: &233 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30275,7 +30434,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -30360,9 +30519,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: &215 + default: &217 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30395,7 +30554,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *63 - - &216 + - &218 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30448,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '404': *6 '422': *7 x-github: @@ -30475,7 +30634,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *63 - - *216 + - *218 responses: '204': description: Response @@ -30538,7 +30697,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: type description: Can be the name of an issue type. in: query @@ -30569,7 +30728,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -30728,9 +30887,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -30757,7 +30916,7 @@ paths: parameters: - *63 - *59 - - &221 + - &223 name: codespace_name in: path required: true @@ -30792,15 +30951,15 @@ paths: parameters: - *63 - *59 - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30980,7 +31139,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *222 + schema: *224 examples: default: value: @@ -31056,7 +31215,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &225 title: Org Membership description: Org Membership type: object @@ -31123,7 +31282,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &224 + response-if-user-has-an-active-admin-membership-with-organization: &226 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31220,9 +31379,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: - response-if-user-already-had-membership-with-organization: *224 + response-if-user-already-had-membership-with-organization: *226 '422': *15 '403': *29 x-github: @@ -31293,7 +31452,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Migration description: A migration. type: object @@ -31622,7 +31781,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31801,7 +31960,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *63 - - &226 + - &228 name: migration_id description: The unique identifier of the migration. in: path @@ -31828,7 +31987,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -31998,7 +32157,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '302': description: Response @@ -32020,7 +32179,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *63 - - *226 + - *228 responses: '204': description: Response @@ -32044,8 +32203,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *63 - - *226 - - &676 + - *228 + - &677 name: repo_name description: repo_name parameter in: path @@ -32073,7 +32232,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *63 - - *226 + - *228 - *17 - *19 responses: @@ -32083,9 +32242,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: &238 + default: &240 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32238,7 +32397,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &228 + items: &230 title: Organization Role description: Organization roles type: object @@ -32413,7 +32572,7 @@ paths: parameters: - *63 - *64 - - &227 + - &229 name: role_id description: The unique identifier of the role. in: path @@ -32450,7 +32609,7 @@ paths: parameters: - *63 - *64 - - *227 + - *229 responses: '204': description: Response @@ -32503,7 +32662,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32535,7 +32694,7 @@ paths: parameters: - *63 - *59 - - *227 + - *229 responses: '204': description: Response @@ -32564,13 +32723,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *63 - - *227 + - *229 responses: '200': description: Response content: application/json: - schema: *228 + schema: *230 examples: default: value: @@ -32621,7 +32780,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32699,8 +32858,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true type: description: The ownership type of the team @@ -32732,7 +32891,7 @@ paths: - type - parent examples: - default: *231 + default: *233 headers: Link: *54 '404': @@ -32762,7 +32921,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *63 - - *227 + - *229 - *17 - *19 responses: @@ -32790,13 +32949,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &301 + items: &302 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 name: nullable: true type: string @@ -33084,7 +33243,7 @@ paths: - nuget - container - *63 - - &677 + - &678 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33120,12 +33279,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *233 + default: *235 '403': *29 '401': *25 - '400': &679 + '400': &680 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33147,7 +33306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &234 + - &236 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 @@ -33165,7 +33324,7 @@ paths: - docker - nuget - container - - &235 + - &237 name: package_name description: The name of the package. in: path @@ -33178,7 +33337,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *234 examples: default: value: @@ -33230,8 +33389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 responses: '204': @@ -33264,8 +33423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - name: token description: package token @@ -33298,8 +33457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - *19 - *17 @@ -33320,7 +33479,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Package Version description: A version of a software package type: object @@ -33445,10 +33604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *234 - - *235 + - *236 + - *237 - *63 - - &237 + - &239 name: package_version_id description: Unique identifier of the package version. in: path @@ -33460,7 +33619,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -33496,10 +33655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33531,10 +33690,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *234 - - *235 - - *63 + - *236 - *237 + - *63 + - *239 responses: '204': description: Response @@ -33564,7 +33723,7 @@ paths: - *63 - *17 - *19 - - &239 + - &241 name: sort description: The property by which to sort the results. in: query @@ -33575,7 +33734,7 @@ paths: - created_at default: created_at - *48 - - &240 + - &242 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33586,7 +33745,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &241 + - &243 name: repository description: The name of the repository to use to filter the results. in: query @@ -33594,7 +33753,7 @@ paths: schema: type: string example: Hello-World - - &242 + - &244 name: permission description: The permission to use to filter the results. in: query @@ -33602,7 +33761,7 @@ paths: schema: type: string example: issues_read - - &243 + - &245 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) @@ -33612,7 +33771,7 @@ paths: schema: type: string format: date-time - - &244 + - &246 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) @@ -33622,7 +33781,7 @@ paths: schema: type: string format: date-time - - &245 + - &247 name: token_id description: The ID of the token in: query @@ -33892,7 +34051,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33933,9 +34092,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -33961,14 +34120,14 @@ paths: - *63 - *17 - *19 - - *239 - - *48 - - *240 - *241 + - *48 - *242 - *243 - *244 - *245 + - *246 + - *247 responses: '500': *103 '422': *15 @@ -34207,7 +34366,7 @@ paths: responses: '500': *103 '404': *6 - '204': *170 + '204': *172 '403': *29 '422': *15 x-github: @@ -34248,9 +34407,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -34292,7 +34451,7 @@ paths: type: integer configurations: type: array - items: &246 + items: &248 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34320,12 +34479,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -34417,6 +34590,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -34462,6 +34644,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -34511,11 +34694,24 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry + (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, + Dependabot will only use this registry and will not fall back + to the public registry. When `false` (default), Dependabot will + use this registry for scoped packages but may fall back to the + public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories @@ -34545,7 +34741,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &247 + org-private-registry-with-selected-visibility: &249 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34635,15 +34831,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: false @@ -34665,7 +34861,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 requestBody: required: true content: @@ -34702,6 +34898,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -34761,7 +34966,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *63 - - *148 + - *150 responses: '204': description: Response @@ -34807,7 +35012,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Project description: Projects are a way to organize columns and cards of work. @@ -34980,7 +35185,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -35018,7 +35223,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &329 + '410': &330 description: Gone content: application/json: @@ -35061,7 +35266,7 @@ paths: application/json: schema: type: array - items: &249 + items: &251 title: Projects v2 Project description: A projects v2 project type: object @@ -35131,7 +35336,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &758 + properties: &761 id: type: number description: The unique identifier of the status update. @@ -35179,7 +35384,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &759 + required: &762 - id - node_id - created_at @@ -35204,7 +35409,7 @@ paths: - deleted_at - deleted_by examples: - default: &250 + default: &252 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35307,7 +35512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &251 + - &253 name: project_number description: The project's number. in: path @@ -35320,9 +35525,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -35344,7 +35549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *251 + - *253 - *63 - *17 - *40 @@ -35356,7 +35561,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35503,9 +35708,9 @@ paths: - updated_at - project_url examples: - default: &253 + default: &697 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -35525,6 +35730,66 @@ paths: description: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' headers: Link: *54 '304': *37 @@ -35546,8 +35811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *251 - - &696 + - *253 + - &698 name: field_id description: The unique identifier of the field. in: path @@ -35560,9 +35825,30 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: &699 + value: + id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' headers: Link: *54 '304': *37 @@ -35585,7 +35871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - 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) @@ -35618,7 +35904,7 @@ paths: application/json: schema: type: array - items: &259 + items: &260 title: Projects v2 Item description: An item belonging to a project type: object @@ -35634,7 +35920,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: &257 + content_type: &258 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35684,7 +35970,7 @@ paths: - updated_at - archived_at examples: - default: &260 + default: &261 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36379,7 +36665,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -36416,7 +36702,7 @@ paths: description: Response content: application/json: - schema: &697 + schema: &700 title: Projects v2 Item description: An item belonging to a project type: object @@ -36430,7 +36716,7 @@ paths: content: oneOf: - *82 - - &460 + - &461 title: Pull Request Simple description: Pull Request Simple type: object @@ -36536,8 +36822,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -36582,7 +36868,7 @@ paths: nullable: true requested_teams: type: array - items: *176 + items: *178 nullable: true head: type: object @@ -36633,7 +36919,7 @@ paths: _links: type: object properties: - comments: &256 + comments: &257 title: Link description: Hypermedia Link type: object @@ -36642,13 +36928,13 @@ paths: type: string required: - href - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -36659,7 +36945,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &565 + auto_merge: &566 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36761,7 +37047,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *257 + content_type: *258 creator: *4 created_at: type: string @@ -36794,7 +37080,7 @@ paths: - updated_at - archived_at examples: - issue: &258 + issue: &259 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36849,7 +37135,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *258 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -36869,9 +37155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *251 + - *253 - *63 - - &261 + - &262 name: item_id description: The unique identifier of the project item. in: path @@ -36897,9 +37183,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -36920,9 +37206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36992,13 +37278,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -37018,9 +37304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *251 + - *253 - *63 - - *261 + - *262 responses: '204': description: Response @@ -37052,7 +37338,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37118,7 +37404,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37177,7 +37463,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *263 minItems: 1 maxItems: 100 required: @@ -37207,9 +37493,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *29 '404': *6 x-github: @@ -37231,7 +37517,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &264 + - &265 name: custom_property_name description: The custom property name in: path @@ -37243,9 +37529,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &265 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37280,7 +37566,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *265 requestBody: required: true content: @@ -37349,9 +37635,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *265 + default: *266 '403': *29 '404': *6 x-github: @@ -37375,9 +37661,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *264 + - *265 responses: - '204': *170 + '204': *172 '403': *29 '404': *6 x-github: @@ -37695,9 +37981,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -37899,7 +38185,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 title: Full Repository description: Full Repository type: object @@ -38176,8 +38462,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *266 - required: *267 + properties: *267 + required: *268 nullable: true temp_clone_token: type: string @@ -38292,7 +38578,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &465 + properties: &466 url: type: string format: uri @@ -38308,12 +38594,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &466 + required: &467 - url - key - name - html_url - security_and_analysis: *268 + security_and_analysis: *269 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38397,7 +38683,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &334 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38918,7 +39204,7 @@ paths: - *63 - *17 - *19 - - &588 + - &589 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38936,7 +39222,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38971,7 +39257,7 @@ paths: source: type: string description: The name of the source - enforcement: &271 + enforcement: &272 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38984,7 +39270,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &272 + items: &273 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39054,7 +39340,7 @@ paths: conditions: nullable: true anyOf: - - &269 + - &270 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39078,7 +39364,7 @@ paths: match. items: type: string - - &273 + - &274 title: Organization ruleset conditions type: object description: |- @@ -39092,7 +39378,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39126,7 +39412,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39148,7 +39434,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *269 + - *270 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39161,7 +39447,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &270 + items: &271 title: Repository ruleset property targeting definition type: object @@ -39194,17 +39480,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *270 + items: *271 required: - repository_property rules: type: array - items: &589 + items: &590 title: Repository Rule type: object description: A repository rule. oneOf: - - &274 + - &275 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39216,7 +39502,7 @@ paths: type: string enum: - creation - - &275 + - &276 title: update description: Only allow users with bypass permission to update matching refs. @@ -39237,7 +39523,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &276 + - &277 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39249,7 +39535,7 @@ paths: type: string enum: - deletion - - &277 + - &278 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39261,7 +39547,7 @@ paths: type: string enum: - required_linear_history - - &586 + - &587 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39339,7 +39625,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &278 + - &279 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39363,7 +39649,7 @@ paths: type: string required: - required_deployment_environments - - &279 + - &280 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39375,7 +39661,7 @@ paths: type: string enum: - required_signatures - - &280 + - &281 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39437,7 +39723,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &281 + - &282 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39485,7 +39771,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &282 + - &283 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39497,7 +39783,7 @@ paths: type: string enum: - non_fast_forward - - &283 + - &284 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39533,7 +39819,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39569,7 +39855,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39605,7 +39891,7 @@ paths: required: - operator - pattern - - &286 + - &287 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39641,7 +39927,7 @@ paths: required: - operator - pattern - - &287 + - &288 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39677,7 +39963,7 @@ paths: required: - operator - pattern - - &288 + - &289 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39702,7 +39988,7 @@ paths: type: string required: - restricted_file_paths - - &289 + - &290 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39726,7 +40012,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &290 + - &291 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39749,7 +40035,7 @@ paths: type: string required: - restricted_file_extensions - - &291 + - &292 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39774,7 +40060,7 @@ paths: maximum: 100 required: - max_file_size - - &292 + - &293 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39824,7 +40110,7 @@ paths: - repository_id required: - workflows - - &293 + - &294 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39885,7 +40171,7 @@ paths: - tool required: - code_scanning_tools - - &587 + - &588 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39983,21 +40269,20 @@ paths: - push - repository default: branch - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *273 + conditions: *274 rules: type: array description: An array of rules within the ruleset. - items: &296 + items: &297 title: Repository Rule type: object description: A repository rule. oneOf: - - *274 - *275 - *276 - *277 @@ -40017,6 +40302,7 @@ paths: - *291 - *292 - *293 + - *294 required: - name - enforcement @@ -40054,9 +40340,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: id: 21 name: super cool ruleset @@ -40111,7 +40397,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &590 + - &591 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 @@ -40126,7 +40412,7 @@ paths: in: query schema: type: string - - &591 + - &592 name: time_period description: |- The time period to filter by. @@ -40142,14 +40428,14 @@ paths: - week - month default: day - - &592 + - &593 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 - - &593 + - &594 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40169,7 +40455,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &595 title: Rule Suites description: Response type: array @@ -40224,7 +40510,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &595 + default: &596 value: - id: 21 actor_id: 12 @@ -40268,7 +40554,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &596 + - &597 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40284,7 +40570,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &598 title: Rule Suite description: Response type: object @@ -40383,7 +40669,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &598 + default: &599 value: id: 21 actor_id: 12 @@ -40456,9 +40742,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *103 put: @@ -40502,16 +40788,16 @@ paths: - tag - push - repository - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *273 + items: *273 + conditions: *274 rules: description: An array of rules within the ruleset. type: array - items: *296 + items: *297 examples: default: value: @@ -40546,9 +40832,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 '404': *6 '500': *103 delete: @@ -40605,7 +40891,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Ruleset version type: object description: The historical version of a ruleset @@ -40629,7 +40915,7 @@ paths: type: string format: date-time examples: - default: &600 + default: &601 value: - version_id: 3 actor: @@ -40682,9 +40968,9 @@ paths: description: Response content: application/json: - schema: &601 + schema: &602 allOf: - - *297 + - *298 - type: object required: - state @@ -40754,7 +41040,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &602 + - &603 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -40765,7 +41051,7 @@ paths: enum: - open - resolved - - &603 + - &604 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -40775,7 +41061,7 @@ paths: required: false schema: type: string - - &604 + - &605 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -40784,7 +41070,7 @@ paths: required: false schema: type: string - - &605 + - &606 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. @@ -40799,7 +41085,7 @@ paths: - *48 - *19 - *17 - - &606 + - &607 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 @@ -40809,7 +41095,7 @@ paths: required: false schema: type: string - - &607 + - &608 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 @@ -40819,7 +41105,7 @@ paths: required: false schema: type: string - - &608 + - &609 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -40828,7 +41114,7 @@ paths: required: false schema: type: string - - &609 + - &610 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -40837,7 +41123,7 @@ paths: schema: type: boolean default: false - - &610 + - &611 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -40846,7 +41132,7 @@ paths: schema: type: boolean default: false - - &611 + - &612 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -40865,8 +41151,8 @@ paths: items: type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -40874,21 +41160,21 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &612 + state: &613 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: &613 + resolution: &614 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -40995,8 +41281,8 @@ paths: pull request. ' - oneOf: &614 - - &616 + oneOf: &615 + - &617 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41048,7 +41334,7 @@ paths: - blob_url - commit_sha - commit_url - - &617 + - &618 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. @@ -41103,7 +41389,7 @@ paths: - page_url - commit_sha - commit_url - - &618 + - &619 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41117,7 +41403,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &619 + - &620 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41131,7 +41417,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &620 + - &621 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41145,7 +41431,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &621 + - &622 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41159,7 +41445,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &622 + - &623 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41173,7 +41459,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &623 + - &624 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41187,7 +41473,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &624 + - &625 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. @@ -41201,7 +41487,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &625 + - &626 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. @@ -41215,7 +41501,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &626 + - &627 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. @@ -41229,7 +41515,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &627 + - &628 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. @@ -41243,7 +41529,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &628 + - &629 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. @@ -41485,7 +41771,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &299 + pattern_config_version: &300 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41494,7 +41780,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &298 + items: &299 type: object properties: token_type: @@ -41560,7 +41846,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *298 + items: *299 examples: default: value: @@ -41617,7 +41903,7 @@ paths: schema: type: object properties: - pattern_config_version: *299 + pattern_config_version: *300 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41643,7 +41929,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *299 + custom_pattern_version: *300 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -41741,7 +42027,7 @@ paths: application/json: schema: type: array - items: &632 + items: &633 description: A repository security advisory. type: object properties: @@ -41961,7 +42247,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 credits_detailed: type: array nullable: true @@ -41971,7 +42257,7 @@ paths: type: object properties: user: *4 - type: *300 + type: *301 state: type: string description: The state of the user's acceptance of the @@ -41995,7 +42281,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *176 + items: *178 private_fork: readOnly: true nullable: true @@ -42032,7 +42318,7 @@ paths: - private_fork additionalProperties: false examples: - default: &633 + default: &634 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42419,9 +42705,9 @@ paths: application/json: schema: type: array - items: *301 + items: *302 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42506,7 +42792,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &701 type: object properties: total_minutes_used: @@ -42576,7 +42862,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &699 + default: &702 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42612,7 +42898,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &703 type: object properties: total_gigabytes_bandwidth_used: @@ -42630,7 +42916,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &701 + default: &704 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42662,7 +42948,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &706 type: object properties: days_left_in_billing_cycle: @@ -42680,7 +42966,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &706 + default: &707 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -42828,9 +43114,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *152 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42899,7 +43185,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42922,7 +43208,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *63 - - *129 + - *131 responses: '204': description: Response @@ -42963,7 +43249,7 @@ paths: type: integer network_configurations: type: array - items: &302 + items: &303 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43083,9 +43369,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: &303 + default: &304 value: id: 123456789ABCDEF name: My network configuration @@ -43114,7 +43400,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &304 + - &305 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43126,9 +43412,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 headers: Link: *54 x-github: @@ -43150,7 +43436,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *304 + - *305 requestBody: required: true content: @@ -43189,9 +43475,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43211,7 +43497,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *304 + - *305 responses: '204': description: Response @@ -43351,13 +43637,13 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *306 + default: *307 '500': *103 '403': *29 '404': *6 - '422': *307 + '422': *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43385,9 +43671,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '403': *29 @@ -43481,7 +43767,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &309 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43544,8 +43830,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *229 - required: *230 + properties: *231 + required: *232 nullable: true members_count: type: integer @@ -43808,7 +44094,7 @@ paths: - repos_count - organization examples: - default: &309 + default: &310 value: id: 1 node_id: MDQ6VGVhbTE= @@ -43885,9 +44171,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -43971,16 +44257,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '201': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 '422': *15 '403': *29 @@ -44050,7 +44336,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44149,7 +44435,7 @@ paths: - updated_at - url examples: - default: &650 + default: &651 value: - author: login: octocat @@ -44258,9 +44544,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: author: login: octocat @@ -44334,7 +44620,7 @@ paths: parameters: - *63 - *64 - - &312 + - &313 name: discussion_number description: The number that identifies the discussion. in: path @@ -44346,9 +44632,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44372,7 +44658,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: false content: @@ -44395,9 +44681,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &651 + default: &652 value: author: login: octocat @@ -44469,7 +44755,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 responses: '204': description: Response @@ -44497,7 +44783,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 - *48 - *17 - *19 @@ -44508,7 +44794,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44580,7 +44866,7 @@ paths: - updated_at - url examples: - default: &652 + default: &653 value: - author: login: octocat @@ -44650,7 +44936,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: true content: @@ -44672,9 +44958,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: author: login: octocat @@ -44742,8 +45028,8 @@ paths: parameters: - *63 - *64 - - *312 - - &315 + - *313 + - &316 name: comment_number description: The number that identifies the comment. in: path @@ -44755,9 +45041,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44781,8 +45067,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 requestBody: required: true content: @@ -44804,9 +45090,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &653 + default: &654 value: author: login: octocat @@ -44872,8 +45158,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 responses: '204': description: Response @@ -44901,8 +45187,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 - 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 team discussion comment. @@ -44928,7 +45214,7 @@ paths: application/json: schema: type: array - items: &316 + items: &317 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -44971,7 +45257,7 @@ paths: - content - created_at examples: - default: &318 + default: &319 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45023,8 +45309,8 @@ paths: parameters: - *63 - *64 - - *312 - - *315 + - *313 + - *316 requestBody: required: true content: @@ -45057,9 +45343,9 @@ paths: team discussion comment content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45088,9 +45374,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45115,9 +45401,9 @@ paths: parameters: - *63 - *64 - - *312 - - *315 - - &319 + - *313 + - *316 + - &320 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45151,7 +45437,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 - 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 team discussion. @@ -45177,9 +45463,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -45207,7 +45493,7 @@ paths: parameters: - *63 - *64 - - *312 + - *313 requestBody: required: true content: @@ -45239,16 +45525,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45273,8 +45559,8 @@ paths: parameters: - *63 - *64 - - *312 - - *319 + - *313 + - *320 responses: '204': description: Response @@ -45309,9 +45595,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -45395,7 +45681,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &321 title: Team Membership description: Team Membership type: object @@ -45422,7 +45708,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &654 + response-if-user-is-a-team-maintainer: &655 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45485,9 +45771,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &655 + response-if-users-membership-with-team-is-now-pending: &656 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45560,7 +45846,7 @@ paths: application/json: schema: type: array - items: &321 + items: &322 title: Team Project description: A team's access to a project. type: object @@ -45628,7 +45914,7 @@ paths: - updated_at - permissions examples: - default: &656 + default: &657 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45693,7 +45979,7 @@ paths: parameters: - *63 - *64 - - &322 + - &323 name: project_id description: The unique identifier of the project. in: path @@ -45705,9 +45991,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &657 + default: &658 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45771,7 +46057,7 @@ paths: parameters: - *63 - *64 - - *322 + - *323 requestBody: required: false content: @@ -45839,7 +46125,7 @@ paths: parameters: - *63 - *64 - - *322 + - *323 responses: '204': description: Response @@ -45877,9 +46163,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -45910,14 +46196,14 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &658 + schema: &659 title: Team Repository description: A team's access to a repository. type: object @@ -46488,8 +46774,8 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 requestBody: required: false content: @@ -46536,8 +46822,8 @@ paths: parameters: - *63 - *64 - - *323 - *324 + - *325 responses: '204': description: Response @@ -46572,9 +46858,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: &659 + response-if-child-teams-exist: &660 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46701,7 +46987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &325 + - &326 name: column_id description: The unique identifier of the column. in: path @@ -46713,7 +46999,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &327 title: Project Column description: Project columns contain cards of work. type: object @@ -46759,7 +47045,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &328 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -46794,7 +47080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *325 + - *326 requestBody: required: true content: @@ -46818,9 +47104,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '304': *37 '403': *29 '401': *25 @@ -46845,7 +47131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *325 + - *326 responses: '204': description: Response @@ -46874,7 +47160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *325 + - *326 requestBody: required: true content: @@ -46934,15 +47220,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *322 + - *323 responses: '200': description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: &328 + default: &329 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -46999,7 +47285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *322 + - *323 requestBody: required: false content: @@ -47045,9 +47331,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *329 '404': description: Not Found if the authenticated user does not have access to the project @@ -47068,7 +47354,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -47091,7 +47377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *322 + - *323 responses: '204': description: Delete Success @@ -47112,7 +47398,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *330 '404': *6 x-github: githubCloudOnly: false @@ -47136,7 +47422,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *322 + - *323 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47193,7 +47479,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *322 + - *323 - *59 requestBody: required: false @@ -47246,7 +47532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *322 + - *323 - *59 responses: '204': @@ -47278,7 +47564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *322 + - *323 - *59 responses: '200': @@ -47379,7 +47665,7 @@ paths: resources: type: object properties: - core: &330 + core: &331 title: Rate Limit type: object properties: @@ -47396,21 +47682,21 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 - dependency_sbom: *330 - code_scanning_autofix: *330 + graphql: *331 + search: *331 + code_search: *331 + source_import: *331 + integration_manifest: *331 + code_scanning_upload: *331 + actions_runner_registration: *331 + scim: *331 + dependency_snapshots: *331 + dependency_sbom: *331 + code_scanning_autofix: *331 required: - core - search - rate: *330 + rate: *331 required: - rate - resources @@ -47515,14 +47801,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: default-response: summary: Default response @@ -48023,7 +48309,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *332 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48041,8 +48327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -48289,10 +48575,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 - '307': &334 + default: *334 + '307': &335 description: Temporary Redirect content: application/json: @@ -48321,8 +48607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -48344,7 +48630,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *334 + '307': *335 '404': *6 '409': *47 x-github: @@ -48368,11 +48654,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 - - &365 + - &366 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48395,7 +48681,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &336 title: Artifact description: An artifact type: object @@ -48473,7 +48759,7 @@ paths: - expires_at - updated_at examples: - default: &366 + default: &367 value: total_count: 2 artifacts: @@ -48534,9 +48820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *323 - *324 - - &336 + - *325 + - &337 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48548,7 +48834,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -48586,9 +48872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *323 - *324 - - *336 + - *325 + - *337 responses: '204': description: Response @@ -48612,9 +48898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *323 - *324 - - *336 + - *325 + - *337 - name: archive_format in: path required: true @@ -48628,7 +48914,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': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48651,14 +48937,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: default: value: @@ -48684,11 +48970,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 - - &338 + - &339 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 @@ -48722,7 +49008,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &340 title: Repository actions caches description: Repository actions caches type: object @@ -48764,7 +49050,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &341 value: total_count: 1 actions_caches: @@ -48796,23 +49082,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: - - *323 - *324 + - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48832,8 +49118,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: - - *323 - *324 + - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -48864,9 +49150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *323 - *324 - - &341 + - *325 + - &342 name: job_id description: The unique identifier of the job. in: path @@ -48878,7 +49164,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &370 title: Job description: Information of a job execution in a workflow run type: object @@ -49185,9 +49471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *323 - *324 - - *341 + - *325 + - *342 responses: '302': description: Response @@ -49215,9 +49501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *323 - *324 - - *341 + - *325 + - *342 requestBody: required: false content: @@ -49238,7 +49524,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49262,8 +49548,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: - - *323 - *324 + - *325 responses: '200': description: Status response @@ -49313,8 +49599,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -49348,7 +49634,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -49377,8 +49663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -49396,7 +49682,7 @@ paths: type: integer secrets: type: array - items: &371 + items: &372 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49416,7 +49702,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &373 value: total_count: 2 secrets: @@ -49449,9 +49735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *323 - *324 - - *342 + - *325 + - *343 - *19 responses: '200': @@ -49468,7 +49754,7 @@ paths: type: integer variables: type: array - items: &375 + items: &376 title: Actions Variable type: object properties: @@ -49498,7 +49784,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &377 value: total_count: 2 variables: @@ -49531,8 +49817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -49541,12 +49827,12 @@ paths: schema: type: object properties: - enabled: &344 + enabled: &345 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *125 - selected_actions_url: *343 - sha_pinning_required: *126 + allowed_actions: *127 + selected_actions_url: *344 + sha_pinning_required: *128 required: - enabled examples: @@ -49574,8 +49860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49586,9 +49872,9 @@ paths: schema: type: object properties: - enabled: *344 - allowed_actions: *125 - sha_pinning_required: *126 + enabled: *345 + allowed_actions: *127 + sha_pinning_required: *128 required: - enabled examples: @@ -49618,14 +49904,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: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: access_level: @@ -49642,7 +49928,7 @@ paths: required: - access_level examples: - default: &346 + default: &347 value: access_level: organization x-github: @@ -49666,15 +49952,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: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 responses: '204': description: Response @@ -49698,14 +49984,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: default: value: @@ -49729,8 +50015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Empty response for successful settings update @@ -49740,7 +50026,7 @@ paths: required: true content: application/json: - schema: *348 + schema: *349 examples: default: summary: Set retention days @@ -49764,16 +50050,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *127 + schema: *129 examples: - default: *349 + default: *350 '404': *6 x-github: enabledForGitHubApps: true @@ -49792,8 +50078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49803,7 +50089,7 @@ paths: required: true content: application/json: - schema: *127 + schema: *129 examples: default: summary: Set approval policy to first time contributors @@ -49827,16 +50113,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: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *128 + default: *130 '403': *29 '404': *6 x-github: @@ -49856,15 +50142,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: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *351 + schema: *352 examples: - default: *128 + default: *130 responses: '204': description: Empty response for successful settings update @@ -49888,16 +50174,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *130 + schema: *132 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49916,8 +50202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -49925,9 +50211,9 @@ paths: required: false content: application/json: - schema: *130 + schema: *132 examples: - selected_actions: *131 + selected_actions: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -49949,16 +50235,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49979,8 +50265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Success response @@ -49991,9 +50277,9 @@ paths: required: true content: application/json: - schema: *353 + schema: *354 examples: - default: *135 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50020,8 +50306,8 @@ paths: in: query schema: type: string - - *323 - *324 + - *325 - *17 - *19 responses: @@ -50039,9 +50325,9 @@ paths: type: integer runners: type: array - items: *142 + items: *144 examples: - default: *143 + default: *145 headers: Link: *54 x-github: @@ -50065,8 +50351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -50074,9 +50360,9 @@ paths: application/json: schema: type: array - items: *354 + items: *355 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50098,8 +50384,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -50142,7 +50428,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *356 + '201': *357 '404': *6 '422': *7 '409': *47 @@ -50173,16 +50459,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *323 - *324 + - *325 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50210,16 +50496,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *323 - *324 + - *325 responses: '201': description: Response content: application/json: - schema: *144 + schema: *146 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50241,17 +50527,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: '200': description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *359 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50272,9 +50558,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: '204': description: Response @@ -50300,11 +50586,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: - '200': *146 + '200': *148 '404': *6 x-github: githubCloudOnly: false @@ -50326,9 +50612,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: - - *323 - *324 - - *141 + - *325 + - *143 requestBody: required: true content: @@ -50352,7 +50638,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50376,9 +50662,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: - - *323 - *324 - - *141 + - *325 + - *143 requestBody: required: true content: @@ -50403,7 +50689,7 @@ paths: - gpu - accelerated responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50427,11 +50713,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: - - *323 - *324 - - *141 + - *325 + - *143 responses: - '200': *360 + '200': *361 '404': *6 x-github: githubCloudOnly: false @@ -50458,12 +50744,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: - - *323 - *324 - - *141 - - *361 + - *325 + - *143 + - *362 responses: - '200': *146 + '200': *148 '404': *6 '422': *7 x-github: @@ -50489,9 +50775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *323 - *324 - - &379 + - *325 + - &380 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. @@ -50499,7 +50785,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50507,7 +50793,7 @@ paths: required: false schema: type: string - - &381 + - &382 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50516,7 +50802,7 @@ paths: required: false schema: type: string - - &382 + - &383 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 @@ -50543,7 +50829,7 @@ paths: - pending - *17 - *19 - - &383 + - &384 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)." @@ -50552,7 +50838,7 @@ paths: schema: type: string format: date-time - - &362 + - &363 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50561,13 +50847,13 @@ paths: schema: type: boolean default: false - - &384 + - &385 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &385 + - &386 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50590,7 +50876,7 @@ paths: type: integer workflow_runs: type: array - items: &363 + items: &364 title: Workflow Run description: An invocation of a workflow type: object @@ -50685,7 +50971,7 @@ paths: that triggered the run. type: array nullable: true - items: &404 + items: &405 title: Pull Request Minimal type: object properties: @@ -50804,7 +51090,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &408 + properties: &409 id: type: string description: SHA for the commit @@ -50855,7 +51141,7 @@ paths: - name - email nullable: true - required: &409 + required: &410 - id - tree_id - message @@ -50863,8 +51149,8 @@ paths: - author - committer nullable: true - repository: *140 - head_repository: *140 + repository: *142 + head_repository: *142 head_repository_id: type: integer example: 5 @@ -50902,7 +51188,7 @@ paths: - workflow_url - pull_requests examples: - default: &386 + default: &387 value: total_count: 1 workflow_runs: @@ -51138,24 +51424,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *323 - *324 - - &364 + - *325 + - &365 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *362 + - *363 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: &367 + default: &368 value: id: 30433642 name: Build @@ -51396,9 +51682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '204': description: Response @@ -51421,9 +51707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -51542,15 +51828,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: - - *323 - *324 - - *364 + - *325 + - *365 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51577,12 +51863,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *323 - *324 - - *364 + - *325 + - *365 - *17 - *19 - - *365 + - *366 responses: '200': description: Response @@ -51598,9 +51884,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *336 examples: - default: *366 + default: *367 headers: Link: *54 x-github: @@ -51624,25 +51910,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *323 - *324 - - *364 - - &368 + - *325 + - *365 + - &369 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *362 + - *363 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51665,10 +51951,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *323 - *324 - - *364 - - *368 + - *325 + - *365 + - *369 - *17 - *19 responses: @@ -51686,9 +51972,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *370 examples: - default: &370 + default: &371 value: total_count: 1 jobs: @@ -51801,10 +52087,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *323 - *324 - - *364 - - *368 + - *325 + - *365 + - *369 responses: '302': description: Response @@ -51832,15 +52118,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51867,9 +52153,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: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: true content: @@ -51936,15 +52222,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '202': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -51971,9 +52257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 - 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 @@ -52003,9 +52289,9 @@ paths: type: integer jobs: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *54 x-github: @@ -52030,9 +52316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '302': description: Response @@ -52059,9 +52345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '204': description: Response @@ -52088,9 +52374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -52150,7 +52436,7 @@ paths: items: type: object properties: - type: &487 + type: &488 type: string description: The type of reviewer. enum: @@ -52160,7 +52446,7 @@ paths: reviewer: anyOf: - *4 - - *176 + - *178 required: - environment - wait_timer @@ -52235,9 +52521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: true content: @@ -52284,7 +52570,7 @@ paths: application/json: schema: type: array - items: &482 + items: &483 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52390,7 +52676,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &484 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52446,9 +52732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: false content: @@ -52469,7 +52755,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52492,9 +52778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *323 - *324 - - *364 + - *325 + - *365 requestBody: required: false content: @@ -52515,7 +52801,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52547,9 +52833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *323 - *324 - - *364 + - *325 + - *365 responses: '200': description: Response @@ -52686,8 +52972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -52705,9 +52991,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *372 examples: - default: *372 + default: *373 headers: Link: *54 x-github: @@ -52732,16 +53018,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52763,17 +53049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: &500 + default: &501 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -52799,9 +53085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -52832,7 +53118,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52858,9 +53144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -52885,9 +53171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *323 - *324 - - *342 + - *325 + - *343 - *19 responses: '200': @@ -52904,9 +53190,9 @@ paths: type: integer variables: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 headers: Link: *54 x-github: @@ -52929,8 +53215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -52957,7 +53243,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -52982,17 +53268,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &501 + default: &502 value: name: USERNAME value: octocat @@ -53018,9 +53304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 requestBody: required: true content: @@ -53062,9 +53348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *323 - *324 - - *151 + - *325 + - *153 responses: '204': description: Response @@ -53089,8 +53375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -53108,7 +53394,7 @@ paths: type: integer workflows: type: array - items: &377 + items: &378 title: Workflow description: A GitHub Actions workflow type: object @@ -53215,9 +53501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *323 - *324 - - &378 + - *325 + - &379 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53232,7 +53518,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: default: value: @@ -53265,9 +53551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53292,9 +53578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53345,9 +53631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '204': description: Response @@ -53374,19 +53660,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *323 - *324 - - *378 + - *325 - *379 - *380 - *381 - *382 + - *383 - *17 - *19 - - *383 - - *362 - *384 + - *363 - *385 + - *386 responses: '200': description: Response @@ -53402,9 +53688,9 @@ paths: type: integer workflow_runs: type: array - items: *363 + items: *364 examples: - default: *386 + default: *387 headers: Link: *54 x-github: @@ -53436,9 +53722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *323 - *324 - - *378 + - *325 + - *379 responses: '200': description: Response @@ -53499,8 +53785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *323 - *324 + - *325 - *48 - *17 - *40 @@ -53664,8 +53950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -53702,8 +53988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *323 - *324 + - *325 - name: assignee in: path required: true @@ -53739,8 +54025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -53852,8 +54138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *323 - *324 + - *325 - *17 - *40 - *41 @@ -53910,7 +54196,7 @@ paths: initiator: type: string examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53930,8 +54216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -53939,7 +54225,7 @@ paths: application/json: schema: type: array - items: &388 + items: &389 title: Autolink reference description: An autolink reference. type: object @@ -53993,8 +54279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -54033,9 +54319,9 @@ paths: description: response content: application/json: - schema: *388 + schema: *389 examples: - default: &389 + default: &390 value: id: 1 key_prefix: TICKET- @@ -54066,9 +54352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *323 - *324 - - &390 + - *325 + - &391 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54080,9 +54366,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *389 examples: - default: *389 + default: *390 '404': *6 x-github: githubCloudOnly: false @@ -54102,9 +54388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *323 - *324 - - *390 + - *325 + - *391 responses: '204': description: Response @@ -54128,8 +54414,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: - - *323 - *324 + - *325 responses: '200': description: Response if Dependabot is enabled @@ -54177,8 +54463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -54199,8 +54485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -54220,8 +54506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *323 - *324 + - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54259,7 +54545,7 @@ paths: - url protected: type: boolean - protection: &392 + protection: &393 title: Branch Protection description: Branch Protection type: object @@ -54301,7 +54587,7 @@ paths: required: - contexts - checks - enforce_admins: &395 + enforce_admins: &396 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54316,7 +54602,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &397 + required_pull_request_reviews: &398 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54337,7 +54623,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *176 + items: *178 apps: description: The list of apps with review dismissal access. @@ -54366,7 +54652,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *176 + items: *178 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54392,7 +54678,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &394 + restrictions: &395 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54455,7 +54741,7 @@ paths: type: string teams: type: array - items: *176 + items: *178 apps: type: array items: @@ -54669,9 +54955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *323 - *324 - - &393 + - *325 + - &394 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). @@ -54685,14 +54971,14 @@ paths: description: Response content: application/json: - schema: &403 + schema: &404 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &456 + commit: &457 title: Commit description: Commit type: object @@ -54726,7 +55012,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &391 + properties: &392 name: type: string example: '"Chris Wanstrath"' @@ -54741,7 +55027,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true message: type: string @@ -54762,7 +55048,7 @@ paths: required: - sha - url - verification: &507 + verification: &508 title: Verification type: object properties: @@ -54796,12 +55082,12 @@ paths: nullable: true oneOf: - *4 - - *149 + - *151 committer: nullable: true oneOf: - *4 - - *149 + - *151 parents: type: array items: @@ -54832,7 +55118,7 @@ paths: type: integer files: type: array - items: &469 + items: &470 title: Diff Entry description: Diff Entry type: object @@ -54916,7 +55202,7 @@ paths: - self protected: type: boolean - protection: *392 + protection: *393 protection_url: type: string format: uri @@ -55023,7 +55309,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -55045,15 +55331,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -55247,9 +55533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -55504,7 +55790,7 @@ paths: url: type: string format: uri - required_status_checks: &400 + required_status_checks: &401 title: Status Check Policy description: Status Check Policy type: object @@ -55580,7 +55866,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55598,7 +55884,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 apps: type: array items: *5 @@ -55656,7 +55942,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *394 + restrictions: *395 required_conversation_resolution: type: object properties: @@ -55768,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -55795,17 +56081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -55827,17 +56113,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55856,9 +56142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -55883,17 +56169,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: &398 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -55989,9 +56275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56089,9 +56375,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *398 examples: - default: *398 + default: *399 '422': *15 x-github: githubCloudOnly: false @@ -56112,9 +56398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56141,17 +56427,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56174,17 +56460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *399 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -56204,9 +56490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56231,17 +56517,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56267,9 +56553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56321,9 +56607,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 '422': *15 x-github: @@ -56345,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56371,9 +56657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56407,9 +56693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56476,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -56542,9 +56828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: content: application/json: @@ -56610,15 +56896,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response content: application/json: - schema: *394 + schema: *395 examples: default: value: @@ -56709,9 +56995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '204': description: Response @@ -56734,9 +57020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56746,7 +57032,7 @@ paths: type: array items: *5 examples: - default: &402 + default: &403 value: - id: 1 slug: octoapp @@ -56803,9 +57089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56839,7 +57125,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56860,9 +57146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56896,7 +57182,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56917,9 +57203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -56953,7 +57239,7 @@ paths: type: array items: *5 examples: - default: *402 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -56975,9 +57261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -56985,9 +57271,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '404': *6 x-github: githubCloudOnly: false @@ -57007,9 +57293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -57045,9 +57331,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57068,9 +57354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: false content: @@ -57106,9 +57392,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57129,9 +57415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: content: application/json: @@ -57166,9 +57452,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 '422': *15 x-github: githubCloudOnly: false @@ -57190,9 +57476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 responses: '200': description: Response @@ -57226,9 +57512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57286,9 +57572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57346,9 +57632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57408,9 +57694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 requestBody: required: true content: @@ -57432,7 +57718,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -57548,8 +57834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -57828,7 +58114,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &406 title: CheckRun description: A check performed on the code of a given code change type: object @@ -57947,8 +58233,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *404 - deployment: &716 + items: *405 + deployment: &719 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58228,9 +58514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *323 - *324 - - &406 + - *325 + - &407 name: check_run_id description: The unique identifier of the check run. in: path @@ -58242,9 +58528,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: &407 + default: &408 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58344,9 +58630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *323 - *324 - - *406 + - *325 + - *407 requestBody: required: true content: @@ -58586,9 +58872,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: *407 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58608,9 +58894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *323 - *324 - - *406 + - *325 + - *407 - *17 - *19 responses: @@ -58705,15 +58991,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *323 - *324 - - *406 + - *325 + - *407 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -58751,8 +59037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -58774,7 +59060,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &410 + schema: &411 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -58838,7 +59124,7 @@ paths: nullable: true pull_requests: type: array - items: *404 + items: *405 nullable: true app: title: GitHub app @@ -58851,7 +59137,7 @@ paths: nullable: true properties: *67 required: *68 - repository: *140 + repository: *142 created_at: type: string format: date-time @@ -58860,12 +59146,12 @@ paths: type: string format: date-time nullable: true - head_commit: &742 + head_commit: &745 title: Simple Commit description: A commit. type: object - properties: *408 - required: *409 + properties: *409 + required: *410 latest_check_runs_count: type: integer check_runs_url: @@ -58893,7 +59179,7 @@ paths: - check_runs_url - pull_requests examples: - default: &411 + default: &412 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59184,9 +59470,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59205,8 +59491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -59267,7 +59553,7 @@ paths: required: - app_id - setting - repository: *140 + repository: *142 examples: default: value: @@ -59515,9 +59801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *323 - *324 - - &412 + - *325 + - &413 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59529,9 +59815,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59554,17 +59840,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *323 - *324 - - *412 - - &462 + - *325 + - *413 + - &463 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &463 + - &464 name: status description: Returns check runs with the specified `status`. in: query @@ -59603,9 +59889,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *406 examples: - default: &464 + default: &465 value: total_count: 1 check_runs: @@ -59707,15 +59993,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *323 - *324 - - *412 + - *325 + - *413 responses: '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -59742,21 +60028,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *323 - *324 - - *413 + - *325 - *414 + - *415 - *19 - *17 - - &431 + - &432 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: *415 - - &432 + schema: *416 + - &433 name: pr description: The number of the pull request for the results you want to list. in: query @@ -59781,13 +60067,13 @@ paths: be returned. in: query required: false - schema: *416 + schema: *417 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *417 + schema: *418 responses: '200': description: Response @@ -59798,14 +60084,14 @@ paths: items: type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *419 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -59813,12 +60099,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 - rule: *421 - tool: *422 - most_recent_instance: *423 + dismissed_at: *164 + dismissed_reason: *420 + dismissed_comment: *421 + rule: *422 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59944,7 +60230,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &424 + '403': &425 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -59971,9 +60257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *323 - *324 - - &425 + - *325 + - &426 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -59981,23 +60267,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: &426 + schema: &427 type: object properties: - number: *156 - created_at: *157 - updated_at: *158 - url: *159 - html_url: *160 - instances_url: *418 - state: *165 - fixed_at: *161 + number: *158 + created_at: *159 + updated_at: *160 + url: *161 + html_url: *162 + instances_url: *419 + state: *167 + fixed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -60005,9 +60291,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *162 - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_at: *164 + dismissed_reason: *420 + dismissed_comment: *421 rule: type: object properties: @@ -60061,8 +60347,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *422 - most_recent_instance: *423 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60161,7 +60447,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60181,9 +60467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: true content: @@ -60198,8 +60484,8 @@ paths: enum: - open - dismissed - dismissed_reason: *419 - dismissed_comment: *420 + dismissed_reason: *420 + dismissed_comment: *421 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60218,7 +60504,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -60294,7 +60580,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &430 + '403': &431 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60321,15 +60607,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: - - *323 - *324 - - *425 + - *325 + - *426 responses: '200': description: Response content: application/json: - schema: &427 + schema: &428 type: object properties: status: @@ -60355,13 +60641,13 @@ paths: - description - started_at examples: - default: &428 + default: &429 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &429 + '400': &430 description: Bad Request content: application/json: @@ -60372,7 +60658,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': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60397,29 +60683,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: - - *323 - *324 - - *425 + - *325 + - *426 responses: '200': description: OK content: application/json: - schema: *427 + schema: *428 examples: - default: *428 + default: *429 '202': description: Accepted content: application/json: - schema: *427 + schema: *428 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *429 + '400': *430 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60451,9 +60737,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: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: false content: @@ -60498,8 +60784,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *429 - '403': *430 + '400': *430 + '403': *431 '404': *6 '422': description: Unprocessable Entity @@ -60523,13 +60809,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 - *19 - *17 - - *431 - *432 + - *433 responses: '200': description: Response @@ -60537,7 +60823,7 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: default: value: @@ -60576,7 +60862,7 @@ paths: end_column: 50 classifications: - source - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60610,25 +60896,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *323 - *324 - - *413 + - *325 - *414 + - *415 - *19 - *17 - - *432 + - *433 - 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: *415 + schema: *416 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60649,23 +60935,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *415 - commit_sha: &444 + ref: *416 + commit_sha: &445 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: *433 + analysis_key: *434 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *434 + category: *435 error: type: string example: error reading field xyz @@ -60689,8 +60975,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *422 + sarif_id: *436 + tool: *423 deletable: type: boolean warning: @@ -60751,7 +61037,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -60787,8 +61073,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: - - *323 - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60801,7 +61087,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -60855,7 +61141,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *424 + '403': *425 '404': *6 '422': description: Response if analysis could not be processed @@ -60942,8 +61228,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: - - *323 - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60996,7 +61282,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': *430 + '403': *431 '404': *6 '503': *104 x-github: @@ -61018,8 +61304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -61027,7 +61313,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61138,7 +61424,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': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -61167,8 +61453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *323 - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -61180,7 +61466,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61212,9 +61498,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': &471 + '302': &472 description: Found - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -61236,8 +61522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *323 - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -61247,7 +61533,7 @@ paths: responses: '204': description: Response - '403': *430 + '403': *431 '404': *6 '503': *104 x-github: @@ -61275,8 +61561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -61285,7 +61571,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -61364,7 +61650,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61374,7 +61660,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -61421,7 +61707,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -61457,7 +61743,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61489,7 +61775,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -61503,7 +61789,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: *439 + items: *440 required: - repository_count - repositories @@ -61525,8 +61811,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -61542,7 +61828,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -61694,10 +61980,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -61725,8 +62011,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: - - *323 - *324 + - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -61738,9 +62024,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *104 x-github: @@ -61763,7 +62049,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: - - *323 + - *324 - name: repo in: path description: The name of the controller repository. @@ -61798,7 +62084,7 @@ paths: type: object properties: repository: *53 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -61923,8 +62209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -62009,7 +62295,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *424 + '403': *425 '404': *6 '503': *104 x-github: @@ -62030,8 +62316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62098,7 +62384,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -62123,7 +62409,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *430 + '403': *431 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62194,8 +62480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62203,7 +62489,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62261,7 +62547,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62275,7 +62561,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': *430 + '403': *431 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62298,8 +62584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *323 - *324 + - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62345,7 +62631,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': *424 + '403': *425 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62370,8 +62656,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: - - *323 - *324 + - *325 responses: '200': description: Response @@ -62427,7 +62713,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': *170 + '204': *172 '304': *37 '403': *29 '404': *6 @@ -62452,8 +62738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *323 - *324 + - *325 - 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 @@ -62573,8 +62859,8 @@ paths: parameters: - *17 - *19 - - *323 - *324 + - *325 responses: '200': description: Response @@ -62590,7 +62876,7 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: default: value: @@ -62888,8 +63174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -62952,17 +63238,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -62991,8 +63277,8 @@ paths: parameters: - *17 - *19 - - *323 - *324 + - *325 responses: '200': description: Response @@ -63056,8 +63342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *323 - *324 + - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63092,14 +63378,14 @@ paths: type: integer machines: type: array - items: &666 + items: &667 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &667 + default: &668 value: total_count: 2 machines: @@ -63139,8 +63425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *323 - *324 + - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63224,8 +63510,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: - - *323 - *324 + - *325 - 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 @@ -63291,8 +63577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -63310,7 +63596,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63330,7 +63616,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *54 x-github: @@ -63353,16 +63639,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63382,17 +63668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63412,9 +63698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -63442,7 +63728,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -63466,9 +63752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -63496,8 +63782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *323 - *324 + - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63539,7 +63825,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -63632,7 +63918,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -63706,8 +63992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 responses: '204': @@ -63754,8 +64040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 requestBody: required: false @@ -63782,7 +64068,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &520 + schema: &521 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -63793,7 +64079,7 @@ paths: example: 42 type: integer format: int64 - repository: *140 + repository: *142 invitee: title: Simple User description: A GitHub user. @@ -63971,7 +64257,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *109 + schema: *111 '403': *29 x-github: triggersNotification: true @@ -64011,8 +64297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *323 - *324 + - *325 - *59 responses: '204': @@ -64044,8 +64330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *323 - *324 + - *325 - *59 responses: '200': @@ -64066,8 +64352,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64122,8 +64408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -64133,7 +64419,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64191,7 +64477,7 @@ paths: - created_at - updated_at examples: - default: &458 + default: &459 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64250,17 +64536,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &459 + default: &460 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64317,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -64341,7 +64627,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -64392,8 +64678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -64415,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64443,9 +64729,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -64466,8 +64752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -64500,16 +64786,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -64531,10 +64817,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -64583,8 +64869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *323 - *324 + - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64640,9 +64926,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: &572 + default: &573 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64736,9 +65022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *323 - *324 - - &457 + - *325 + - &458 name: commit_sha description: The SHA of the commit. in: path @@ -64810,9 +65096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *323 - *324 - - *457 + - *325 + - *458 - *17 - *19 responses: @@ -64822,9 +65108,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *458 + default: *459 headers: Link: *54 x-github: @@ -64852,9 +65138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *323 - *324 - - *457 + - *325 + - *458 requestBody: required: true content: @@ -64889,9 +65175,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *459 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64919,9 +65205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *323 - *324 - - *457 + - *325 + - *458 - *17 - *19 responses: @@ -64931,9 +65217,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: &564 + default: &565 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65470,11 +65756,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *323 - *324 + - *325 - *19 - *17 - - &461 + - &462 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)" @@ -65489,9 +65775,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: &549 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65604,11 +65890,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *323 - *324 - - *461 + - *325 - *462 - *463 + - *464 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65642,9 +65928,9 @@ paths: type: integer check_runs: type: array - items: *405 + items: *406 examples: - default: *464 + default: *465 headers: Link: *54 x-github: @@ -65669,9 +65955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65679,7 +65965,7 @@ paths: schema: type: integer example: 1 - - *462 + - *463 - *17 - *19 responses: @@ -65697,7 +65983,7 @@ paths: type: integer check_suites: type: array - items: *410 + items: *411 examples: default: value: @@ -65897,9 +66183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - *17 - *19 responses: @@ -65966,7 +66252,7 @@ paths: type: string total_count: type: integer - repository: *140 + repository: *142 commit_url: type: string format: uri @@ -66097,9 +66383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *323 - *324 - - *461 + - *325 + - *462 - *17 - *19 responses: @@ -66109,7 +66395,7 @@ paths: application/json: schema: type: array - items: &637 + items: &638 title: Status description: The status of a commit. type: object @@ -66190,7 +66476,7 @@ paths: site_admin: false headers: Link: *54 - '301': *332 + '301': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66218,8 +66504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -66248,20 +66534,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *465 - required: *466 + properties: *466 + required: *467 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &467 + properties: &468 url: type: string format: uri html_url: type: string format: uri - required: &468 + required: &469 - url - html_url nullable: true @@ -66275,26 +66561,26 @@ paths: contributing: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true readme: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true issue_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true pull_request_template: title: Community Health File type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true required: - code_of_conduct @@ -66421,8 +66707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *323 - *324 + - *325 - *19 - *17 - name: basehead @@ -66465,8 +66751,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *456 - merge_base_commit: *456 + base_commit: *457 + merge_base_commit: *457 status: type: string enum: @@ -66486,10 +66772,10 @@ paths: example: 6 commits: type: array - items: *456 + items: *457 files: type: array - items: *469 + items: *470 required: - url - html_url @@ -66775,8 +67061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -66919,7 +67205,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &470 + response-if-content-is-a-file: &471 summary: Response if content is a file value: type: file @@ -67051,7 +67337,7 @@ paths: - size - type - url - - &577 + - &578 title: Content File description: Content File type: object @@ -67252,7 +67538,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *470 + response-if-content-is-a-file: *471 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67321,7 +67607,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *471 + '302': *472 '304': *37 x-github: githubCloudOnly: false @@ -67344,8 +67630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -67438,7 +67724,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &473 title: File Commit description: File Commit type: object @@ -67590,7 +67876,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: example-for-creating-a-file: value: @@ -67644,7 +67930,7 @@ paths: schema: oneOf: - *3 - - &502 + - &503 description: Repository rule violation was detected type: object properties: @@ -67665,7 +67951,7 @@ paths: items: type: object properties: - placeholder_id: &629 + placeholder_id: &630 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67697,8 +67983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *323 - *324 + - *325 - name: path description: path parameter in: path @@ -67759,7 +68045,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: default: value: @@ -67814,8 +68100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *323 - *324 + - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -67938,22 +68224,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *323 - *324 - - *177 - - *178 + - *325 - *179 - *180 + - *181 + - *182 - 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 - - *181 - - *473 - - *182 - *183 + - *474 + - *184 + - *185 - *48 - name: per_page description: The number of results per page (max 100). For more information, @@ -67972,11 +68258,11 @@ paths: application/json: schema: type: array - items: &476 + items: &477 type: object description: A Dependabot alert. properties: - number: *156 + number: *158 state: type: string description: The state of the Dependabot alert. @@ -68018,13 +68304,13 @@ paths: - unknown - direct - transitive - security_advisory: *474 + security_advisory: *475 security_vulnerability: *52 - url: *159 - html_url: *160 - created_at: *157 - updated_at: *158 - dismissed_at: *162 + url: *161 + html_url: *162 + created_at: *159 + updated_at: *160 + dismissed_at: *164 dismissed_by: title: Simple User description: A GitHub user. @@ -68048,8 +68334,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *161 - auto_dismissed_at: *475 + fixed_at: *163 + auto_dismissed_at: *476 required: - number - state @@ -68279,9 +68565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *323 - *324 - - &477 + - *325 + - &478 name: alert_number in: path description: |- @@ -68290,13 +68576,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *156 + schema: *158 responses: '200': description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -68409,9 +68695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *323 - *324 - - *477 + - *325 + - *478 requestBody: required: true content: @@ -68456,7 +68742,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default: value: @@ -68585,8 +68871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -68604,7 +68890,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &481 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68657,16 +68943,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68686,15 +68972,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '200': description: Response content: application/json: - schema: *480 + schema: *481 examples: default: value: @@ -68720,9 +69006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 requestBody: required: true content: @@ -68750,7 +69036,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -68774,9 +69060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *323 - *324 - - *148 + - *325 + - *150 responses: '204': description: Response @@ -68798,8 +69084,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: - - *323 - *324 + - *325 - 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 @@ -68959,8 +69245,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: - - *323 - *324 + - *325 responses: '200': description: Response @@ -69199,8 +69485,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -69275,7 +69561,7 @@ paths: - version - url additionalProperties: false - metadata: &481 + metadata: &482 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69308,7 +69594,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *481 + metadata: *482 resolved: type: object description: A collection of resolved package dependencies. @@ -69321,7 +69607,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *481 + metadata: *482 relationship: type: string description: A notation of whether a dependency is requested @@ -69450,8 +69736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *323 - *324 + - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -69491,9 +69777,9 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: - default: *483 + default: *484 headers: Link: *54 x-github: @@ -69559,8 +69845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -69641,7 +69927,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: simple-example: summary: Simple example @@ -69714,9 +70000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *323 - *324 - - &484 + - *325 + - &485 name: deployment_id description: deployment_id parameter in: path @@ -69728,7 +70014,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -69793,9 +70079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *323 - *324 - - *484 + - *325 + - *485 responses: '204': description: Response @@ -69817,9 +70103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *323 - *324 - - *484 + - *325 + - *485 - *17 - *19 responses: @@ -69829,7 +70115,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment Status description: The status of a deployment. type: object @@ -69990,9 +70276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *323 - *324 - - *484 + - *325 + - *485 requestBody: required: true content: @@ -70067,9 +70353,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70125,9 +70411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *323 - *324 - - *484 + - *325 + - *485 - name: status_id in: path required: true @@ -70138,9 +70424,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: - default: *486 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -70165,8 +70451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -70223,8 +70509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -70241,7 +70527,7 @@ paths: type: integer environments: type: array - items: &488 + items: &489 title: Environment description: Details of a deployment environment type: object @@ -70293,7 +70579,7 @@ paths: type: type: string example: wait_timer - wait_timer: &490 + wait_timer: &491 type: integer example: 30 description: The amount of time to delay a job after @@ -70330,11 +70616,11 @@ paths: items: type: object properties: - type: *487 + type: *488 reviewer: anyOf: - *4 - - *176 + - *178 required: - id - node_id @@ -70354,7 +70640,7 @@ paths: - id - node_id - type - deployment_branch_policy: &491 + deployment_branch_policy: &492 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70470,9 +70756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *323 - *324 - - &489 + - *325 + - &490 name: environment_name in: path required: true @@ -70485,9 +70771,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &492 + default: &493 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70571,9 +70857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: false content: @@ -70582,7 +70868,7 @@ paths: type: object nullable: true properties: - wait_timer: *490 + wait_timer: *491 prevent_self_review: type: boolean example: false @@ -70599,13 +70885,13 @@ paths: items: type: object properties: - type: *487 + type: *488 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *491 + deployment_branch_policy: *492 additionalProperties: false examples: default: @@ -70625,9 +70911,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *492 + default: *493 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70651,9 +70937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *323 - *324 - - *489 + - *325 + - *490 responses: '204': description: Default response @@ -70678,9 +70964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *323 - *324 - - *489 + - *325 + - *490 - *17 - *19 responses: @@ -70698,7 +70984,7 @@ paths: example: 2 branch_policies: type: array - items: &493 + items: &494 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -70755,9 +71041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: true content: @@ -70803,9 +71089,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - example-wildcard: &494 + example-wildcard: &495 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -70847,10 +71133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - &495 + - *325 + - *490 + - &496 name: branch_policy_id in: path required: true @@ -70862,9 +71148,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70883,10 +71169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - *495 + - *325 + - *490 + - *496 requestBody: required: true content: @@ -70914,9 +71200,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70935,10 +71221,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *323 - *324 - - *489 - - *495 + - *325 + - *490 + - *496 responses: '204': description: Response @@ -70963,9 +71249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *489 + - *490 + - *325 - *324 - - *323 responses: '200': description: List of deployment protection rules @@ -70981,7 +71267,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &496 + items: &497 title: Deployment protection rule description: Deployment protection rule type: object @@ -71000,7 +71286,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &497 + app: &498 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71099,9 +71385,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: - - *489 + - *490 + - *325 - *324 - - *323 requestBody: content: application/json: @@ -71122,9 +71408,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *496 + schema: *497 examples: - default: &498 + default: &499 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71159,9 +71445,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: - - *489 + - *490 + - *325 - *324 - - *323 - *19 - *17 responses: @@ -71180,7 +71466,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *497 + items: *498 examples: default: value: @@ -71215,10 +71501,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *323 - *324 - - *489 - - &499 + - *325 + - *490 + - &500 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71230,9 +71516,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *498 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71253,10 +71539,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *489 + - *490 + - *325 - *324 - - *323 - - *499 + - *500 responses: '204': description: Response @@ -71282,9 +71568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *323 - *324 - - *489 + - *325 + - *490 - *17 - *19 responses: @@ -71302,9 +71588,9 @@ paths: type: integer secrets: type: array - items: *371 + items: *372 examples: - default: *372 + default: *373 headers: Link: *54 x-github: @@ -71329,17 +71615,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *323 - *324 - - *489 + - *325 + - *490 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *374 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71361,18 +71647,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *500 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71394,10 +71680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 requestBody: required: true content: @@ -71428,7 +71714,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71454,10 +71740,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *323 - *324 - - *489 - - *148 + - *325 + - *490 + - *150 responses: '204': description: Default response @@ -71482,10 +71768,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *323 - *324 - - *489 - - *342 + - *325 + - *490 + - *343 - *19 responses: '200': @@ -71502,9 +71788,9 @@ paths: type: integer variables: type: array - items: *375 + items: *376 examples: - default: *376 + default: *377 headers: Link: *54 x-github: @@ -71527,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *323 - *324 - - *489 + - *325 + - *490 requestBody: required: true content: @@ -71556,7 +71842,7 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -71581,18 +71867,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *323 - *324 - - *489 - - *151 + - *325 + - *490 + - *153 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71613,10 +71899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *323 - *324 - - *151 - - *489 + - *325 + - *153 + - *490 requestBody: required: true content: @@ -71658,10 +71944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *323 - *324 - - *151 - - *489 + - *325 + - *153 + - *490 responses: '204': description: Response @@ -71683,8 +71969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -71752,8 +72038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *323 - *324 + - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -71775,7 +72061,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -71912,8 +72198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -71945,9 +72231,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 '400': *14 '422': *15 '403': *29 @@ -71968,8 +72254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72028,8 +72314,8 @@ paths: application/json: schema: oneOf: - - *109 - - *502 + - *111 + - *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72054,8 +72340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *323 - *324 + - *325 - name: file_sha in: path required: true @@ -72154,8 +72440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72264,7 +72550,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &504 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72478,15 +72764,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *323 - *324 - - *457 + - *325 + - *458 responses: '200': description: Response content: application/json: - schema: *503 + schema: *504 examples: default: value: @@ -72542,9 +72828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *323 - *324 - - &504 + - *325 + - &505 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. @@ -72561,7 +72847,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Git Reference description: Git references within a repository type: object @@ -72636,17 +72922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &506 + default: &507 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72675,8 +72961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72705,9 +72991,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -72733,9 +73019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 requestBody: required: true content: @@ -72764,9 +73050,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *506 + default: *507 '422': *15 '409': *47 x-github: @@ -72784,9 +73070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *323 - *324 - - *504 + - *325 + - *505 responses: '204': description: Response @@ -72841,8 +73127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -72909,7 +73195,7 @@ paths: description: Response content: application/json: - schema: &508 + schema: &509 title: Git Tag description: Metadata for a Git tag type: object @@ -72960,7 +73246,7 @@ paths: - sha - type - url - verification: *507 + verification: *508 required: - sha - url @@ -72970,7 +73256,7 @@ paths: - tag - message examples: - default: &509 + default: &510 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73043,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *323 - *324 + - *325 - name: tag_sha in: path required: true @@ -73055,9 +73341,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '404': *6 '409': *47 x-github: @@ -73081,8 +73367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -73155,7 +73441,7 @@ paths: description: Response content: application/json: - schema: &510 + schema: &511 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73251,8 +73537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *323 - *324 + - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73275,7 +73561,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default-response: summary: Default response @@ -73334,8 +73620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -73345,7 +73631,7 @@ paths: application/json: schema: type: array - items: &511 + items: &512 title: Webhook description: Webhooks for repositories. type: object @@ -73399,7 +73685,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &750 + last_response: &753 title: Hook Response type: object properties: @@ -73473,8 +73759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -73526,9 +73812,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: type: Repository id: 12345678 @@ -73576,17 +73862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -73606,9 +73892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 requestBody: required: true content: @@ -73653,9 +73939,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '422': *15 '404': *6 x-github: @@ -73676,9 +73962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73702,9 +73988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '200': description: Response @@ -73731,9 +74017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *323 - *324 - - *191 + - *325 + - *193 requestBody: required: false content: @@ -73777,11 +74063,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *17 - - *192 + - *194 responses: '200': description: Response @@ -73789,9 +74075,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 '400': *14 '422': *15 x-github: @@ -73810,18 +74096,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *16 responses: '200': description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '400': *14 '422': *15 x-github: @@ -73840,9 +74126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 - *16 responses: '202': *39 @@ -73865,9 +74151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73892,9 +74178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *323 - *324 - - *191 + - *325 + - *193 responses: '204': description: Response @@ -73917,8 +74203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response if immutable releases are enabled @@ -73964,10 +74250,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -73985,10 +74271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '409': *47 x-github: githubCloudOnly: false @@ -74043,14 +74329,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &513 + schema: &514 title: Import description: A repository import from an external source. type: object @@ -74149,7 +74435,7 @@ paths: - html_url - authors_url examples: - default: &516 + default: &517 value: vcs: subversion use_lfs: true @@ -74165,7 +74451,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': &514 + '503': &515 description: Unavailable due to service under maintenance. content: application/json: @@ -74194,8 +74480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -74243,7 +74529,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default: value: @@ -74268,7 +74554,7 @@ paths: type: string '422': *15 '404': *6 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74296,8 +74582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -74346,7 +74632,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: example-1: summary: Example 1 @@ -74394,7 +74680,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': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74417,12 +74703,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *323 - *324 + - *325 responses: '204': description: Response - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74448,9 +74734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *323 - *324 - - &688 + - *325 + - &689 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74464,7 +74750,7 @@ paths: application/json: schema: type: array - items: &515 + items: &516 title: Porter Author description: Porter Author type: object @@ -74518,7 +74804,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': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74543,8 +74829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *323 - *324 + - *325 - name: author_id in: path required: true @@ -74574,7 +74860,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *516 examples: default: value: @@ -74587,7 +74873,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74611,8 +74897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74653,7 +74939,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74681,8 +74967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -74709,11 +74995,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *516 + default: *517 '422': *15 - '503': *514 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74736,8 +75022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74745,8 +75031,8 @@ paths: application/json: schema: *22 examples: - default: *517 - '301': *332 + default: *518 + '301': *333 '404': *6 x-github: githubCloudOnly: false @@ -74766,8 +75052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -74775,12 +75061,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: &519 + default: &520 value: limit: collaborators_only origin: repository @@ -74805,13 +75091,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: application/json: - schema: *518 + schema: *519 examples: default: summary: Example request body @@ -74823,9 +75109,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: - default: *519 + default: *520 '409': description: Response x-github: @@ -74847,8 +75133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -74871,8 +75157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -74882,9 +75168,9 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: - default: &681 + default: &682 value: - id: 1 repository: @@ -75015,9 +75301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *323 - *324 - - *213 + - *325 + - *215 requestBody: required: false content: @@ -75046,7 +75332,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: default: value: @@ -75177,9 +75463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *323 - *324 - - *213 + - *325 + - *215 responses: '204': description: Response @@ -75210,8 +75496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *323 - *324 + - *325 - 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 @@ -75259,7 +75545,7 @@ paths: required: false schema: type: string - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -75284,7 +75570,7 @@ paths: type: array items: *82 examples: - default: &529 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75432,7 +75718,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *332 + '301': *333 '422': *15 '404': *6 x-github: @@ -75461,8 +75747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -75546,7 +75832,7 @@ paths: application/json: schema: *82 examples: - default: &526 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -75702,7 +75988,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *329 + '410': *330 x-github: triggersNotification: true githubCloudOnly: false @@ -75730,8 +76016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *323 - *324 + - *325 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -75752,9 +76038,9 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: &528 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75812,17 +76098,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: &522 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -75876,8 +76162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -75900,9 +76186,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -75920,8 +76206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -75942,8 +76228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75970,9 +76256,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -75993,8 +76279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -76027,16 +76313,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -76058,10 +76344,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -76081,8 +76367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -76092,7 +76378,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Issue Event description: Issue Event type: object @@ -76135,8 +76421,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76180,7 +76466,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *176 + requested_team: *178 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76443,8 +76729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *323 - *324 + - *325 - name: event_id in: path required: true @@ -76455,7 +76741,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -76648,7 +76934,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *329 + '410': *330 '403': *29 x-github: githubCloudOnly: false @@ -76682,9 +76968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *323 - *324 - - &527 + - *325 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -76698,10 +76984,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '404': *6 - '410': *329 + '410': *330 '304': *37 x-github: githubCloudOnly: false @@ -76726,9 +77012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -76834,13 +77120,13 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '422': *15 '503': *104 '403': *29 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76858,9 +77144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -76888,7 +77174,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76904,9 +77190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: content: application/json: @@ -76933,7 +77219,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76955,9 +77241,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: - - *323 - *324 - - *527 + - *325 + - *528 - name: assignee in: path required: true @@ -76997,9 +77283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *72 - *17 - *19 @@ -77010,13 +77296,13 @@ paths: application/json: schema: type: array - items: *521 + items: *522 examples: - default: *528 + default: *529 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77045,9 +77331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -77069,16 +77355,16 @@ paths: description: Response content: application/json: - schema: *521 + schema: *522 examples: - default: *522 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -77106,9 +77392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77120,12 +77406,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77153,9 +77439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -77179,15 +77465,15 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *332 + '301': *333 '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -77218,9 +77504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *323 - *324 - - *527 + - *325 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77234,13 +77520,13 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 x-github: triggersNotification: true githubCloudOnly: false @@ -77266,9 +77552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77280,12 +77566,12 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77302,9 +77588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -77318,7 +77604,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &532 + - &533 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77372,7 +77658,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &533 + - &534 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77508,7 +77794,7 @@ paths: - performed_via_github_app - assignee - assigner - - &534 + - &535 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77559,7 +77845,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &535 + - &536 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77610,7 +77896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &537 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77664,7 +77950,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &538 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77698,7 +77984,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77711,7 +77997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -77745,7 +78031,7 @@ paths: properties: *67 required: *68 review_requester: *4 - requested_team: *176 + requested_team: *178 requested_reviewer: *4 required: - review_requester @@ -77758,7 +78044,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &540 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -77818,7 +78104,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Locked Issue Event description: Locked Issue Event type: object @@ -77866,7 +78152,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -77932,7 +78218,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -77998,7 +78284,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78064,7 +78350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78155,7 +78441,7 @@ paths: color: red headers: Link: *54 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78172,9 +78458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -78184,7 +78470,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78231,7 +78517,7 @@ paths: - color - default examples: - default: &531 + default: &532 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78249,9 +78535,9 @@ paths: default: false headers: Link: *54 - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78268,9 +78554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78329,12 +78615,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *332 + default: *532 + '301': *333 '404': *6 - '410': *329 + '410': *330 '422': *15 x-github: githubCloudOnly: false @@ -78351,9 +78637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78413,12 +78699,12 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 - '301': *332 + default: *532 + '301': *333 '404': *6 - '410': *329 + '410': *330 '422': *15 x-github: githubCloudOnly: false @@ -78435,15 +78721,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '204': description: Response - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78462,9 +78748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - name: name in: path required: true @@ -78477,7 +78763,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -78488,9 +78774,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78510,9 +78796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: false content: @@ -78540,7 +78826,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *330 '404': *6 '422': *15 x-github: @@ -78558,9 +78844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '204': description: Response @@ -78590,9 +78876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 responses: '200': description: Response @@ -78600,10 +78886,10 @@ paths: application/json: schema: *82 examples: - default: *526 - '301': *332 + default: *527 + '301': *333 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78620,9 +78906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - 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. @@ -78648,13 +78934,13 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78672,9 +78958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78706,16 +78992,16 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -78737,10 +79023,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *323 - *324 - - *527 - - *319 + - *325 + - *528 + - *320 responses: '204': description: Response @@ -78769,9 +79055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78795,7 +79081,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -78828,9 +79114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -78842,11 +79128,11 @@ paths: type: array items: *82 examples: - default: *529 + default: *530 headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78874,9 +79160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78905,14 +79191,14 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *329 + '410': *330 '422': *15 '404': *6 x-github: @@ -78932,9 +79218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 requestBody: required: true content: @@ -78967,7 +79253,7 @@ paths: application/json: schema: *82 examples: - default: *526 + default: *527 '403': *29 '404': *6 '422': *7 @@ -78989,9 +79275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *323 - *324 - - *527 + - *325 + - *528 - *17 - *19 responses: @@ -79006,7 +79292,6 @@ paths: description: Timeline Event type: object anyOf: - - *532 - *533 - *534 - *535 @@ -79019,6 +79304,7 @@ paths: - *542 - *543 - *544 + - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79327,7 +79613,7 @@ paths: type: string comments: type: array - items: &566 + items: &567 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79536,7 +79822,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -79825,7 +80111,7 @@ paths: headers: Link: *54 '404': *6 - '410': *329 + '410': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79842,8 +80128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -79853,7 +80139,7 @@ paths: application/json: schema: type: array - items: &545 + items: &546 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -79919,8 +80205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -79956,9 +80242,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: id: 1 key: ssh-rsa AAA... @@ -79992,9 +80278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *323 - *324 - - &547 + - *325 + - &548 name: key_id description: The unique identifier of the key. in: path @@ -80006,9 +80292,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80026,9 +80312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *323 - *324 - - *547 + - *325 + - *548 responses: '204': description: Response @@ -80048,8 +80334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -80059,9 +80345,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 '404': *6 @@ -80082,8 +80368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80119,9 +80405,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &548 + default: &549 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80153,8 +80439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80165,9 +80451,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *548 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80184,8 +80470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80224,7 +80510,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -80250,8 +80536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *323 - *324 + - *325 - name: name in: path required: true @@ -80277,8 +80563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -80317,9 +80603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *323 - *324 - - *431 + - *325 + - *432 responses: '200': description: Response @@ -80464,8 +80750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80530,8 +80816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80565,9 +80851,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *456 + schema: *457 examples: - default: *549 + default: *550 '204': description: Response when already merged '404': @@ -80592,8 +80878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *323 - *324 + - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80634,12 +80920,12 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 examples: default: value: @@ -80695,8 +80981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -80736,9 +81022,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -80797,9 +81083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *323 - *324 - - &552 + - *325 + - &553 name: milestone_number description: The number that identifies the milestone. in: path @@ -80811,9 +81097,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80830,9 +81116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 requestBody: required: false content: @@ -80870,9 +81156,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80888,9 +81174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 responses: '204': description: Response @@ -80911,9 +81197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *323 - *324 - - *552 + - *325 + - *553 - *17 - *19 responses: @@ -80923,9 +81209,9 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: - default: *531 + default: *532 headers: Link: *54 x-github: @@ -80944,12 +81230,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *323 - *324 - - *553 + - *325 - *554 - - *72 - *555 + - *72 + - *556 - *17 - *19 responses: @@ -80961,7 +81247,7 @@ paths: type: array items: *95 examples: - default: *556 + default: *557 headers: Link: *54 x-github: @@ -80985,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -81044,14 +81330,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &557 + schema: &558 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81176,7 +81462,7 @@ paths: - custom_404 - public examples: - default: &558 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81217,8 +81503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81272,9 +81558,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *558 + default: *559 '422': *15 '409': *47 x-github: @@ -81297,8 +81583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81397,8 +81683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -81424,8 +81710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -81435,7 +81721,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: Page Build description: Page Build type: object @@ -81529,8 +81815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *323 - *324 + - *325 responses: '201': description: Response @@ -81575,16 +81861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81632,8 +81918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *323 - *324 + - *325 - name: build_id in: path required: true @@ -81644,9 +81930,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81666,8 +81952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -81772,9 +82058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *323 - *324 - - &561 + - *325 + - &562 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -81832,11 +82118,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *323 - *324 - - *561 + - *325 + - *562 responses: - '204': *170 + '204': *172 '404': *6 x-github: githubCloudOnly: false @@ -81861,8 +82147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -82093,7 +82379,7 @@ paths: description: Empty response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -82120,8 +82406,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: - - *323 - *324 + - *325 responses: '200': description: Private vulnerability reporting status @@ -82158,10 +82444,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82180,10 +82466,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *323 - *324 + - *325 responses: - '204': *170 + '204': *172 '422': *14 x-github: githubCloudOnly: false @@ -82204,8 +82490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *323 - *324 + - *325 - name: state description: Indicates the state of the projects to return. in: query @@ -82226,7 +82512,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -82266,7 +82552,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -82289,8 +82575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82316,13 +82602,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *328 + default: *329 '401': *25 '403': *29 '404': *6 - '410': *329 + '410': *330 '422': *7 x-github: githubCloudOnly: false @@ -82345,8 +82631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -82356,7 +82642,7 @@ paths: type: array items: *102 examples: - default: *562 + default: *563 '403': *29 '404': *6 x-github: @@ -82378,8 +82664,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: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82395,7 +82681,7 @@ paths: required: - properties examples: - default: *563 + default: *564 responses: '204': description: No Content when custom property values are successfully created @@ -82433,8 +82719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *323 - *324 + - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82494,9 +82780,9 @@ paths: application/json: schema: type: array - items: *460 + items: *461 examples: - default: *564 + default: *565 headers: Link: *54 '304': *37 @@ -82528,8 +82814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -82594,7 +82880,7 @@ paths: description: Response content: application/json: - schema: &568 + schema: &569 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82705,8 +82991,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -82751,7 +83037,7 @@ paths: nullable: true requested_teams: type: array - items: *301 + items: *302 nullable: true head: type: object @@ -82790,14 +83076,14 @@ paths: _links: type: object properties: - comments: *256 - commits: *256 - statuses: *256 - html: *256 - issue: *256 - review_comments: *256 - review_comment: *256 - self: *256 + comments: *257 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -82808,7 +83094,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *565 + auto_merge: *566 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -82900,7 +83186,7 @@ paths: - merged_by - review_comments examples: - default: &569 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83427,8 +83713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *323 - *324 + - *325 - name: sort in: query required: false @@ -83457,9 +83743,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: &571 + default: &572 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83536,17 +83822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83621,8 +83907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -83645,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83663,8 +83949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *323 - *324 + - *325 - *81 responses: '204': @@ -83686,8 +83972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *323 - *324 + - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -83714,9 +84000,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -83737,8 +84023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *323 - *324 + - *325 - *81 requestBody: required: true @@ -83771,16 +84057,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -83802,10 +84088,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *323 - *324 + - *325 - *81 - - *319 + - *320 responses: '204': description: Response @@ -83848,9 +84134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *323 - *324 - - &570 + - *325 + - &571 name: pull_number description: The number that identifies the pull request. in: path @@ -83863,9 +84149,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '304': *37 '404': *6 '406': @@ -83900,9 +84186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -83944,9 +84230,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *569 examples: - default: *569 + default: *570 '422': *15 '403': *29 x-github: @@ -83968,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -84030,17 +84316,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84070,9 +84356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84093,9 +84379,9 @@ paths: application/json: schema: type: array - items: *566 + items: *567 examples: - default: *571 + default: *572 headers: Link: *54 x-github: @@ -84128,9 +84414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -84235,7 +84521,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-a-multi-line-comment: value: @@ -84323,9 +84609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *81 requestBody: required: true @@ -84348,7 +84634,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -84434,9 +84720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -84446,9 +84732,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *572 + default: *573 headers: Link: *54 x-github: @@ -84478,9 +84764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -84490,7 +84776,7 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: value: @@ -84528,9 +84814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *323 - *324 - - *570 + - *325 + - *571 responses: '204': description: Response if pull request has been merged @@ -84553,9 +84839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -84666,9 +84952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 responses: '200': description: Response @@ -84684,7 +84970,7 @@ paths: items: *4 teams: type: array - items: *176 + items: *178 required: - users - teams @@ -84743,9 +85029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -84782,7 +85068,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -85318,9 +85604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: true content: @@ -85354,7 +85640,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *461 examples: default: value: @@ -85859,9 +86145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 - *17 - *19 responses: @@ -85871,7 +86157,7 @@ paths: application/json: schema: type: array - items: &573 + items: &574 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86022,9 +86308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -86110,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &575 + default: &576 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86175,10 +86461,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - &574 + - *325 + - *571 + - &575 name: review_id description: The unique identifier of the review. in: path @@ -86190,9 +86476,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &576 + default: &577 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86251,10 +86537,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86277,7 +86563,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86339,18 +86625,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *575 + default: *576 '422': *7 '404': *6 x-github: @@ -86377,10 +86663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 - *17 - *19 responses: @@ -86463,9 +86749,9 @@ paths: _links: type: object properties: - self: *256 - html: *256 - pull_request: *256 + self: *257 + html: *257 + pull_request: *257 required: - self - html @@ -86615,10 +86901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86646,7 +86932,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: default: value: @@ -86709,10 +86995,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *323 - *324 - - *570 - - *574 + - *325 + - *571 + - *575 requestBody: required: true content: @@ -86747,9 +87033,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *576 + default: *577 '404': *6 '422': *7 '403': *29 @@ -86771,9 +87057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *323 - *324 - - *570 + - *325 + - *571 requestBody: required: false content: @@ -86836,8 +87122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *323 - *324 + - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -86850,9 +87136,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: &578 + default: &579 value: type: file encoding: base64 @@ -86894,8 +87180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *323 - *324 + - *325 - name: dir description: The alternate path to look for a README file in: path @@ -86915,9 +87201,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *6 '422': *15 x-github: @@ -86939,8 +87225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -86950,7 +87236,7 @@ paths: application/json: schema: type: array - items: &579 + items: &580 title: Release description: A release. type: object @@ -87021,7 +87307,7 @@ paths: author: *4 assets: type: array - items: &580 + items: &581 title: Release Asset description: Data related to a release. type: object @@ -87208,8 +87494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -87285,9 +87571,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: &583 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87392,9 +87678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *323 - *324 - - &581 + - *325 + - &582 name: asset_id description: The unique identifier of the asset. in: path @@ -87406,9 +87692,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &582 + default: &583 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 @@ -87443,7 +87729,7 @@ paths: type: User site_admin: false '404': *6 - '302': *471 + '302': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87459,9 +87745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *323 - *324 - - *581 + - *325 + - *582 requestBody: required: false content: @@ -87489,9 +87775,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *582 + default: *583 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87507,9 +87793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *323 - *324 - - *581 + - *325 + - *582 responses: '204': description: Response @@ -87533,8 +87819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -87619,16 +87905,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *323 - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87645,8 +87931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *323 - *324 + - *325 - name: tag description: tag parameter in: path @@ -87659,9 +87945,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -87683,9 +87969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *323 - *324 - - &584 + - *325 + - &585 name: release_id description: The unique identifier of the release. in: path @@ -87699,9 +87985,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: *579 + schema: *580 examples: - default: *583 + default: *584 '401': description: Unauthorized x-github: @@ -87719,9 +88005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 requestBody: required: false content: @@ -87785,9 +88071,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: - default: *583 + default: *584 '404': description: Not Found if the discussion category name is invalid content: @@ -87808,9 +88094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 responses: '204': description: Response @@ -87830,9 +88116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *323 - *324 - - *584 + - *325 + - *585 - *17 - *19 responses: @@ -87842,7 +88128,7 @@ paths: application/json: schema: type: array - items: *580 + items: *581 examples: default: value: @@ -87923,9 +88209,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: - - *323 - *324 - - *584 + - *325 + - *585 - name: name in: query required: true @@ -87951,7 +88237,7 @@ paths: description: Response for successful upload content: application/json: - schema: *580 + schema: *581 examples: response-for-successful-upload: value: @@ -88006,9 +88292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 - 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. @@ -88032,9 +88318,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 '404': *6 @@ -88055,9 +88341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *323 - *324 - - *584 + - *325 + - *585 requestBody: required: true content: @@ -88087,16 +88373,16 @@ paths: description: Reaction exists content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '201': description: Reaction created content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '422': *15 x-github: githubCloudOnly: false @@ -88118,10 +88404,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *323 - *324 - - *584 - - *319 + - *325 + - *585 + - *320 responses: '204': description: Response @@ -88145,9 +88431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *323 - *324 - - *393 + - *325 + - *394 - *17 - *19 responses: @@ -88163,8 +88449,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *274 - - &585 + - *275 + - &586 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88183,69 +88469,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *275 - - *585 - allOf: - *276 - - *585 + - *586 - allOf: - *277 - - *585 - - allOf: - *586 - - *585 - allOf: - *278 - - *585 + - *586 + - allOf: + - *587 + - *586 - allOf: - *279 - - *585 + - *586 - allOf: - *280 - - *585 + - *586 - allOf: - *281 - - *585 + - *586 - allOf: - *282 - - *585 + - *586 - allOf: - *283 - - *585 + - *586 - allOf: - *284 - - *585 + - *586 - allOf: - *285 - - *585 + - *586 - allOf: - *286 - - *585 + - *586 - allOf: - *287 - - *585 + - *586 - allOf: - *288 - - *585 + - *586 - allOf: - *289 - - *585 + - *586 - allOf: - *290 - - *585 + - *586 - allOf: - *291 - - *585 + - *586 - allOf: - *292 - - *585 + - *586 - allOf: - *293 - - *585 + - *586 - allOf: - - *587 - - *585 + - *294 + - *586 + - allOf: + - *588 + - *586 examples: default: value: @@ -88284,8 +88570,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - *17 - *19 - name: includes_parents @@ -88296,7 +88582,7 @@ paths: schema: type: boolean default: true - - *588 + - *589 responses: '200': description: Response @@ -88304,7 +88590,7 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: default: value: @@ -88351,8 +88637,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 requestBody: description: Request body required: true @@ -88372,16 +88658,16 @@ paths: - tag - push default: branch - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *273 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *589 + items: *590 required: - name - enforcement @@ -88412,9 +88698,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &599 + default: &600 value: id: 42 name: super cool ruleset @@ -88461,12 +88747,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *323 - *324 - - *590 + - *325 - *591 - *592 - *593 + - *594 - *17 - *19 responses: @@ -88474,9 +88760,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: - default: *595 + default: *596 '404': *6 '500': *103 x-github: @@ -88497,17 +88783,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *323 - *324 - - *596 + - *325 + - *597 responses: '200': description: Response content: application/json: - schema: *597 + schema: *598 examples: - default: *598 + default: *599 '404': *6 '500': *103 x-github: @@ -88535,8 +88821,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88556,9 +88842,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *599 + default: *600 '404': *6 '500': *103 put: @@ -88576,8 +88862,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88602,16 +88888,16 @@ paths: - branch - tag - push - enforcement: *271 + enforcement: *272 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *272 - conditions: *269 + items: *273 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *589 + items: *590 examples: default: value: @@ -88639,9 +88925,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *599 + default: *600 '404': *6 '500': *103 delete: @@ -88659,8 +88945,8 @@ paths: category: repos subcategory: rules parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88683,8 +88969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *323 - *324 + - *325 - *17 - *19 - name: ruleset_id @@ -88700,9 +88986,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *600 + default: *601 '404': *6 '500': *103 x-github: @@ -88721,8 +89007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *323 - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88740,7 +89026,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: default: value: @@ -88795,21 +89081,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *323 - *324 - - *602 + - *325 - *603 - *604 - *605 + - *606 - *48 - *19 - *17 - - *606 - *607 - *608 - *609 - *610 - *611 + - *612 responses: '200': description: Response @@ -88817,11 +89103,11 @@ paths: application/json: schema: type: array - items: &615 + items: &616 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -88829,15 +89115,15 @@ paths: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolved_at: type: string format: date-time @@ -88933,7 +89219,7 @@ paths: pull request. ' - oneOf: *614 + oneOf: *615 nullable: true has_more_locations: type: boolean @@ -89082,16 +89368,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 - - *611 + - *325 + - *426 + - *612 responses: '200': description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89143,9 +89429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 requestBody: required: true content: @@ -89153,8 +89439,8 @@ paths: schema: type: object properties: - state: *612 - resolution: *613 + state: *613 + resolution: *614 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89172,7 +89458,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -89247,9 +89533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *323 - *324 - - *425 + - *325 + - *426 - *19 - *17 responses: @@ -89260,7 +89546,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &772 + items: &775 type: object properties: type: @@ -89286,7 +89572,6 @@ paths: example: commit details: oneOf: - - *616 - *617 - *618 - *619 @@ -89299,6 +89584,7 @@ paths: - *626 - *627 - *628 + - *629 examples: default: value: @@ -89384,8 +89670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -89393,14 +89679,14 @@ paths: schema: type: object properties: - reason: &630 + reason: &631 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *629 + placeholder_id: *630 required: - reason - placeholder_id @@ -89417,7 +89703,7 @@ paths: schema: type: object properties: - reason: *630 + reason: *631 expire_at: type: string format: date-time @@ -89463,8 +89749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *323 - *324 + - *325 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89479,7 +89765,7 @@ paths: properties: incremental_scans: type: array - items: &631 + items: &632 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89505,15 +89791,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *631 + items: *632 backfill_scans: type: array - items: *631 + items: *632 custom_pattern_backfill_scans: type: array items: allOf: - - *631 + - *632 - type: object properties: pattern_name: @@ -89583,8 +89869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *323 - *324 + - *325 - *48 - name: sort description: The property to sort the results by. @@ -89628,9 +89914,9 @@ paths: application/json: schema: type: array - items: *632 + items: *633 examples: - default: *633 + default: *634 '400': *14 '404': *6 x-github: @@ -89653,8 +89939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -89727,7 +90013,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -89814,9 +90100,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: &635 + default: &636 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90049,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -90154,7 +90440,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -90301,17 +90587,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *323 - *324 - - *634 + - *325 + - *635 responses: '200': description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 + default: *636 '403': *29 '404': *6 x-github: @@ -90335,9 +90621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *323 - *324 - - *634 + - *325 + - *635 requestBody: required: true content: @@ -90410,7 +90696,7 @@ paths: login: type: string description: The username of the user credited. - type: *300 + type: *301 required: - login - type @@ -90496,17 +90782,17 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: - default: *635 - add_credit: *635 + default: *636 + add_credit: *636 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *109 + schema: *111 examples: invalid_state_transition: value: @@ -90537,9 +90823,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: - - *323 - *324 - - *634 + - *325 + - *635 responses: '202': *39 '400': *14 @@ -90566,17 +90852,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *323 - *324 - - *634 + - *325 + - *635 responses: '202': description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 '400': *14 '422': *15 '403': *29 @@ -90602,8 +90888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -90702,8 +90988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90712,7 +90998,7 @@ paths: application/json: schema: type: array - items: &636 + items: &637 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -90725,7 +91011,7 @@ paths: - 1124 - -435 '202': *39 - '204': *170 + '204': *172 '422': description: Repository contains more than 10,000 commits x-github: @@ -90745,8 +91031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -90795,7 +91081,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90822,8 +91108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -90897,7 +91183,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90919,8 +91205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *323 - *324 + - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91074,8 +91360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *323 - *324 + - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91085,7 +91371,7 @@ paths: application/json: schema: type: array - items: *636 + items: *637 examples: default: value: @@ -91098,7 +91384,7 @@ paths: - - 0 - 2 - 21 - '204': *170 + '204': *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91118,8 +91404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *323 - *324 + - *325 - name: sha in: path required: true @@ -91173,7 +91459,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -91227,8 +91513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91260,14 +91546,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *323 - *324 + - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &638 + schema: &639 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91335,8 +91621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *323 - *324 + - *325 requestBody: required: false content: @@ -91362,7 +91648,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -91389,8 +91675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -91410,8 +91696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91490,8 +91776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -91499,7 +91785,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Tag protection description: Tag protection type: object @@ -91551,8 +91837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -91575,7 +91861,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: default: value: @@ -91606,8 +91892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *323 - *324 + - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91644,8 +91930,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *323 - *324 + - *325 - name: ref in: path required: true @@ -91681,8 +91967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *323 - *324 + - *325 - *17 - *19 responses: @@ -91692,9 +91978,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *231 + default: *233 headers: Link: *54 '404': *6 @@ -91714,8 +92000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *323 - *324 + - *325 - *19 - *17 responses: @@ -91723,7 +92009,7 @@ paths: description: Response content: application/json: - schema: &640 + schema: &641 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -91735,7 +92021,7 @@ paths: required: - names examples: - default: &641 + default: &642 value: names: - octocat @@ -91758,8 +92044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -91790,9 +92076,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 '422': *7 x-github: @@ -91813,9 +92099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *323 - *324 - - &642 + - *325 + - &643 name: per description: The time frame to display results for. in: query @@ -91844,7 +92130,7 @@ paths: example: 128 clones: type: array - items: &643 + items: &644 title: Traffic type: object properties: @@ -91931,8 +92217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -92022,8 +92308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *323 - *324 + - *325 responses: '200': description: Response @@ -92083,9 +92369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *323 - *324 - - *642 + - *325 + - *643 responses: '200': description: Response @@ -92104,7 +92390,7 @@ paths: example: 3782 views: type: array - items: *643 + items: *644 required: - uniques - count @@ -92181,8 +92467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *323 - *324 + - *325 requestBody: required: true content: @@ -92218,7 +92504,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -92456,8 +92742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *323 - *324 + - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92480,8 +92766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -92503,8 +92789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -92530,8 +92816,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *323 - *324 + - *325 - name: ref in: path required: true @@ -92623,9 +92909,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -92666,7 +92952,7 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: default: value: @@ -92855,7 +93141,7 @@ paths: html_url: type: string format: uri - repository: *140 + repository: *142 score: type: number file_size: @@ -92873,7 +93159,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -93035,7 +93321,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -93106,7 +93392,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true comment_count: type: integer @@ -93126,7 +93412,7 @@ paths: url: type: string format: uri - verification: *507 + verification: *508 required: - author - committer @@ -93145,7 +93431,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *391 + properties: *392 nullable: true parents: type: array @@ -93158,12 +93444,12 @@ paths: type: string sha: type: string - repository: *140 + repository: *142 score: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -93355,7 +93641,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *17 - *19 - name: advanced_search @@ -93452,11 +93738,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: type: string state_reason: @@ -93473,8 +93759,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *254 - required: *255 + properties: *255 + required: *256 nullable: true comments: type: integer @@ -93488,7 +93774,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -93532,7 +93818,7 @@ paths: timeline_url: type: string format: uri - type: *214 + type: *216 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93713,7 +93999,7 @@ paths: enum: - created - updated - - *645 + - *646 - *17 - *19 responses: @@ -93757,7 +94043,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -93842,7 +94128,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *17 - *19 responses: @@ -94081,7 +94367,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -94381,7 +94667,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -94572,7 +94858,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *17 - *19 responses: @@ -94676,7 +94962,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -94755,7 +95041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &649 + - &650 name: team_id description: The unique identifier of the team. in: path @@ -94767,9 +95053,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -94796,7 +95082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -94859,16 +95145,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '201': description: Response content: application/json: - schema: *308 + schema: *309 examples: - default: *309 + default: *310 '404': *6 '422': *15 '403': *29 @@ -94896,7 +95182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *649 + - *650 responses: '204': description: Response @@ -94927,7 +95213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *649 + - *650 - *48 - *17 - *19 @@ -94938,9 +95224,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *650 + default: *651 headers: Link: *54 x-github: @@ -94969,7 +95255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *649 + - *650 requestBody: required: true content: @@ -95003,9 +95289,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -95032,16 +95318,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95066,8 +95352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: false content: @@ -95090,9 +95376,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *651 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95117,8 +95403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 responses: '204': description: Response @@ -95147,8 +95433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *649 - - *312 + - *650 + - *313 - *48 - *17 - *19 @@ -95159,9 +95445,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *652 + default: *653 headers: Link: *54 x-github: @@ -95190,8 +95476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: true content: @@ -95213,9 +95499,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: triggersNotification: true githubCloudOnly: false @@ -95242,17 +95528,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95277,9 +95563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 requestBody: required: true content: @@ -95301,9 +95587,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *653 + default: *654 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95328,9 +95614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 responses: '204': description: Response @@ -95359,9 +95645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 - 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 team discussion comment. @@ -95387,9 +95673,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -95418,9 +95704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *649 - - *312 - - *315 + - *650 + - *313 + - *316 requestBody: required: true content: @@ -95452,9 +95738,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95480,8 +95766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 - 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 team discussion. @@ -95507,9 +95793,9 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: - default: *318 + default: *319 headers: Link: *54 x-github: @@ -95538,8 +95824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *649 - - *312 + - *650 + - *313 requestBody: required: true content: @@ -95571,9 +95857,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95597,7 +95883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95607,9 +95893,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 headers: Link: *54 x-github: @@ -95635,7 +95921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *649 + - *650 - name: role description: Filters members returned by their role in the team. in: query @@ -95686,7 +95972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95723,7 +96009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95763,7 +96049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95800,16 +96086,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '200': description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-user-is-a-team-maintainer: *654 + response-if-user-is-a-team-maintainer: *655 '404': *6 x-github: githubCloudOnly: false @@ -95842,7 +96128,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 requestBody: required: false @@ -95868,9 +96154,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *655 + response-if-users-membership-with-team-is-now-pending: *656 '403': description: Forbidden if team synchronization is set up '422': @@ -95904,7 +96190,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *649 + - *650 - *59 responses: '204': @@ -95933,7 +96219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -95943,9 +96229,9 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: - default: *656 + default: *657 headers: Link: *54 '404': *6 @@ -95971,16 +96257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *649 - - *322 + - *650 + - *323 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *657 + default: *658 '404': description: Not Found if project is not managed by this team x-github: @@ -96004,8 +96290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *649 - - *322 + - *650 + - *323 requestBody: required: false content: @@ -96072,8 +96358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *649 - - *322 + - *650 + - *323 responses: '204': description: Response @@ -96100,7 +96386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96110,9 +96396,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -96142,15 +96428,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *658 + schema: *659 examples: alternative-response-with-extra-repository-information: value: @@ -96301,9 +96587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 requestBody: required: false content: @@ -96353,9 +96639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *649 - - *323 + - *650 - *324 + - *325 responses: '204': description: Response @@ -96380,7 +96666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *649 + - *650 - *17 - *19 responses: @@ -96390,9 +96676,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - response-if-child-teams-exist: *659 + response-if-child-teams-exist: *660 headers: Link: *54 '404': *6 @@ -96425,7 +96711,7 @@ paths: application/json: schema: oneOf: - - &661 + - &662 title: Private User description: Private User type: object @@ -96628,7 +96914,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *660 + - *661 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96781,7 +97067,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: default: value: @@ -96984,9 +97270,9 @@ paths: type: integer codespaces: type: array - items: *219 + items: *221 examples: - default: *220 + default: *222 '304': *37 '500': *103 '401': *25 @@ -97125,17 +97411,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97179,7 +97465,7 @@ paths: type: integer secrets: type: array - items: &662 + items: &663 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97219,7 +97505,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *54 x-github: @@ -97289,13 +97575,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '200': description: Response content: application/json: - schema: *662 + schema: *663 examples: default: value: @@ -97325,7 +97611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 requestBody: required: true content: @@ -97370,7 +97656,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -97398,7 +97684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *148 + - *150 responses: '204': description: Response @@ -97423,7 +97709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 responses: '200': description: Response @@ -97439,9 +97725,9 @@ paths: type: integer repositories: type: array - items: *140 + items: *142 examples: - default: *663 + default: *664 '401': *25 '403': *29 '404': *6 @@ -97466,7 +97752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *148 + - *150 requestBody: required: true content: @@ -97520,7 +97806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97553,7 +97839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *148 + - *150 - name: repository_id in: path required: true @@ -97585,15 +97871,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '304': *37 '500': *103 '401': *25 @@ -97619,7 +97905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 requestBody: required: false content: @@ -97649,9 +97935,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97673,7 +97959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': *39 '304': *37 @@ -97702,13 +97988,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '202': description: Response content: application/json: - schema: &664 + schema: &665 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97749,7 +98035,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &665 + default: &666 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97781,7 +98067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *221 + - *223 - name: export_id in: path required: true @@ -97794,9 +98080,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *665 examples: - default: *665 + default: *666 '404': *6 x-github: githubCloudOnly: false @@ -97817,7 +98103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *221 + - *223 responses: '200': description: Response @@ -97833,9 +98119,9 @@ paths: type: integer machines: type: array - items: *666 + items: *667 examples: - default: *667 + default: *668 '304': *37 '500': *103 '401': *25 @@ -97864,7 +98150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *221 + - *223 requestBody: required: true content: @@ -97914,13 +98200,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *331 + repository: *332 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98694,15 +98980,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '304': *37 '500': *103 '400': *14 @@ -98734,15 +99020,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *221 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *221 examples: - default: *445 + default: *446 '500': *103 '401': *25 '403': *29 @@ -98772,9 +99058,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: &678 + default: &679 value: - id: 197 name: hello_docker @@ -98875,7 +99161,7 @@ paths: application/json: schema: type: array - items: &668 + items: &669 title: Email description: Email type: object @@ -98940,9 +99226,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: &680 + default: &681 value: - email: octocat@github.com verified: true @@ -99017,7 +99303,7 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: default: value: @@ -99273,7 +99559,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: GPG Key description: A unique encryption key type: object @@ -99404,7 +99690,7 @@ paths: - subkeys - revoked examples: - default: &694 + default: &695 value: - id: 3 name: Octocat's GPG Key @@ -99489,9 +99775,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: id: 3 name: Octocat's GPG Key @@ -99548,7 +99834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &672 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99560,9 +99846,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99585,7 +99871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *672 responses: '204': description: Response @@ -99776,7 +100062,7 @@ paths: type: array items: *66 examples: - default: *132 + default: *134 headers: Link: *54 '404': *6 @@ -99801,7 +100087,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99827,7 +100113,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *129 + - *131 responses: '204': description: Response @@ -99861,12 +100147,12 @@ paths: application/json: schema: anyOf: - - *209 + - *211 - type: object properties: {} additionalProperties: false examples: - default: *210 + default: *212 '204': description: Response when there are no restrictions x-github: @@ -99890,7 +100176,7 @@ paths: required: true content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -99901,7 +100187,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -99982,7 +100268,7 @@ paths: - closed - all default: open - - *217 + - *219 - name: sort description: What to sort results by. in: query @@ -100007,7 +100293,7 @@ paths: type: array items: *82 examples: - default: *218 + default: *220 headers: Link: *54 '404': *6 @@ -100040,7 +100326,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: Key description: Key type: object @@ -100141,9 +100427,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: &673 + default: &674 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100176,15 +100462,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '200': description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '404': *6 '304': *37 '403': *29 @@ -100207,7 +100493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *547 + - *548 responses: '204': description: Response @@ -100240,7 +100526,7 @@ paths: application/json: schema: type: array - items: &674 + items: &675 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100308,7 +100594,7 @@ paths: - account - plan examples: - default: &675 + default: &676 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100370,9 +100656,9 @@ paths: application/json: schema: type: array - items: *674 + items: *675 examples: - default: *675 + default: *676 headers: Link: *54 '304': *37 @@ -100412,7 +100698,7 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: default: value: @@ -100520,7 +100806,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100603,7 +100889,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -100671,7 +100957,7 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: default: value: @@ -100924,7 +101210,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101104,7 +101390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *226 + - *228 - name: exclude in: query required: false @@ -101117,7 +101403,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -101311,7 +101597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *226 + - *228 responses: '302': description: Response @@ -101337,7 +101623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *226 + - *228 responses: '204': description: Response @@ -101366,8 +101652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *226 - - *676 + - *228 + - *677 responses: '204': description: Response @@ -101391,7 +101677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *226 + - *228 - *17 - *19 responses: @@ -101401,9 +101687,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '404': *6 @@ -101482,7 +101768,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *19 - *17 responses: @@ -101492,10 +101778,10 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 - '400': *679 + default: *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101515,16 +101801,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: &695 + default: &696 value: id: 40201 name: octo-name @@ -101637,8 +101923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 responses: '204': description: Response @@ -101668,8 +101954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 + - *237 - name: token description: package token schema: @@ -101701,8 +101987,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: - - *234 - - *235 + - *236 + - *237 - *19 - *17 - name: state @@ -101722,7 +102008,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -101771,15 +102057,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -101815,9 +102101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101847,9 +102133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 responses: '204': description: Response @@ -101905,7 +102191,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: default: value: @@ -101977,9 +102263,9 @@ paths: application/json: schema: type: array - items: *668 + items: *669 examples: - default: *680 + default: *681 headers: Link: *54 '304': *37 @@ -102092,7 +102378,7 @@ paths: type: array items: *66 examples: - default: &687 + default: &688 summary: Default response value: - id: 1296269 @@ -102396,9 +102682,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: - default: *333 + default: *334 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102436,9 +102722,9 @@ paths: application/json: schema: type: array - items: *520 + items: *521 examples: - default: *681 + default: *682 headers: Link: *54 '304': *37 @@ -102461,7 +102747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102484,7 +102770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *213 + - *215 responses: '204': description: Response @@ -102517,7 +102803,7 @@ paths: application/json: schema: type: array - items: &682 + items: &683 title: Social account description: Social media account type: object @@ -102532,7 +102818,7 @@ paths: - provider - url examples: - default: &683 + default: &684 value: - provider: twitter url: https://twitter.com/github @@ -102594,9 +102880,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 '422': *15 '304': *37 '404': *6 @@ -102683,7 +102969,7 @@ paths: application/json: schema: type: array - items: &684 + items: &685 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102703,7 +102989,7 @@ paths: - title - created_at examples: - default: &708 + default: &711 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102769,9 +103055,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &685 + default: &686 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102802,7 +103088,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: - - &686 + - &687 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102814,9 +103100,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *685 + default: *686 '404': *6 '304': *37 '403': *29 @@ -102839,7 +103125,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: - - *686 + - *687 responses: '204': description: Response @@ -102868,7 +103154,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &709 + - &712 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 @@ -102893,11 +103179,11 @@ paths: type: array items: *66 examples: - default-response: *687 + default-response: *688 application/vnd.github.v3.star+json: schema: type: array - items: &710 + items: &713 title: Starred Repository description: Starred Repository type: object @@ -103053,8 +103339,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: - - *323 - *324 + - *325 responses: '204': description: Response if this repository is starred by you @@ -103082,8 +103368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -103107,8 +103393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *323 - *324 + - *325 responses: '204': description: Response @@ -103141,9 +103427,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 '304': *37 @@ -103180,7 +103466,7 @@ paths: application/json: schema: type: array - items: *308 + items: *309 examples: default: value: @@ -103266,10 +103552,10 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: &689 + default-response: &690 summary: Default response value: login: octocat @@ -103304,7 +103590,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &690 + response-with-git-hub-plan-information: &691 summary: Response with GitHub plan information value: login: octocat @@ -103364,7 +103650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *688 + - *689 - *17 responses: '200': @@ -103413,11 +103699,11 @@ paths: application/json: schema: oneOf: + - *662 - *661 - - *660 examples: - default-response: *689 - response-with-git-hub-plan-information: *690 + default-response: *690 + response-with-git-hub-plan-information: *691 '404': *6 x-github: githubCloudOnly: false @@ -103467,8 +103753,8 @@ paths: required: - subject_digests examples: - default: *691 - withPredicateType: *692 + default: *692 + withPredicateType: *693 responses: '200': description: Response @@ -103521,7 +103807,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *693 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103726,12 +104012,12 @@ paths: initiator: type: string examples: - default: *387 + default: *388 '201': description: Response content: application/json: - schema: *149 + schema: *151 examples: default: value: @@ -103765,9 +104051,9 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *679 '403': *29 '401': *25 x-github: @@ -104151,9 +104437,9 @@ paths: application/json: schema: type: array - items: *669 + items: *670 examples: - default: *694 + default: *695 headers: Link: *54 x-github: @@ -104257,7 +104543,7 @@ paths: application/json: schema: *22 examples: - default: *517 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104381,7 +104667,7 @@ paths: - docker - nuget - container - - *677 + - *678 - *59 - *19 - *17 @@ -104392,12 +104678,12 @@ paths: application/json: schema: type: array - items: *232 + items: *234 examples: - default: *678 + default: *679 '403': *29 '401': *25 - '400': *679 + '400': *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104417,17 +104703,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *695 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104448,8 +104734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '204': @@ -104482,8 +104768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 - name: token description: package token @@ -104516,8 +104802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *234 - - *235 + - *236 + - *237 - *59 responses: '200': @@ -104526,7 +104812,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -104584,16 +104870,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *234 - - *235 + - *236 - *237 + - *239 - *59 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104628,10 +104914,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104663,10 +104949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *234 - - *235 - - *59 + - *236 - *237 + - *59 + - *239 responses: '204': description: Response @@ -104713,7 +104999,7 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: default: value: @@ -104788,9 +105074,9 @@ paths: application/json: schema: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104812,16 +105098,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *251 + - *253 - *59 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *250 + default: *252 headers: Link: *54 '304': *37 @@ -104843,7 +105129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *251 + - *253 - *59 - *17 - *40 @@ -104855,9 +105141,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *697 headers: Link: *54 '304': *37 @@ -104879,17 +105165,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *251 - - *696 + - *253 + - *698 - *59 responses: '200': description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *699 headers: Link: *54 '304': *37 @@ -104912,7 +105198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - *40 - *41 @@ -104945,9 +105231,9 @@ paths: application/json: schema: type: array - items: *259 + items: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -104969,7 +105255,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *251 + - *253 requestBody: required: true description: Details of the item to add to the project. @@ -105006,10 +105292,10 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: - issue: *258 - pull_request: *258 + issue: *259 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -105029,9 +105315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *251 + - *253 - *59 - - *261 + - *262 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105051,9 +105337,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - default: *260 + default: *261 headers: Link: *54 '304': *37 @@ -105074,9 +105360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105146,13 +105432,13 @@ paths: description: Response content: application/json: - schema: *259 + schema: *260 examples: - text_field: *260 - number_field: *260 - date_field: *260 - single_select_field: *260 - iteration_field: *260 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -105172,9 +105458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *251 + - *253 - *59 - - *261 + - *262 responses: '204': description: Response @@ -105392,9 +105678,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105424,9 +105710,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *701 examples: - default: *699 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105454,9 +105740,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *703 examples: - default: *701 + default: *704 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105478,10 +105764,10 @@ paths: parameters: - *59 - *105 - - *702 + - *107 - *106 - - *703 - - *704 + - *705 + - *108 responses: '200': description: Response when getting a billing premium request usage report @@ -105617,9 +105903,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: - default: *706 + default: *707 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105641,7 +105927,7 @@ paths: parameters: - *59 - *105 - - *707 + - *708 - *106 responses: '200': @@ -105719,6 +106005,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *59 + - *105 + - *107 + - *106 + - *709 + - *108 + - *710 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *103 + '503': *104 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -105741,9 +106162,9 @@ paths: application/json: schema: type: array - items: *682 + items: *683 examples: - default: *683 + default: *684 headers: Link: *54 x-github: @@ -105773,9 +106194,9 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: - default: *708 + default: *711 headers: Link: *54 x-github: @@ -105800,7 +106221,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *709 + - *712 - *48 - *17 - *19 @@ -105812,11 +106233,11 @@ paths: schema: anyOf: - type: array - items: *710 + items: *713 - type: array items: *66 examples: - default-response: *687 + default-response: *688 headers: Link: *54 x-github: @@ -105845,9 +106266,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *238 + default: *240 headers: Link: *54 x-github: @@ -105975,7 +106396,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &711 + enterprise: &714 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106033,7 +106454,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &712 + installation: &715 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106052,7 +106473,7 @@ x-webhooks: required: - id - node_id - organization: &713 + organization: &716 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106112,13 +106533,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &714 + repository: &717 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: &744 + properties: &747 id: description: Unique identifier of the repository example: 42 @@ -106801,7 +107222,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &745 + required: &748 - archive_url - assignees_url - blobs_url @@ -106952,10 +107373,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -107031,11 +107452,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: &715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: &718 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) @@ -107258,11 +107679,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -107445,11 +107866,11 @@ x-webhooks: - everyone required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - rule: *715 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + rule: *718 sender: *4 required: - action @@ -107533,7 +107954,7 @@ x-webhooks: type: string enum: - completed - check_run: &717 + check_run: &720 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107586,8 +108007,8 @@ x-webhooks: type: string pull_requests: type: array - items: *404 - repository: *140 + items: *405 + repository: *142 status: example: completed type: string @@ -107624,7 +108045,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *716 + deployment: *719 details_url: example: https://example.com type: string @@ -107674,7 +108095,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *404 + items: *405 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -107709,10 +108130,10 @@ x-webhooks: - output - app - pull_requests - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -108105,11 +108526,11 @@ x-webhooks: type: string enum: - created - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -108505,11 +108926,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 requested_action: description: The action requested by the user. type: object @@ -108914,11 +109335,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *717 - installation: *712 - enterprise: *711 - organization: *713 - repository: *714 + check_run: *720 + installation: *715 + enterprise: *714 + organization: *716 + repository: *717 sender: *4 required: - check_run @@ -109895,10 +110316,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -110568,10 +110989,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -111235,10 +111656,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -111404,7 +111825,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111549,20 +111970,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &718 + commit_oid: &721 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: *711 - installation: *712 - organization: *713 - ref: &719 + enterprise: *714 + installation: *715 + organization: *716 + ref: &722 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: *714 + repository: *717 sender: *4 required: - action @@ -111727,7 +112148,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111957,12 +112378,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112057,7 +112478,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112228,12 +112649,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112399,7 +112820,7 @@ x-webhooks: required: - login - id - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112565,12 +112986,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -112670,7 +113091,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112838,16 +113259,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 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: *714 + repository: *717 sender: *4 required: - action @@ -112944,7 +113365,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *420 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113084,12 +113505,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *718 - enterprise: *711 - installation: *712 - organization: *713 - ref: *719 - repository: *714 + commit_oid: *721 + enterprise: *714 + installation: *715 + organization: *716 + ref: *722 + repository: *717 sender: *4 required: - action @@ -113346,10 +113767,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -113429,18 +113850,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *713 - pusher_type: &720 + organization: *716 + pusher_type: &723 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &721 + ref: &724 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113450,7 +113871,7 @@ x-webhooks: enum: - tag - branch - repository: *714 + repository: *717 sender: *4 required: - ref @@ -113532,10 +113953,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113620,9 +114041,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113699,10 +114120,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113779,10 +114200,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *711 - installation: *712 - organization: *713 + definition: *263 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -113859,10 +114280,10 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - repository: *714 - organization: *713 + enterprise: *714 + installation: *715 + repository: *717 + organization: *716 sender: *4 new_property_values: type: array @@ -113947,18 +114368,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - pusher_type: *720 - ref: *721 + enterprise: *714 + installation: *715 + organization: *716 + pusher_type: *723 + ref: *724 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *714 + repository: *717 sender: *4 required: - ref @@ -114042,11 +114463,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114130,11 +114551,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114218,11 +114639,11 @@ x-webhooks: type: string enum: - created - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114304,11 +114725,11 @@ x-webhooks: type: string enum: - dismissed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114390,11 +114811,11 @@ x-webhooks: type: string enum: - fixed - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114477,11 +114898,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114563,11 +114984,11 @@ x-webhooks: type: string enum: - reopened - alert: *476 - installation: *712 - organization: *713 - enterprise: *711 - repository: *714 + alert: *477 + installation: *715 + organization: *716 + enterprise: *714 + repository: *717 sender: *4 required: - action @@ -114644,9 +115065,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - key: &722 + enterprise: *714 + installation: *715 + key: &725 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114682,8 +115103,8 @@ x-webhooks: - verified - created_at - read_only - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -114760,11 +115181,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - key: *722 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + key: *725 + organization: *716 + repository: *717 sender: *4 required: - action @@ -115325,12 +115746,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: &726 + workflow: &729 title: Workflow type: object nullable: true @@ -116056,13 +116477,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *482 + deployment: *483 pull_requests: type: array - items: *568 - repository: *714 - organization: *713 - installation: *712 + items: *569 + repository: *717 + organization: *716 + installation: *715 sender: *4 responses: '200': @@ -116133,7 +116554,7 @@ x-webhooks: type: string enum: - approved - approver: &723 + approver: &726 type: object properties: avatar_url: @@ -116176,11 +116597,11 @@ x-webhooks: type: string comment: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - reviewers: &724 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: &727 type: array items: type: object @@ -116259,7 +116680,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &725 + workflow_job_run: &728 type: object properties: conclusion: @@ -116990,18 +117411,18 @@ x-webhooks: type: string enum: - rejected - approver: *723 + approver: *726 comment: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - reviewers: *724 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + reviewers: *727 sender: *4 since: type: string - workflow_job_run: *725 + workflow_job_run: *728 workflow_job_runs: type: array items: @@ -117705,13 +118126,13 @@ x-webhooks: type: string enum: - requested - enterprise: *711 + enterprise: *714 environment: type: string - installation: *712 - organization: *713 - repository: *714 - requestor: &731 + installation: *715 + organization: *716 + repository: *717 + requestor: &734 title: User type: object nullable: true @@ -119610,12 +120031,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Deployment Workflow Run type: object @@ -120295,7 +120716,7 @@ x-webhooks: type: string enum: - answered - answer: &729 + answer: &732 type: object properties: author_association: @@ -120452,7 +120873,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &727 + discussion: &730 title: Discussion description: A Discussion in a repository. type: object @@ -120738,7 +121159,7 @@ x-webhooks: - id labels: type: array - items: *530 + items: *531 required: - repository_url - category @@ -120760,10 +121181,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120890,11 +121311,11 @@ x-webhooks: - from required: - category - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -120977,11 +121398,11 @@ x-webhooks: type: string enum: - closed - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121063,7 +121484,7 @@ x-webhooks: type: string enum: - created - comment: &728 + comment: &731 type: object properties: author_association: @@ -121220,11 +121641,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121307,12 +121728,12 @@ x-webhooks: type: string enum: - deleted - comment: *728 - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121407,12 +121828,12 @@ x-webhooks: - from required: - body - comment: *728 - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + comment: *731 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121496,11 +121917,11 @@ x-webhooks: type: string enum: - created - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121582,11 +122003,11 @@ x-webhooks: type: string enum: - deleted - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121686,11 +122107,11 @@ x-webhooks: type: string required: - from - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121772,10 +122193,10 @@ x-webhooks: type: string enum: - labeled - discussion: *727 - enterprise: *711 - installation: *712 - label: &730 + discussion: *730 + enterprise: *714 + installation: *715 + label: &733 title: Label type: object properties: @@ -121807,8 +122228,8 @@ x-webhooks: - color - default - description - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121891,11 +122312,11 @@ x-webhooks: type: string enum: - locked - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -121977,11 +122398,11 @@ x-webhooks: type: string enum: - pinned - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122063,11 +122484,11 @@ x-webhooks: type: string enum: - reopened - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122152,16 +122573,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *727 - new_repository: *714 + new_discussion: *730 + new_repository: *717 required: - new_discussion - new_repository - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122244,10 +122665,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *727 - old_answer: *729 - organization: *713 - repository: *714 + discussion: *730 + old_answer: *732 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122329,12 +122750,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *727 - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122417,11 +122838,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122503,11 +122924,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *727 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + discussion: *730 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -122580,7 +123001,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *711 + enterprise: *714 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123240,9 +123661,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - forkee @@ -123388,9 +123809,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pages: description: The pages that were updated. type: array @@ -123427,7 +123848,7 @@ x-webhooks: - action - sha - html_url - repository: *714 + repository: *717 sender: *4 required: - pages @@ -123503,10 +123924,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: &732 + organization: *716 + repositories: &735 description: An array of repository objects that the installation can access. type: array @@ -123532,8 +123953,8 @@ x-webhooks: - name - full_name - private - repository: *714 - requester: *731 + repository: *717 + requester: *734 sender: *4 required: - action @@ -123608,11 +124029,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -123688,11 +124109,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -123768,10 +124189,10 @@ x-webhooks: type: string enum: - added - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories_added: &733 + organization: *716 + repositories_added: &736 description: An array of repository objects, which were added to the installation. type: array @@ -123817,15 +124238,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *714 - repository_selection: &734 + repository: *717 + repository_selection: &737 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *731 + requester: *734 sender: *4 required: - action @@ -123904,10 +124325,10 @@ x-webhooks: type: string enum: - removed - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories_added: *733 + organization: *716 + repositories_added: *736 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123934,9 +124355,9 @@ x-webhooks: - name - full_name - private - repository: *714 - repository_selection: *734 - requester: *731 + repository: *717 + repository_selection: *737 + requester: *734 sender: *4 required: - action @@ -124015,11 +124436,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -124197,10 +124618,10 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 target_type: type: string @@ -124279,11 +124700,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *711 + enterprise: *714 installation: *22 - organization: *713 - repositories: *732 - repository: *714 + organization: *716 + repositories: *735 + repository: *717 requester: nullable: true sender: *4 @@ -124535,8 +124956,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125330,8 +125751,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125347,7 +125768,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -125680,8 +126101,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -125761,7 +126182,7 @@ x-webhooks: type: string enum: - deleted - comment: &735 + comment: &738 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125926,8 +126347,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126717,8 +127138,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126734,7 +127155,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -127069,8 +127490,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -127150,7 +127571,7 @@ x-webhooks: type: string enum: - edited - changes: &764 + changes: &767 description: The changes to the comment. type: object properties: @@ -127162,9 +127583,9 @@ x-webhooks: type: string required: - from - comment: *735 - enterprise: *711 - installation: *712 + comment: *738 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127957,8 +128378,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127974,7 +128395,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -128307,8 +128728,8 @@ x-webhooks: - state - locked - assignee - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128398,9 +128819,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128494,9 +128915,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128589,9 +129010,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128685,9 +129106,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -128772,10 +129193,10 @@ x-webhooks: type: string enum: - assigned - assignee: *731 - enterprise: *711 - installation: *712 - issue: &738 + assignee: *734 + enterprise: *714 + installation: *715 + issue: &741 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129564,11 +129985,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129584,7 +130005,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -129685,8 +130106,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -129766,8 +130187,8 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130561,11 +130982,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130581,7 +131002,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -130817,8 +131238,8 @@ x-webhooks: required: - state - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -130897,8 +131318,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131683,11 +132104,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131703,7 +132124,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -131803,8 +132224,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -131883,8 +132304,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132691,11 +133112,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132711,7 +133132,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -132790,7 +133211,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &736 + milestone: &739 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132928,8 +133349,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -133028,8 +133449,8 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133818,11 +134239,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133835,7 +134256,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -133939,9 +134360,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *730 - organization: *713 - repository: *714 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -134021,8 +134442,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134810,11 +135231,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134827,7 +135248,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -134931,9 +135352,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *730 - organization: *713 - repository: *714 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -135013,8 +135434,8 @@ x-webhooks: type: string enum: - locked - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135826,11 +136247,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135843,7 +136264,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *214 + type: *216 title: description: Title of the issue type: string @@ -135924,8 +136345,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -136004,8 +136425,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136811,11 +137232,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136831,7 +137252,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -136909,9 +137330,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *736 - organization: *713 - repository: *714 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -137779,11 +138200,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137876,7 +138297,7 @@ x-webhooks: required: - login - id - type: *214 + type: *216 required: - id - number @@ -138345,8 +138766,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139135,11 +139556,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139155,7 +139576,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -139255,8 +139676,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -139336,9 +139757,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *711 - installation: *712 - issue: &737 + enterprise: *714 + installation: *715 + issue: &740 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140121,11 +140542,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140141,7 +140562,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -140241,8 +140662,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -140321,8 +140742,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141132,11 +141553,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141230,9 +141651,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *214 - organization: *713 - repository: *714 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142098,11 +142519,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142118,7 +142539,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -142686,11 +143107,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *711 - installation: *712 - issue: *737 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142770,12 +143191,12 @@ x-webhooks: type: string enum: - typed - enterprise: *711 - installation: *712 - issue: *738 - type: *214 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -142856,7 +143277,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &767 + assignee: &770 title: User type: object nullable: true @@ -142926,11 +143347,11 @@ x-webhooks: required: - login - id - enterprise: *711 - installation: *712 - issue: *738 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143009,12 +143430,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *711 - installation: *712 - issue: *738 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -143094,8 +143515,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143905,11 +144326,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *646 - issue_dependencies_summary: *647 + sub_issues_summary: *647 + issue_dependencies_summary: *648 issue_field_values: type: array - items: *648 + items: *649 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143925,7 +144346,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *214 + type: *216 updated_at: type: string format: date-time @@ -144003,8 +144424,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144084,11 +144505,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *711 - installation: *712 - issue: *737 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *740 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144167,12 +144588,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *711 - installation: *712 - issue: *738 - type: *214 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + issue: *741 + type: *216 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144252,11 +144673,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144334,11 +144755,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144448,11 +144869,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - label: *730 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + label: *733 + organization: *716 + repository: *717 sender: *4 required: - action @@ -144534,9 +144955,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: &739 + enterprise: *714 + installation: *715 + marketplace_purchase: &742 title: Marketplace Purchase type: object required: @@ -144619,8 +145040,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *713 - previous_marketplace_purchase: &740 + organization: *716 + previous_marketplace_purchase: &743 title: Marketplace Purchase type: object properties: @@ -144700,7 +145121,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -144780,10 +145201,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144866,7 +145287,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -144948,10 +145369,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145033,7 +145454,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *714 + repository: *717 sender: *4 required: - action @@ -145114,8 +145535,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 marketplace_purchase: title: Marketplace Purchase type: object @@ -145197,9 +145618,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *713 - previous_marketplace_purchase: *740 - repository: *714 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -145279,12 +145700,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *711 - installation: *712 - marketplace_purchase: *739 - organization: *713 - previous_marketplace_purchase: *740 - repository: *714 + enterprise: *714 + installation: *715 + marketplace_purchase: *742 + organization: *716 + previous_marketplace_purchase: *743 + repository: *717 sender: *4 required: - action @@ -145386,11 +145807,11 @@ x-webhooks: type: string required: - to - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145490,11 +145911,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145573,11 +145994,11 @@ x-webhooks: type: string enum: - removed - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 sender: *4 required: - action @@ -145655,11 +146076,11 @@ x-webhooks: type: string enum: - added - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145735,7 +146156,7 @@ x-webhooks: required: - login - id - team: &741 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145958,11 +146379,11 @@ x-webhooks: type: string enum: - removed - enterprise: *711 - installation: *712 - member: *731 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + member: *734 + organization: *716 + repository: *717 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146039,7 +146460,7 @@ x-webhooks: required: - login - id - team: *741 + team: *744 required: - action - scope @@ -146121,8 +146542,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *712 - merge_group: &743 + installation: *715 + merge_group: &746 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146141,15 +146562,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *742 + head_commit: *745 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146235,10 +146656,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *712 - merge_group: *743 - organization: *713 - repository: *714 + installation: *715 + merge_group: *746 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146311,7 +146732,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 + enterprise: *714 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146420,16 +146841,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *712 - organization: *713 + installation: *715 + organization: *716 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -146510,11 +146931,11 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146593,9 +147014,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - milestone: &746 + enterprise: *714 + installation: *715 + milestone: &749 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146732,8 +147153,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146812,11 +147233,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -146926,11 +147347,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - milestone: *736 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *739 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147010,11 +147431,11 @@ x-webhooks: type: string enum: - opened - enterprise: *711 - installation: *712 - milestone: *746 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + milestone: *749 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147093,11 +147514,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *731 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147176,11 +147597,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *731 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + blocked_user: *734 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147259,9 +147680,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - membership: &747 + enterprise: *714 + installation: *715 + membership: &750 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147368,8 +147789,8 @@ x-webhooks: - role - organization_url - user - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147447,11 +147868,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147530,8 +147951,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147647,10 +148068,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 - user: *731 + user: *734 required: - action - invitation @@ -147728,11 +148149,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147819,11 +148240,11 @@ x-webhooks: properties: from: type: string - enterprise: *711 - installation: *712 - membership: *747 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + membership: *750 + organization: *716 + repository: *717 sender: *4 required: - action @@ -147899,9 +148320,9 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -148400,7 +148821,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &748 + items: &751 title: Ruby Gems metadata type: object properties: @@ -148495,7 +148916,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -148571,9 +148992,9 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 package: description: Information about the package. type: object @@ -148926,7 +149347,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *748 + items: *751 source_url: type: string format: uri @@ -148996,7 +149417,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -149173,12 +149594,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *711 + enterprise: *714 id: type: integer - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - id @@ -149255,7 +149676,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &749 + personal_access_token_request: &752 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149401,10 +149822,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *711 - organization: *713 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149481,11 +149902,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *749 - enterprise: *711 - organization: *713 + personal_access_token_request: *752 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149561,11 +149982,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *749 - enterprise: *711 - organization: *713 + personal_access_token_request: *752 + enterprise: *714 + organization: *716 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149640,11 +150061,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *749 - organization: *713 - enterprise: *711 + personal_access_token_request: *752 + organization: *716 + enterprise: *714 sender: *4 - installation: *712 + installation: *715 required: - action - personal_access_token_request @@ -149749,7 +150170,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *750 + last_response: *753 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149781,8 +150202,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 zen: description: Random string of GitHub zen. @@ -150027,10 +150448,10 @@ x-webhooks: - from required: - note - enterprise: *711 - installation: *712 - organization: *713 - project_card: &751 + enterprise: *714 + installation: *715 + organization: *716 + project_card: &754 title: Project Card type: object properties: @@ -150149,7 +150570,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -150230,11 +150651,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project_card: *751 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *754 + repository: *717 sender: *4 required: - action @@ -150314,9 +150735,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 project_card: title: Project Card type: object @@ -150444,8 +150865,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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -150539,11 +150960,11 @@ x-webhooks: - from required: - note - enterprise: *711 - installation: *712 - organization: *713 - project_card: *751 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_card: *754 + repository: *717 sender: *4 required: - action @@ -150637,9 +151058,9 @@ x-webhooks: - from required: - column_id - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 project_card: allOf: - title: Project Card @@ -150829,7 +151250,7 @@ x-webhooks: type: string required: - after_id - repository: *714 + repository: *717 sender: *4 required: - action @@ -150909,10 +151330,10 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - organization: *713 - project: &753 + enterprise: *714 + installation: *715 + organization: *716 + project: &756 title: Project type: object properties: @@ -151036,7 +151457,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -151116,10 +151537,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project_column: &752 + enterprise: *714 + installation: *715 + organization: *716 + project_column: &755 title: Project Column type: object properties: @@ -151158,7 +151579,7 @@ x-webhooks: - name - created_at - updated_at - repository: *714 + repository: *717 sender: *4 required: - action @@ -151237,18 +151658,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -151338,11 +151759,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 + repository: *717 sender: *4 required: - action @@ -151422,11 +151843,11 @@ x-webhooks: type: string enum: - moved - enterprise: *711 - installation: *712 - organization: *713 - project_column: *752 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project_column: *755 + repository: *717 sender: *4 required: - action @@ -151506,11 +151927,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151590,18 +152011,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - project: *753 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 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: *744 - required: *745 + properties: *747 + required: *748 nullable: true sender: *4 required: @@ -151703,11 +152124,11 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151786,11 +152207,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 - organization: *713 - project: *753 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + project: *756 + repository: *717 sender: *4 required: - action @@ -151871,9 +152292,9 @@ x-webhooks: type: string enum: - closed - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -151954,9 +152375,9 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152037,9 +152458,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152156,9 +152577,9 @@ x-webhooks: type: string to: type: string - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -152241,7 +152662,7 @@ x-webhooks: type: string enum: - archived - changes: &757 + changes: &760 type: object properties: archived_at: @@ -152255,9 +152676,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *712 - organization: *713 - projects_v2_item: &754 + installation: *715 + organization: *716 + projects_v2_item: &757 title: Projects v2 Item description: An item belonging to a project type: object @@ -152275,7 +152696,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *257 + content_type: *258 creator: *4 created_at: type: string @@ -152392,9 +152813,9 @@ x-webhooks: nullable: true to: type: string - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152476,9 +152897,9 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152559,9 +152980,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152667,7 +153088,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &755 + - &758 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152689,7 +153110,7 @@ x-webhooks: required: - id - name - - &756 + - &759 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152723,8 +153144,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *755 - - *756 + - *758 + - *759 required: - field_value - type: object @@ -152740,9 +153161,9 @@ x-webhooks: nullable: true required: - body - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152837,9 +153258,9 @@ x-webhooks: to: type: string nullable: true - installation: *712 - organization: *713 - projects_v2_item: *754 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -152922,10 +153343,10 @@ x-webhooks: type: string enum: - restored - changes: *757 - installation: *712 - organization: *713 - projects_v2_item: *754 + changes: *760 + installation: *715 + organization: *716 + projects_v2_item: *757 sender: *4 required: - action @@ -153007,9 +153428,9 @@ x-webhooks: type: string enum: - reopened - installation: *712 - organization: *713 - projects_v2: *249 + installation: *715 + organization: *716 + projects_v2: *251 sender: *4 required: - action @@ -153090,14 +153511,14 @@ x-webhooks: type: string enum: - created - installation: *712 - organization: *713 - projects_v2_status_update: &760 + installation: *715 + organization: *716 + projects_v2_status_update: &763 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *758 - required: *759 + properties: *761 + required: *762 sender: *4 required: - action @@ -153178,9 +153599,9 @@ x-webhooks: type: string enum: - deleted - installation: *712 - organization: *713 - projects_v2_status_update: *760 + installation: *715 + organization: *716 + projects_v2_status_update: *763 sender: *4 required: - action @@ -153316,9 +153737,9 @@ x-webhooks: type: string format: date nullable: true - installation: *712 - organization: *713 - projects_v2_status_update: *760 + installation: *715 + organization: *716 + projects_v2_status_update: *763 sender: *4 required: - action @@ -153389,10 +153810,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - repository @@ -153469,13 +153890,13 @@ x-webhooks: type: string enum: - assigned - assignee: *731 - enterprise: *711 - installation: *712 - number: &761 + assignee: *734 + enterprise: *714 + installation: *715 + number: &764 description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -155758,7 +156179,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -155840,11 +156261,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -158122,7 +158543,7 @@ x-webhooks: - draft reason: type: string - repository: *714 + repository: *717 sender: *4 required: - action @@ -158204,11 +158625,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -160486,7 +160907,7 @@ x-webhooks: - draft reason: type: string - repository: *714 + repository: *717 sender: *4 required: - action @@ -160568,13 +160989,13 @@ x-webhooks: type: string enum: - closed - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: &762 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: &765 allOf: - - *568 + - *569 - type: object properties: allow_auto_merge: @@ -160636,7 +161057,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *714 + repository: *717 sender: *4 required: - action @@ -160717,12 +161138,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -160802,11 +161223,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *711 - milestone: *550 - number: *761 - organization: *713 - pull_request: &763 + enterprise: *714 + milestone: *551 + number: *764 + organization: *716 + pull_request: &766 title: Pull Request type: object properties: @@ -163069,7 +163490,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -163148,11 +163569,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -165434,7 +165855,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *714 + repository: *717 sender: *4 required: - action @@ -165558,12 +165979,12 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -165643,11 +166064,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -167914,7 +168335,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -167994,11 +168415,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *711 - installation: *712 - label: *730 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + label: *733 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -170280,7 +170701,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -170361,10 +170782,10 @@ x-webhooks: type: string enum: - locked - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -172644,7 +173065,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -172724,12 +173145,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *711 - milestone: *550 - number: *761 - organization: *713 - pull_request: *763 - repository: *714 + enterprise: *714 + milestone: *551 + number: *764 + organization: *716 + pull_request: *766 + repository: *717 sender: *4 required: - action @@ -172808,12 +173229,12 @@ x-webhooks: type: string enum: - opened - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -172894,12 +173315,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -172979,12 +173400,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *711 - installation: *712 - number: *761 - organization: *713 - pull_request: *762 - repository: *714 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 + pull_request: *765 + repository: *717 sender: *4 required: - action @@ -173350,9 +173771,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -175522,7 +175943,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -175602,7 +176023,7 @@ x-webhooks: type: string enum: - deleted - comment: &765 + comment: &768 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175887,9 +176308,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -178047,7 +178468,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -178127,11 +178548,11 @@ x-webhooks: type: string enum: - edited - changes: *764 - comment: *765 - enterprise: *711 - installation: *712 - organization: *713 + changes: *767 + comment: *768 + enterprise: *714 + installation: *715 + organization: *716 pull_request: type: object properties: @@ -180292,7 +180713,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *714 + repository: *717 sender: *4 required: - action @@ -180373,9 +180794,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -182548,7 +182969,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 review: description: The review that was affected. type: object @@ -182795,9 +183216,9 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -184851,8 +185272,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 - review: &766 + repository: *717 + review: &769 description: The review that was affected. type: object properties: @@ -185085,12 +185506,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -187373,7 +187794,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_reviewer: title: User type: object @@ -187457,12 +187878,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -189752,7 +190173,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189944,12 +190365,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -192234,7 +192655,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_reviewer: title: User type: object @@ -192319,12 +192740,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *711 - installation: *712 + enterprise: *714 + installation: *715 number: description: The pull request number. type: integer - organization: *713 + organization: *716 pull_request: title: Pull Request type: object @@ -194600,7 +195021,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194781,9 +195202,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -196958,8 +197379,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 - review: *766 + repository: *717 + review: *769 sender: *4 required: - action @@ -197039,9 +197460,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -199111,7 +199532,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 sender: *4 thread: type: object @@ -199498,9 +199919,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 pull_request: title: Simple Pull Request type: object @@ -201556,7 +201977,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *714 + repository: *717 sender: *4 thread: type: object @@ -201946,10 +202367,10 @@ x-webhooks: type: string before: type: string - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -204220,7 +204641,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -204302,11 +204723,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *767 - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + assignee: *770 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -206589,7 +207010,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -206668,11 +207089,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *711 - installation: *712 - label: *730 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + label: *733 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -208945,7 +209366,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -209026,10 +209447,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *711 - installation: *712 - number: *761 - organization: *713 + enterprise: *714 + installation: *715 + number: *764 + organization: *716 pull_request: title: Pull Request type: object @@ -211294,7 +211715,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *714 + repository: *717 sender: *4 required: - action @@ -211494,7 +211915,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *711 + enterprise: *714 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211586,8 +212007,8 @@ x-webhooks: - url - author - committer - installation: *712 - organization: *713 + installation: *715 + organization: *716 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212162,9 +212583,9 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -212610,7 +213031,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *748 + items: *751 summary: type: string tag_name: @@ -212664,7 +213085,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -212742,9 +213163,9 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 registry_package: type: object properties: @@ -213052,7 +213473,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *748 + items: *751 summary: type: string tag_name: @@ -213101,7 +213522,7 @@ x-webhooks: - owner - package_version - registry - repository: *714 + repository: *717 sender: *4 required: - action @@ -213178,10 +213599,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - release: &768 + enterprise: *714 + installation: *715 + organization: *716 + release: &771 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213499,7 +213920,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *714 + repository: *717 sender: *4 required: - action @@ -213576,11 +213997,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -213697,11 +214118,11 @@ x-webhooks: type: boolean required: - to - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -213779,9 +214200,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214103,7 +214524,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *714 + repository: *717 sender: *4 required: - action @@ -214179,10 +214600,10 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - release: &769 + enterprise: *714 + installation: *715 + organization: *716 + release: &772 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214501,7 +214922,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *714 + repository: *717 sender: *4 required: - action @@ -214577,11 +214998,11 @@ x-webhooks: type: string enum: - released - enterprise: *711 - installation: *712 - organization: *713 - release: *768 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *771 + repository: *717 sender: *4 required: - action @@ -214657,11 +215078,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *711 - installation: *712 - organization: *713 - release: *769 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + release: *772 + repository: *717 sender: *4 required: - action @@ -214737,11 +215158,11 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_advisory: *632 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *633 sender: *4 required: - action @@ -214817,11 +215238,11 @@ x-webhooks: type: string enum: - reported - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_advisory: *632 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_advisory: *633 sender: *4 required: - action @@ -214897,10 +215318,10 @@ x-webhooks: type: string enum: - archived - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -214977,10 +215398,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215058,10 +215479,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215145,10 +215566,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215260,10 +215681,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215335,10 +215756,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 status: type: string @@ -215419,10 +215840,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215499,10 +215920,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215596,10 +216017,10 @@ x-webhooks: - name required: - repository - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -215679,11 +216100,11 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 sender: *4 required: - action @@ -215761,11 +216182,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 sender: *4 required: - action @@ -215843,11 +216264,11 @@ x-webhooks: type: string enum: - edited - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - repository_ruleset: *294 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + repository_ruleset: *295 changes: type: object properties: @@ -215866,16 +216287,16 @@ x-webhooks: properties: added: type: array - items: *269 + items: *270 deleted: type: array - items: *269 + items: *270 updated: type: array items: type: object properties: - condition: *269 + condition: *270 changes: type: object properties: @@ -215908,16 +216329,16 @@ x-webhooks: properties: added: type: array - items: *589 + items: *590 deleted: type: array - items: *589 + items: *590 updated: type: array items: type: object properties: - rule: *589 + rule: *590 changes: type: object properties: @@ -216151,10 +216572,10 @@ x-webhooks: - from required: - owner - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216232,10 +216653,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216313,7 +216734,7 @@ x-webhooks: type: string enum: - create - alert: &770 + alert: &773 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216434,10 +216855,10 @@ x-webhooks: type: string enum: - open - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216643,10 +217064,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216724,11 +217145,11 @@ x-webhooks: type: string enum: - reopen - alert: *770 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -216927,10 +217348,10 @@ x-webhooks: enum: - fixed - open - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217008,11 +217429,11 @@ x-webhooks: type: string enum: - created - alert: &771 + alert: &774 type: object properties: - number: *156 - created_at: *157 + number: *158 + created_at: *159 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217020,8 +217441,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *159 - html_url: *160 + url: *161 + html_url: *162 locations_url: type: string format: uri @@ -217126,10 +217547,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217210,11 +217631,11 @@ x-webhooks: type: string enum: - created - alert: *771 - installation: *712 - location: *772 - organization: *713 - repository: *714 + alert: *774 + installation: *715 + location: *775 + organization: *716 + repository: *717 sender: *4 required: - location @@ -217452,11 +217873,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217534,11 +217955,11 @@ x-webhooks: type: string enum: - reopened - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217616,11 +218037,11 @@ x-webhooks: type: string enum: - resolved - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217698,11 +218119,11 @@ x-webhooks: type: string enum: - validated - alert: *771 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + alert: *774 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -217828,10 +218249,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *714 - enterprise: *711 - installation: *712 - organization: *713 + repository: *717 + enterprise: *714 + installation: *715 + organization: *716 sender: *4 required: - action @@ -217909,11 +218330,11 @@ x-webhooks: type: string enum: - published - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - security_advisory: &773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: &776 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218096,11 +218517,11 @@ x-webhooks: type: string enum: - updated - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 - security_advisory: *773 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 + security_advisory: *776 sender: *4 required: - action @@ -218173,10 +218594,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218360,11 +218781,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *268 - enterprise: *711 - installation: *712 - organization: *713 - repository: *331 + security_and_analysis: *269 + enterprise: *714 + installation: *715 + organization: *716 + repository: *332 sender: *4 required: - changes @@ -218442,12 +218863,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: &774 + sponsorship: &777 type: object properties: created_at: @@ -218748,12 +219169,12 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - sponsorship @@ -218841,12 +219262,12 @@ x-webhooks: type: string required: - from - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -218923,17 +219344,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &775 + effective_date: &778 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: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - sponsorship @@ -219007,7 +219428,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &776 + changes: &779 type: object properties: tier: @@ -219051,13 +219472,13 @@ x-webhooks: - from required: - tier - effective_date: *775 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + effective_date: *778 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -219134,13 +219555,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *776 - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + changes: *779 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - sponsorship: *774 + sponsorship: *777 required: - action - changes @@ -219214,10 +219635,10 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219300,10 +219721,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219723,15 +220144,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *711 + enterprise: *714 id: description: The unique identifier of the status. type: integer - installation: *712 + installation: *715 name: type: string - organization: *713 - repository: *714 + organization: *716 + repository: *717 sender: *4 sha: description: The Commit SHA. @@ -219846,9 +220267,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -219938,9 +220359,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220030,9 +220451,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220122,9 +220543,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *712 - organization: *713 - repository: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -220201,12 +220622,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - team: &777 + team: &780 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220429,9 +220850,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -220889,7 +221310,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -220965,9 +221386,9 @@ x-webhooks: type: string enum: - created - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -221425,7 +221846,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -221502,9 +221923,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -221962,7 +222383,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -222106,9 +222527,9 @@ x-webhooks: - from required: - permissions - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -222566,7 +222987,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - changes @@ -222644,9 +223065,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *711 - installation: *712 - organization: *713 + enterprise: *714 + installation: *715 + organization: *716 repository: title: Repository description: A git repository @@ -223104,7 +223525,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *777 + team: *780 required: - action - team @@ -223180,10 +223601,10 @@ x-webhooks: type: string enum: - started - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 required: - action @@ -223256,16 +223677,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *711 + enterprise: *714 inputs: type: object nullable: true additionalProperties: true - installation: *712 - organization: *713 + installation: *715 + organization: *716 ref: type: string - repository: *714 + repository: *717 sender: *4 workflow: type: string @@ -223347,10 +223768,10 @@ x-webhooks: type: string enum: - completed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -223587,7 +224008,7 @@ x-webhooks: type: string required: - conclusion - deployment: *482 + deployment: *483 required: - action - repository @@ -223666,10 +224087,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: allOf: @@ -223929,7 +224350,7 @@ x-webhooks: required: - status - steps - deployment: *482 + deployment: *483 required: - action - repository @@ -224008,10 +224429,10 @@ x-webhooks: type: string enum: - queued - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -224146,7 +224567,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *483 required: - action - repository @@ -224225,10 +224646,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 workflow_job: type: object @@ -224364,7 +224785,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *482 + deployment: *483 required: - action - repository @@ -224444,12 +224865,12 @@ x-webhooks: type: string enum: - completed - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -225448,12 +225869,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 workflow_run: title: Workflow Run type: object @@ -226437,12 +226858,12 @@ x-webhooks: type: string enum: - requested - enterprise: *711 - installation: *712 - organization: *713 - repository: *714 + enterprise: *714 + installation: *715 + organization: *716 + repository: *717 sender: *4 - workflow: *726 + workflow: *729 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 e998a75c1..902af3878 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -64191,6 +64191,402 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -96802,7 +97198,297 @@ }, { "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 default `year` is used.", + "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 default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -96817,25 +97503,84 @@ "schema": { "type": "integer" } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Billing usage report response for an organization", + "description": "Response when getting a billing usage summary report", "content": { "application/json": { "schema": { "type": "object", "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, "usageItems": { "type": "array", "items": { "type": "object", "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, "product": { "type": "string", "description": "Product name." @@ -96844,10 +97589,6 @@ "type": "string", "description": "SKU name." }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -96856,59 +97597,71 @@ "type": "number", "description": "Price per unit of the usage line item." }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, "grossAmount": { "type": "number", "description": "Gross amount of the usage line item." }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, "discountAmount": { "type": "number", "description": "Discount amount of the usage line item." }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, "netAmount": { "type": "number", "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." } }, "required": [ - "date", "product", "sku", - "quantity", "unitType", "pricePerUnit", + "grossQuantity", "grossAmount", + "discountQuantity", "discountAmount", - "netAmount", - "organizationName" + "netQuantity", + "netAmount" ] } } - } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] }, "examples": { "default": { "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", "usageItems": [ { - "date": "2023-08-01", "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, + "sku": "actions_linux", "unitType": "minutes", "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 } ] } @@ -115176,6 +115929,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -177164,12 +177925,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -177381,6 +178152,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -177422,6 +178198,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -177482,11 +178259,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -177822,12 +178609,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -177972,6 +178769,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -181090,35 +181892,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -652504,35 +653391,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -673591,6 +674563,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 9cd593acf..9882bdc41 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &430 + type: &432 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,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: - - &759 + - &761 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1149,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &208 + properties: &211 id: description: Unique identifier of the GitHub app example: 37 @@ -1282,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &209 + required: &212 - id - node_id - owner @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &339 + - &342 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 @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &340 + items: &343 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &341 + default: &344 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &769 + schema: &771 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &252 + schema: &255 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &343 + default: &346 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2126,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &213 + - &216 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) @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &408 + properties: &410 id: description: Unique identifier of the repository example: 42 @@ -2912,7 +2912,7 @@ paths: title: License Simple description: License Simple type: object - properties: &224 + properties: &227 key: type: string example: mit @@ -2934,7 +2934,7 @@ paths: html_url: type: string format: uri - required: &225 + required: &228 - key - name - url @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &409 + required: &411 - archive_url - assignees_url - blobs_url @@ -7487,7 +7487,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &257 type: object properties: total_active_caches_count: @@ -7502,7 +7502,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &255 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7695,7 +7695,7 @@ paths: - public_ip_enabled - platform examples: - default: &256 + default: &259 value: total_count: 2 runners: @@ -7990,7 +7990,7 @@ paths: application/json: schema: *45 examples: - default: &257 + default: &260 value: id: 1 platform: linux-x64 @@ -8130,7 +8130,7 @@ paths: application/json: schema: *48 examples: - default: &258 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &262 type: object properties: public_ips: @@ -8319,7 +8319,7 @@ paths: required: - public_ips examples: - default: &260 + default: &263 value: public_ips: current_usage: 17 @@ -8359,7 +8359,7 @@ paths: type: array items: *52 examples: - default: &261 + default: &264 value: id: 4-core cpu_cores: 4 @@ -8621,7 +8621,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &267 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` @@ -8701,7 +8701,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &266 + schema: &269 type: object properties: days: @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &770 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -8747,7 +8747,7 @@ paths: required: true content: application/json: - schema: &267 + schema: &270 type: object properties: days: @@ -8796,7 +8796,7 @@ paths: required: - approval_policy examples: - default: &268 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -8854,7 +8854,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -8908,7 +8908,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -9331,7 +9331,7 @@ paths: description: Success response content: application/json: - schema: &273 + schema: &276 type: object properties: default_workflow_permissions: &63 @@ -9379,7 +9379,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 type: object properties: default_workflow_permissions: *63 @@ -10215,7 +10215,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Runner Application description: Runner Application type: object @@ -10240,7 +10240,7 @@ paths: - download_url - filename examples: - default: &279 + default: &282 value: - os: osx architecture: x64 @@ -10324,7 +10324,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &280 + '201': &283 description: Response content: application/json: @@ -10439,7 +10439,7 @@ paths: - token - expires_at examples: - default: &281 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10479,7 +10479,7 @@ paths: application/json: schema: *75 examples: - default: &282 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10511,7 +10511,7 @@ paths: application/json: schema: *72 examples: - default: &283 + default: &286 value: id: 23 name: MBP @@ -10727,7 +10727,7 @@ paths: - *41 - *71 responses: - '200': &284 + '200': &287 description: Response content: application/json: @@ -10783,7 +10783,7 @@ paths: parameters: - *41 - *71 - - &285 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10874,7 +10874,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &295 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11515,7 +11515,7 @@ paths: required: false schema: type: string - - &293 + - &296 name: include description: |- The event types to include: @@ -11533,7 +11533,7 @@ paths: - web - git - all - - &294 + - &297 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. @@ -11541,7 +11541,7 @@ paths: required: false schema: type: string - - &295 + - &298 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. @@ -11549,7 +11549,7 @@ paths: required: false schema: type: string - - &296 + - &299 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11571,7 +11571,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 type: object properties: "@timestamp": @@ -11693,7 +11693,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &298 + default: &301 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12359,7 +12359,7 @@ paths: application/json: schema: type: array - items: &299 + items: &302 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12520,7 +12520,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &300 + default: &303 value: - id: 21 number: 42 @@ -12625,7 +12625,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12750,7 +12750,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &303 + default: &306 value: - id: 21 number: 42 @@ -12835,7 +12835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &308 + - &311 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`, @@ -12845,7 +12845,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &309 + - &312 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 @@ -12868,7 +12868,7 @@ paths: be returned. in: query required: false - schema: &310 + schema: &313 type: string description: State of a code scanning alert. enum: @@ -12893,7 +12893,7 @@ paths: application/json: schema: type: array - items: &311 + items: &314 type: object properties: number: &123 @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &545 + instances_url: &547 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &546 + dismissed_reason: &548 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &547 + dismissed_comment: &549 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &548 + rule: &550 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &549 + tool: &551 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &550 + most_recent_instance: &552 type: object properties: - ref: &543 + ref: &545 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &560 + analysis_key: &562 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &561 + category: &563 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13103,7 +13103,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &241 + properties: &244 id: type: integer format: int64 @@ -13330,7 +13330,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: &242 + required: &245 - archive_url - assignees_url - blobs_url @@ -13402,7 +13402,7 @@ paths: - most_recent_instance - repository examples: - default: &312 + default: &315 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14055,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &313 + code_scanning_options: &316 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14249,7 +14249,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &318 type: array description: A list of default code security configurations items: @@ -14265,7 +14265,7 @@ paths: default configuration: *110 examples: - default: &316 + default: &319 value: - default_for_new_repos: public configuration: @@ -14719,7 +14719,7 @@ paths: default: value: default_for_new_repos: all - configuration: &314 + configuration: &317 value: id: 1325 target_type: organization @@ -14804,7 +14804,7 @@ paths: application/json: schema: type: array - items: &317 + items: &320 type: object description: Repositories associated with a code security configuration and attachment status @@ -14828,7 +14828,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &318 + repository: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15317,7 +15317,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &304 + - &307 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15392,7 +15392,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &374 + properties: &377 id: description: Unique identifier of the team type: integer @@ -15464,7 +15464,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &375 + required: &378 - id - node_id - url @@ -16052,7 +16052,7 @@ paths: application/json: schema: type: array - items: &198 + items: &201 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16359,7 +16359,7 @@ paths: - date additionalProperties: true examples: - default: &199 + default: &202 value: - date: '2024-06-24' total_active_users: 24 @@ -16461,7 +16461,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &200 + '422': &203 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16697,7 +16697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &324 + - &327 name: state in: query description: |- @@ -16706,7 +16706,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &325 + - &328 name: severity in: query description: |- @@ -16715,7 +16715,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &326 + - &329 name: ecosystem in: query description: |- @@ -16724,14 +16724,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &327 + - &330 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 - - &328 + - &331 name: epss_percentage in: query description: |- @@ -16743,7 +16743,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 - - &600 + - &602 name: has in: query description: |- @@ -16757,7 +16757,7 @@ paths: type: string enum: - patch - - &329 + - &332 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16767,7 +16767,7 @@ paths: enum: - development - runtime - - &330 + - &333 name: sort in: query description: |- @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &331 + items: &334 type: object description: A Dependabot alert. properties: @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &601 + security_advisory: &603 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &602 + auto_dismissed_at: &604 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17114,7 +17114,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &335 value: - number: 2 state: dismissed @@ -17895,7 +17895,7 @@ paths: type: array items: *140 examples: - default: &201 + default: &204 value: - id: 1 name: Justice League @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &441 + default: &443 value: total_count: 2 network_configurations: @@ -18449,7 +18449,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 - - &442 + - &444 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &445 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &444 + default: &446 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &407 + schema: &409 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &413 + - &415 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &725 + items: &727 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &722 + - &724 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &723 + - &725 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &416 + default: &418 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &419 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &418 + - &420 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &419 + - &421 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &420 + - &422 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &421 + - &423 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &422 + - &424 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &423 + - &425 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &424 + - &426 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &425 + - &427 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &426 + items: &428 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &737 + state: &739 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: &738 + resolution: &740 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &739 - - &741 + oneOf: &741 + - &743 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &742 + - &744 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. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &743 + - &745 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &744 + - &746 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &745 + - &747 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &746 + - &748 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &747 + - &749 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &748 + - &750 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &749 + - &751 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. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &750 + - &752 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. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &751 + - &753 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. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &752 + - &754 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. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &753 + - &755 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. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &427 + default: &429 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &430 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &429 + default: &431 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &433 + default: &435 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &434 + - &436 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &435 + schema: &437 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &436 + default: &438 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &439 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &438 + default: &440 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22709,7 +22709,7 @@ paths: required: false schema: type: integer - - &243 + - &198 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 @@ -22727,28 +22727,29 @@ paths: required: false schema: type: integer - - name: organization + - &199 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &244 + - &246 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &245 + - &247 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &246 + - &200 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -22918,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 type: object properties: days_left_in_billing_cycle: @@ -22936,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &440 + default: &442 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22962,7 +22963,7 @@ paths: parameters: - *41 - *196 - - &247 + - &248 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 @@ -22984,7 +22985,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &248 + schema: &249 type: object properties: usageItems: @@ -23037,7 +23038,7 @@ paths: - netAmount - organizationName examples: - default: &249 + default: &250 value: usageItems: - date: '2023-08-01' @@ -23060,6 +23061,175 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + parameters: + - *41 + - *196 + - *198 + - *197 + - *199 + - &251 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *200 + - &252 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -23120,13 +23290,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23155,7 +23325,7 @@ paths: type: array items: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23232,7 +23402,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23250,7 +23420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &202 + - &205 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23269,7 +23439,7 @@ paths: type: array items: *4 examples: - default: &203 + default: &206 value: - login: octocat id: 1 @@ -23308,7 +23478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23339,7 +23509,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23357,7 +23527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23388,7 +23558,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23406,7 +23576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '200': @@ -23415,7 +23585,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &204 + exampleKey1: &207 value: login: octocat id: 1 @@ -23451,7 +23621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *202 + - *205 - *138 responses: '201': @@ -23460,7 +23630,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *204 + exampleKey1: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23478,7 +23648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '204': @@ -23501,7 +23671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *202 + - *205 - *17 - *19 responses: @@ -23513,7 +23683,7 @@ paths: type: array items: *69 examples: - default: &205 + default: &208 value: login: github id: 1 @@ -23544,7 +23714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23574,7 +23744,7 @@ paths: type: array items: *69 examples: - default: &240 + default: &243 value: - login: github id: 1 @@ -23605,7 +23775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23646,7 +23816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '200': @@ -23655,7 +23825,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 '404': description: The team is not assigned to the organization x-github: @@ -23674,7 +23844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '201': @@ -23683,7 +23853,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23700,7 +23870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '204': @@ -23725,7 +23895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &206 + - &209 name: team_slug description: The slug of the team name. in: path @@ -23739,7 +23909,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23759,7 +23929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *206 + - *209 requestBody: required: true content: @@ -23816,7 +23986,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23839,7 +24009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *206 + - *209 responses: '204': description: Response @@ -23938,7 +24108,7 @@ paths: application/json: schema: type: array - items: &235 + items: &238 title: Event description: Event type: object @@ -23948,7 +24118,7 @@ paths: type: type: string nullable: true - actor: &207 + actor: &210 title: Actor description: Actor type: object @@ -23988,18 +24158,18 @@ paths: - id - name - url - org: *207 + org: *210 payload: type: object properties: action: type: string - issue: &223 + issue: &226 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &659 + properties: &661 id: type: integer format: int64 @@ -24111,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &399 + properties: &401 url: type: string format: uri @@ -24181,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &400 + required: &402 - closed_issues - creator - description @@ -24260,7 +24430,7 @@ paths: timeline_url: type: string format: uri - type: &361 + type: &364 title: Issue Type description: The type of issue. type: object @@ -24319,9 +24489,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - author_association: &210 + properties: *211 + required: *212 + author_association: &213 title: author_association type: string example: OWNER @@ -24335,7 +24505,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &211 + reactions: &214 title: Reaction Rollup type: object properties: @@ -24371,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &797 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -24391,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &798 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -24410,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &799 + items: &801 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24470,7 +24640,7 @@ paths: - node_id - data_type - value - required: &660 + required: &662 - assignee - closed_at - comments @@ -24491,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &657 + comment: &659 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -24539,7 +24709,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -24549,9 +24719,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - id - node_id @@ -24718,7 +24888,7 @@ paths: _links: type: object properties: - timeline: &212 + timeline: &215 title: Link With Type description: Hypermedia Link with Type type: object @@ -24730,17 +24900,17 @@ paths: required: - href - type - user: *212 - security_advisories: *212 - current_user: *212 - current_user_public: *212 - current_user_actor: *212 - current_user_organization: *212 + user: *215 + security_advisories: *215 + current_user: *215 + current_user_public: *215 + current_user_actor: *215 + current_user_organization: *215 current_user_organizations: type: array - items: *212 - repository_discussions: *212 - repository_discussions_category: *212 + items: *215 + repository_discussions: *215 + repository_discussions_category: *215 required: - timeline - user @@ -24802,7 +24972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *213 + - *216 - *17 - *19 responses: @@ -24812,7 +24982,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Base Gist description: Base Gist type: object @@ -24911,7 +25081,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &218 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25032,7 +25202,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &219 title: Gist Simple description: Gist Simple type: object @@ -25049,7 +25219,7 @@ paths: url: type: string format: uri - user: &811 + user: &813 title: Public User description: Public User type: object @@ -25411,7 +25581,7 @@ paths: truncated: type: boolean examples: - default: &217 + default: &220 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25515,7 +25685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25525,9 +25695,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -25549,7 +25719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25559,9 +25729,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '401': *25 @@ -25589,7 +25759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &218 + - &221 name: gist_id description: The unique identifier of the gist. in: path @@ -25601,10 +25771,10 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 - '403': &221 + default: *220 + '403': &224 description: Forbidden Gist content: application/json: @@ -25652,7 +25822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *218 + - *221 requestBody: required: true content: @@ -25712,9 +25882,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - updateGist: *217 + updateGist: *220 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25872,7 +26042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -25901,7 +26071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *218 + - *221 - *17 - *19 responses: @@ -25911,7 +26081,7 @@ paths: application/json: schema: type: array - items: &219 + items: &222 title: Gist Comment description: A comment made to a gist. type: object @@ -25946,7 +26116,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *210 + author_association: *213 required: - url - id @@ -26011,7 +26181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *218 + - *221 requestBody: required: true content: @@ -26036,9 +26206,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: &220 + default: &223 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26096,8 +26266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *218 - - &222 + - *221 + - &225 name: comment_id description: The unique identifier of the comment. in: path @@ -26110,12 +26280,12 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '404': *6 - '403': *221 + '403': *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26137,8 +26307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 requestBody: required: true content: @@ -26163,9 +26333,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -26182,8 +26352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 responses: '204': description: Response @@ -26206,7 +26376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26307,7 +26477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26317,7 +26487,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -26382,13 +26552,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *218 + - *221 responses: '201': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -26459,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *218 + - *221 responses: '204': description: Response if gist is starred @@ -26489,7 +26659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26511,7 +26681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26540,7 +26710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *218 + - *221 - name: sha in: path required: true @@ -26551,9 +26721,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 + default: *220 '422': *15 '404': *6 '403': *29 @@ -26919,7 +27089,7 @@ paths: - closed - all default: open - - &364 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26938,7 +27108,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - name: collab in: query required: false @@ -26968,9 +27138,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &365 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27254,8 +27424,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 examples: default: value: @@ -27540,7 +27710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &226 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -27595,7 +27765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *226 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -27624,7 +27794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &229 + - &232 name: account_id description: account_id parameter in: path @@ -27636,7 +27806,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27666,7 +27836,7 @@ paths: nullable: true id: type: integer - plan: &227 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27755,7 +27925,7 @@ paths: nullable: true updated_at: type: string - plan: *227 + plan: *230 required: - url - id @@ -27763,7 +27933,7 @@ paths: - login - marketplace_purchase examples: - default: &230 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -27848,9 +28018,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: &231 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27890,14 +28060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &232 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &233 + - &236 name: sort description: The property to sort the results by. in: query @@ -27927,9 +28097,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: &234 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -28003,15 +28173,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *229 + - *232 responses: '200': description: Response content: application/json: - schema: *228 + schema: *231 examples: - default: *230 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -28043,9 +28213,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *231 + default: *234 headers: Link: *43 '401': *25 @@ -28068,8 +28238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *232 - - *233 + - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28089,9 +28259,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: *234 + default: *237 headers: Link: *43 '401': *25 @@ -28355,14 +28525,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: - - &464 + - &466 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &465 + - &467 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28379,7 +28549,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -28424,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &478 + '301': &480 description: Moved permanently content: application/json: @@ -28446,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &689 + - &691 name: all description: If `true`, show notifications marked as read. in: query @@ -28454,7 +28624,7 @@ paths: schema: type: boolean default: false - - &690 + - &692 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28463,8 +28633,8 @@ paths: schema: type: boolean default: false - - *213 - - &691 + - *216 + - &693 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: @@ -28489,18 +28659,18 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &277 + repository: &280 title: Minimal Repository description: Minimal Repository type: object - properties: &334 + properties: &337 id: type: integer format: int64 @@ -28776,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &410 + security_and_analysis: &412 nullable: true type: object properties: @@ -28858,7 +29028,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &335 + required: &338 - archive_url - assignees_url - blobs_url @@ -28946,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &692 + default: &694 value: - id: '1' repository: @@ -29112,7 +29282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &237 + - &240 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 @@ -29126,7 +29296,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -29229,7 +29399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *237 + - *240 responses: '205': description: Reset Content @@ -29252,7 +29422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *237 + - *240 responses: '204': description: No content @@ -29275,13 +29445,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *237 + - *240 responses: '200': description: Response content: application/json: - schema: &238 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -29318,7 +29488,7 @@ paths: - url - subscribed examples: - default: &239 + default: &242 value: subscribed: true ignored: false @@ -29349,7 +29519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *237 + - *240 requestBody: required: false content: @@ -29370,9 +29540,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '304': *37 '403': *29 '401': *25 @@ -29395,7 +29565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *237 + - *240 responses: '204': description: Response @@ -29492,7 +29662,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: example: ; rel="next" @@ -29543,7 +29713,7 @@ paths: type: integer custom_roles: type: array - items: &320 + items: &323 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29591,7 +29761,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &324 value: id: 8030 name: Security Engineer @@ -29682,8 +29852,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *241 - required: *242 + properties: *244 + required: *245 nullable: true additionalProperties: false examples: @@ -29917,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &698 + default: &700 value: - property_name: environment value: production @@ -29967,7 +30137,7 @@ paths: required: - properties examples: - default: &699 + default: &701 value: properties: - property_name: environment @@ -30004,11 +30174,11 @@ paths: parameters: - *83 - *196 - - *243 + - *198 - *197 - - *244 - - *245 - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -30141,16 +30311,150 @@ paths: parameters: - *83 - *196 - - *247 + - *248 - *197 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *248 + schema: *249 examples: - default: *249 + default: *250 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *83 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 '400': *14 '403': *29 '500': *40 @@ -30186,7 +30490,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30519,7 +30823,7 @@ paths: - updated_at - archived_at examples: - default-response: &251 + default-response: &254 value: login: github id: 1 @@ -30844,17 +31148,17 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '409': *114 x-github: githubCloudOnly: false @@ -30909,9 +31213,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *255 + default: *258 headers: Link: *43 x-github: @@ -30952,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &483 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31027,7 +31331,7 @@ paths: type: array items: *44 examples: - default: *256 + default: *259 headers: Link: *43 x-github: @@ -31193,7 +31497,7 @@ paths: application/json: schema: *45 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31285,7 +31589,7 @@ paths: application/json: schema: *48 examples: - default: *258 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31404,9 +31708,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *262 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31442,7 +31746,7 @@ paths: type: array items: *52 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31630,7 +31934,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &262 + schema: &265 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31644,7 +31948,7 @@ paths: required: - include_claim_keys examples: - default: &263 + default: &266 value: include_claim_keys: - repo @@ -31671,15 +31975,15 @@ paths: required: true content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &288 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -31718,7 +32022,7 @@ paths: schema: type: object properties: - enabled_repositories: &265 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31732,7 +32036,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled_repositories @@ -31774,7 +32078,7 @@ paths: schema: type: object properties: - enabled_repositories: *265 + enabled_repositories: *268 allowed_actions: *56 sha_pinning_required: *57 required: @@ -31810,7 +32114,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: response: summary: Example response @@ -31841,7 +32145,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: application/json: value: @@ -31879,7 +32183,7 @@ paths: application/json: schema: *58 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -31936,7 +32240,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *59 '403': *29 @@ -31961,7 +32265,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *59 responses: @@ -32013,7 +32317,7 @@ paths: type: array items: *74 examples: - default: &272 + default: &275 value: total_count: 1 repositories: @@ -32198,7 +32502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &271 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -32227,7 +32531,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -32423,7 +32727,7 @@ paths: type: array items: *74 examples: - default: *272 + default: *275 '403': *29 '404': *6 x-github: @@ -32492,7 +32796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: No content @@ -32519,7 +32823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: No content @@ -32553,7 +32857,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *65 x-github: @@ -32587,7 +32891,7 @@ paths: required: false content: application/json: - schema: *274 + schema: *277 examples: default: *65 x-github: @@ -32634,7 +32938,7 @@ paths: type: number runner_groups: type: array - items: &275 + items: &278 type: object properties: id: @@ -32822,9 +33126,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: &276 + default: &279 value: id: 2 name: octo-runner-group @@ -32866,7 +33170,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -32957,9 +33261,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: *276 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33023,7 +33327,7 @@ paths: type: array items: *44 examples: - default: *256 + default: *259 headers: Link: *43 x-github: @@ -33064,9 +33368,9 @@ paths: type: number repositories: type: array - items: *277 + items: *280 examples: - default: &814 + default: &816 value: total_count: 1 repositories: @@ -33365,7 +33669,7 @@ paths: parameters: - *83 - *68 - - *271 + - *274 responses: '204': description: Response @@ -33389,7 +33693,7 @@ paths: parameters: - *83 - *68 - - *271 + - *274 responses: '204': description: Response @@ -33607,9 +33911,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33674,7 +33978,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -33713,7 +34017,7 @@ paths: application/json: schema: *75 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33749,7 +34053,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33780,7 +34084,7 @@ paths: application/json: schema: *72 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33955,7 +34259,7 @@ paths: - *83 - *71 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -33984,7 +34288,7 @@ paths: parameters: - *83 - *71 - - *285 + - *288 responses: '200': *77 '404': *6 @@ -34029,7 +34333,7 @@ paths: type: integer secrets: type: array - items: &286 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34108,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34137,7 +34441,7 @@ paths: - key_id - key examples: - default: &504 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34163,7 +34467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &287 + - &290 name: secret_name description: The name of the secret. in: path @@ -34175,7 +34479,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *289 examples: default: value: @@ -34206,7 +34510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -34263,7 +34567,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -34290,7 +34594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -34317,7 +34621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -34335,9 +34639,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: &291 + default: &294 value: total_count: 1 repositories: @@ -34430,7 +34734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -34483,7 +34787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -34517,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -34550,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &488 + - &490 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)." @@ -34574,7 +34878,7 @@ paths: type: integer variables: type: array - items: &289 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34707,7 +35011,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -34733,7 +35037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &290 + - &293 name: name description: The name of the variable. in: path @@ -34745,7 +35049,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -34776,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *290 + - *293 requestBody: required: true content: @@ -34839,7 +35143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *290 + - *293 responses: '204': description: Response @@ -34866,7 +35170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *290 + - *293 - *19 - *17 responses: @@ -34884,9 +35188,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34913,7 +35217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *290 + - *293 requestBody: required: true content: @@ -34963,7 +35267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *290 + - *293 - name: repository_id in: path required: true @@ -34998,7 +35302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *290 + - *293 - name: repository_id in: path required: true @@ -35056,7 +35360,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *295 examples: default: *81 parameters: @@ -35158,6 +35462,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -35348,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &842 + default: &844 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &843 + withPredicateType: &845 value: subject_digests: - sha256:abc123 @@ -35411,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &844 + default: &846 value: attestations_subject_digests: - sha256:abc: @@ -35760,7 +36077,7 @@ paths: initiator: type: string examples: - default: &517 + default: &519 value: attestations: - bundle: @@ -35886,10 +36203,10 @@ paths: required: false schema: type: string - - *293 - - *294 - - *295 - *296 + - *297 + - *298 + - *299 - *17 responses: '200': @@ -35898,9 +36215,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35929,7 +36246,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36023,7 +36340,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &301 + - &304 name: repository_name description: The name of the repository to filter on. in: query @@ -36042,9 +36359,9 @@ paths: application/json: schema: type: array - items: *299 + items: *302 examples: - default: *300 + default: *303 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -36068,7 +36385,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *301 + - *304 - *99 - *100 - *101 @@ -36082,9 +36399,9 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: - default: *303 + default: *306 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -36111,7 +36428,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &305 + schema: &308 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36137,7 +36454,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36168,7 +36485,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *304 + items: *307 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36186,7 +36503,7 @@ paths: type: string format: date-time nullable: true - state: *305 + state: *308 contact_link: description: The contact link of the campaign. type: string @@ -36406,9 +36723,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: &307 + default: &310 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36491,9 +36808,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: *307 + default: *310 '404': *6 '422': description: Unprocessable Entity @@ -36570,7 +36887,7 @@ paths: type: string format: uri nullable: true - state: *305 + state: *308 examples: default: value: @@ -36580,9 +36897,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: *307 + default: *310 '400': description: Bad Request content: @@ -36649,8 +36966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *308 - - *309 + - *311 + - *312 - *104 - *105 - *19 @@ -36661,7 +36978,7 @@ paths: be returned. in: query required: false - schema: *310 + schema: *313 - name: sort description: The property by which to sort the results. in: query @@ -36677,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &544 + schema: &546 type: string description: Severity of a code scanning alert. enum: @@ -36695,9 +37012,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 headers: Link: *43 '404': *6 @@ -36912,7 +37229,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *313 + code_scanning_options: *316 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -37055,7 +37372,7 @@ paths: application/json: schema: *110 examples: - default: *314 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37083,9 +37400,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '304': *37 '403': *29 '404': *6 @@ -37172,7 +37489,7 @@ paths: application/json: schema: *110 examples: - default: *314 + default: *317 '304': *37 '403': *29 '404': *6 @@ -37594,7 +37911,7 @@ paths: default: value: default_for_new_repos: all - configuration: *314 + configuration: *317 '403': *29 '404': *6 x-github: @@ -37647,13 +37964,13 @@ paths: application/json: schema: type: array - items: *317 + items: *320 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *318 + repository: *321 '403': *29 '404': *6 x-github: @@ -37693,7 +38010,7 @@ paths: type: integer codespaces: type: array - items: &366 + items: &369 type: object title: Codespace description: A codespace. @@ -37718,12 +38035,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *277 + repository: *280 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &573 + properties: &575 name: type: string description: The name of the machine. @@ -37765,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &574 + required: &576 - name - display_name - operating_system @@ -37970,7 +38287,7 @@ paths: - pulls_url - recent_folders examples: - default: &367 + default: &370 value: total_count: 3 codespaces: @@ -38594,7 +38911,7 @@ paths: type: integer secrets: type: array - items: &319 + items: &322 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38633,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &575 + default: &577 value: total_count: 2 secrets: @@ -38671,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38700,7 +39017,7 @@ paths: - key_id - key examples: - default: &577 + default: &579 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38724,15 +39041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: &579 + default: &581 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38760,7 +39077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -38815,7 +39132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -38842,7 +39159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -38868,7 +39185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -38886,9 +39203,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -38911,7 +39228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -38962,7 +39279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -38996,7 +39313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -39585,13 +39902,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39803,7 +40120,7 @@ paths: type: integer custom_roles: type: array - items: *320 + items: *323 examples: default: value: @@ -39895,7 +40212,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &325 type: object properties: name: @@ -39936,9 +40253,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -39969,9 +40286,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -39999,7 +40316,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &326 type: object properties: name: @@ -40037,9 +40354,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40097,7 +40414,7 @@ paths: required: true content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -40111,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40150,9 +40467,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40186,7 +40503,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -40201,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40263,11 +40580,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *324 - - *325 - - *326 - *327 - *328 + - *329 + - *330 + - *331 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40305,8 +40622,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - - *330 + - *332 + - *333 - *106 - *104 - *105 @@ -40318,9 +40635,9 @@ paths: application/json: schema: type: array - items: *331 + items: *334 examples: - default: *332 + default: *335 '304': *37 '400': *14 '403': *29 @@ -40364,7 +40681,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &336 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40441,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &607 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40458,7 +40775,7 @@ paths: - key_id - key examples: - default: &606 + default: &608 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40482,13 +40799,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -40517,7 +40834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -40576,7 +40893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -40601,7 +40918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -40626,7 +40943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -40644,9 +40961,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40668,7 +40985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -40719,7 +41036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -40751,7 +41068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -40788,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &614 + - &616 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40796,7 +41113,7 @@ paths: required: false schema: type: string - - &615 + - &617 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40804,7 +41121,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: time_period description: |- The time period to filter by. @@ -40820,7 +41137,7 @@ paths: - week - month default: month - - &617 + - &619 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40835,7 +41152,7 @@ paths: - denied - all default: all - - *301 + - *304 - *17 - *19 responses: @@ -40845,7 +41162,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41001,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &619 + default: &621 value: - id: 21 number: 42 @@ -41088,11 +41405,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *301 + - *304 - *99 - *100 - *101 - - &620 + - &622 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41118,7 +41435,7 @@ paths: application/json: schema: type: array - items: &621 + items: &623 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41239,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &622 + default: &624 value: - id: 21 number: 42 @@ -41327,7 +41644,7 @@ paths: application/json: schema: type: array - items: &377 + items: &380 title: Package description: A software package type: object @@ -41377,8 +41694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *334 - required: *335 + properties: *337 + required: *338 nullable: true created_at: type: string @@ -41397,7 +41714,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &381 value: - id: 197 name: hello_docker @@ -41485,7 +41802,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -41584,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41665,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &460 + default: &462 value: group_id: '123' group_name: Octocat admins @@ -41720,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41757,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &458 + default: &460 value: groups: - group_id: '123' @@ -41801,7 +42118,7 @@ paths: application/json: schema: type: array - items: &358 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -41848,7 +42165,7 @@ paths: - invitation_teams_url - node_id examples: - default: &359 + default: &362 value: - id: 1 login: monalisa @@ -41915,7 +42232,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41929,7 +42246,7 @@ paths: - name - description examples: - default: &412 + default: &414 value: - name: add_assignee description: Assign or remove a user @@ -41970,7 +42287,7 @@ paths: application/json: schema: type: array - items: &336 + items: &339 title: Org Hook description: Org Hook type: object @@ -42139,9 +42456,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: &337 + default: &340 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42186,7 +42503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &338 + - &341 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. @@ -42199,9 +42516,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -42223,7 +42540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *338 + - *341 requestBody: required: false content: @@ -42268,7 +42585,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -42308,7 +42625,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *338 + - *341 responses: '204': description: Response @@ -42334,7 +42651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *338 + - *341 responses: '200': description: Response @@ -42363,7 +42680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *338 + - *341 requestBody: required: false content: @@ -42412,9 +42729,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *17 - - *339 + - *342 responses: '200': description: Response @@ -42422,9 +42739,9 @@ paths: application/json: schema: type: array - items: *340 + items: *343 examples: - default: *341 + default: *344 '400': *14 '422': *15 x-github: @@ -42448,16 +42765,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '400': *14 '422': *15 x-github: @@ -42481,7 +42798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *16 responses: '202': *39 @@ -42508,7 +42825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *338 + - *341 responses: '204': description: Response @@ -42531,7 +42848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &348 + - &351 name: actor_type in: path description: The type of the actor @@ -42544,14 +42861,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &352 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &347 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`.' @@ -42559,7 +42876,7 @@ paths: required: true schema: type: string - - &345 + - &348 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) @@ -42653,12 +42970,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *344 - - *345 + - *347 + - *348 - *19 - *17 - *106 - - &354 + - &357 name: sort description: The property to sort the results by. in: query @@ -42737,14 +43054,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *344 - - *345 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: &346 + schema: &349 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42760,7 +43077,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &350 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42781,23 +43098,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &350 + - &353 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - - *345 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42816,18 +43133,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *344 - - *345 + - *347 - *348 - - *349 + - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42845,9 +43162,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *344 - - *345 - - &351 + - *347 + - *348 + - &354 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42860,7 +43177,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &355 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42876,7 +43193,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &356 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42913,18 +43230,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *350 - - *344 - - *345 - - *351 + - *353 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42942,19 +43259,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *348 - - *349 - - *344 - - *345 - *351 + - *352 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42972,13 +43289,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *350 - - *344 - - *345 + - *353 + - *347 + - *348 - *19 - *17 - *106 - - *354 + - *357 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43059,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &653 + default: &655 value: id: 1 account: @@ -43225,12 +43542,12 @@ paths: application/json: schema: anyOf: - - &356 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &355 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43255,7 +43572,7 @@ paths: properties: {} additionalProperties: false examples: - default: &357 + default: &360 value: limit: collaborators_only origin: organization @@ -43284,13 +43601,13 @@ paths: required: true content: application/json: - schema: &654 + schema: &656 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *355 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43314,9 +43631,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *357 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -43394,9 +43711,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 '404': *6 @@ -43474,7 +43791,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -43531,7 +43848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &360 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43565,7 +43882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *360 + - *363 - *17 - *19 responses: @@ -43575,9 +43892,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: &376 + default: &379 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43620,7 +43937,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -43705,9 +44022,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: &362 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43740,7 +44057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &363 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43793,9 +44110,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 '404': *6 '422': *7 x-github: @@ -43820,7 +44137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *363 + - *366 responses: '204': description: Response @@ -43883,7 +44200,7 @@ paths: - closed - all default: open - - *364 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -43902,7 +44219,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -43912,9 +44229,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *365 + default: *368 headers: Link: *43 '404': *6 @@ -43974,7 +44291,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '422': *15 @@ -44073,9 +44390,9 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: - default: *367 + default: *370 '304': *37 '500': *40 '401': *25 @@ -44102,7 +44419,7 @@ paths: parameters: - *83 - *138 - - &368 + - &371 name: codespace_name in: path required: true @@ -44137,15 +44454,15 @@ paths: parameters: - *83 - *138 - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: &572 + default: &574 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44401,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: Org Membership description: Org Membership type: object @@ -44468,7 +44785,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &370 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44565,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *370 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *29 x-github: @@ -44638,7 +44955,7 @@ paths: application/json: schema: type: array - items: &371 + items: &374 title: Migration description: A migration. type: object @@ -44967,7 +45284,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -45146,7 +45463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &372 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -45173,7 +45490,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -45343,7 +45660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *372 + - *375 responses: '302': description: Response @@ -45365,7 +45682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *372 + - *375 responses: '204': description: Response @@ -45389,8 +45706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *372 - - &827 + - *375 + - &829 name: repo_name description: repo_name parameter in: path @@ -45418,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *372 + - *375 - *17 - *19 responses: @@ -45428,9 +45745,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: &383 + default: &386 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45639,7 +45956,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &373 + items: &376 title: Organization Role description: Organization roles type: object @@ -45846,7 +46163,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -45898,7 +46215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -45924,7 +46241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -45955,7 +46272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -46076,7 +46393,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -46173,7 +46490,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -46331,8 +46648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 nullable: true type: description: The ownership type of the team @@ -46364,7 +46681,7 @@ paths: - type - parent examples: - default: *376 + default: *379 headers: Link: *43 '404': @@ -46422,13 +46739,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &431 + items: &433 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 name: nullable: true type: string @@ -46523,7 +46840,7 @@ paths: - type - url examples: - default: *203 + default: *206 headers: Link: *43 '404': @@ -46574,7 +46891,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -46716,7 +47033,7 @@ paths: - nuget - container - *83 - - &828 + - &830 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46752,12 +47069,12 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *378 + default: *381 '403': *29 '401': *25 - '400': &830 + '400': &832 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46779,7 +47096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &379 + - &382 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 @@ -46797,7 +47114,7 @@ paths: - docker - nuget - container - - &380 + - &383 name: package_name description: The name of the package. in: path @@ -46810,7 +47127,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *380 examples: default: value: @@ -46862,8 +47179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *379 - - *380 + - *382 + - *383 - *83 responses: '204': @@ -46896,8 +47213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *379 - - *380 + - *382 + - *383 - *83 - name: token description: package token @@ -46930,8 +47247,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: - - *379 - - *380 + - *382 + - *383 - *83 - *19 - *17 @@ -46952,7 +47269,7 @@ paths: application/json: schema: type: array - items: &381 + items: &384 title: Package Version description: A version of a software package type: object @@ -47077,10 +47394,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: - - *379 - - *380 + - *382 + - *383 - *83 - - &382 + - &385 name: package_version_id description: Unique identifier of the package version. in: path @@ -47092,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -47128,10 +47445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *379 - - *380 - - *83 - *382 + - *383 + - *83 + - *385 responses: '204': description: Response @@ -47163,10 +47480,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *379 - - *380 - - *83 - *382 + - *383 + - *83 + - *385 responses: '204': description: Response @@ -47196,7 +47513,7 @@ paths: - *83 - *17 - *19 - - &384 + - &387 name: sort description: The property by which to sort the results. in: query @@ -47207,7 +47524,7 @@ paths: - created_at default: created_at - *106 - - &385 + - &388 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47218,7 +47535,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &386 + - &389 name: repository description: The name of the repository to use to filter the results. in: query @@ -47226,7 +47543,7 @@ paths: schema: type: string example: Hello-World - - &387 + - &390 name: permission description: The permission to use to filter the results. in: query @@ -47234,7 +47551,7 @@ paths: schema: type: string example: issues_read - - &388 + - &391 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) @@ -47244,7 +47561,7 @@ paths: schema: type: string format: date-time - - &389 + - &392 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) @@ -47254,7 +47571,7 @@ paths: schema: type: string format: date-time - - &390 + - &393 name: token_id description: The ID of the token in: query @@ -47565,9 +47882,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -47593,14 +47910,14 @@ paths: - *83 - *17 - *19 - - *384 - - *106 - - *385 - - *386 - *387 + - *106 - *388 - *389 - *390 + - *391 + - *392 + - *393 responses: '500': *40 '422': *15 @@ -47880,9 +48197,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -47924,7 +48241,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &394 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47952,12 +48269,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -48049,6 +48380,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -48094,6 +48434,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -48143,11 +48484,24 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry + (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, + Dependabot will only use this registry and will not fall back + to the public registry. When `false` (default), Dependabot will + use this registry for scoped packages but may fall back to the + public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories @@ -48177,7 +48531,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &395 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48267,15 +48621,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *394 examples: - default: *392 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -48297,7 +48651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -48334,6 +48688,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -48393,7 +48756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -48439,7 +48802,7 @@ paths: application/json: schema: type: array - items: &393 + items: &396 title: Project description: Projects are a way to organize columns and cards of work. @@ -48612,7 +48975,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -48650,7 +49013,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &475 + '410': &477 description: Gone content: application/json: @@ -48693,7 +49056,7 @@ paths: application/json: schema: type: array - items: &394 + items: &397 title: Projects v2 Project description: A projects v2 project type: object @@ -48763,7 +49126,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &906 + properties: &910 id: type: number description: The unique identifier of the status update. @@ -48811,7 +49174,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &907 + required: &911 - id - node_id - created_at @@ -48836,7 +49199,7 @@ paths: - deleted_at - deleted_by examples: - default: &395 + default: &398 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -48939,7 +49302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &396 + - &399 name: project_number description: The project's number. in: path @@ -48952,9 +49315,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -48976,7 +49339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *396 + - *399 - *83 - *17 - *104 @@ -48988,7 +49351,7 @@ paths: application/json: schema: type: array - items: &397 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49135,9 +49498,9 @@ paths: - updated_at - project_url examples: - default: &398 + default: &849 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -49157,6 +49520,66 @@ paths: description: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' headers: Link: *43 '304': *37 @@ -49178,8 +49601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *396 - - &847 + - *399 + - &850 name: field_id description: The unique identifier of the field. in: path @@ -49192,9 +49615,30 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: - default: *398 + default: &851 + value: + id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' headers: Link: *43 '304': *37 @@ -49217,7 +49661,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: - - *396 + - *399 - *83 - 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) @@ -49250,7 +49694,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Projects v2 Item description: An item belonging to a project type: object @@ -49266,7 +49710,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: &402 + content_type: &404 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49316,7 +49760,7 @@ paths: - updated_at - archived_at examples: - default: &405 + default: &407 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50011,7 +50455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *396 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -50048,7 +50492,7 @@ paths: description: Response content: application/json: - schema: &848 + schema: &852 title: Projects v2 Item description: An item belonging to a project type: object @@ -50061,8 +50505,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *223 - - &587 + - *226 + - &589 title: Pull Request Simple description: Pull Request Simple type: object @@ -50168,8 +50612,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true active_lock_reason: type: string @@ -50214,7 +50658,7 @@ paths: nullable: true requested_teams: type: array - items: *304 + items: *307 nullable: true head: type: object @@ -50265,7 +50709,7 @@ paths: _links: type: object properties: - comments: &401 + comments: &403 title: Link description: Hypermedia Link type: object @@ -50274,13 +50718,13 @@ paths: type: string required: - href - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + commits: *403 + statuses: *403 + html: *403 + issue: *403 + review_comments: *403 + review_comment: *403 + self: *403 required: - comments - commits @@ -50290,8 +50734,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: &701 + author_association: *213 + auto_merge: &703 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50393,7 +50837,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *402 + content_type: *404 creator: *4 created_at: type: string @@ -50426,7 +50870,7 @@ paths: - updated_at - archived_at examples: - issue: &403 + issue: &405 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50481,7 +50925,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *403 + pull_request: *405 '304': *37 '403': *29 '401': *25 @@ -50501,9 +50945,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: - - *396 + - *399 - *83 - - &406 + - &408 name: item_id description: The unique identifier of the project item. in: path @@ -50529,9 +50973,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -50552,9 +50996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *396 + - *399 - *83 - - *406 + - *408 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50624,13 +51068,13 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - text_field: *405 - number_field: *405 - date_field: *405 - single_select_field: *405 - iteration_field: *405 + text_field: *407 + number_field: *407 + date_field: *407 + single_select_field: *407 + iteration_field: *407 '401': *25 '403': *29 '404': *6 @@ -50650,9 +51094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *396 + - *399 - *83 - - *406 + - *408 responses: '204': description: Response @@ -50815,7 +51259,7 @@ paths: required: true content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -51040,7 +51484,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -51178,9 +51622,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -51383,7 +51827,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 title: Full Repository description: Full Repository type: object @@ -51660,8 +52104,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 nullable: true temp_clone_token: type: string @@ -51748,8 +52192,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -51776,7 +52220,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &592 + properties: &594 url: type: string format: uri @@ -51792,12 +52236,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &593 + required: &595 - url - key - name - html_url - security_and_analysis: *410 + security_and_analysis: *412 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51881,7 +52325,7 @@ paths: - network_count - subscribers_count examples: - default: &479 + default: &481 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52407,9 +52851,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52434,7 +52878,7 @@ paths: - *83 - *17 - *19 - - &724 + - &726 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52525,11 +52969,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *413 + conditions: *415 rules: type: array description: An array of rules within the ruleset. - items: &415 + items: &417 title: Repository Rule type: object description: A repository rule. @@ -52593,7 +53037,7 @@ paths: application/json: schema: *185 examples: - default: &414 + default: &416 value: id: 21 name: super cool ruleset @@ -52648,7 +53092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &726 + - &728 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 @@ -52658,16 +53102,16 @@ paths: schema: type: string x-multi-segment: true - - *301 + - *304 - *101 - - &727 + - &729 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 - - &728 + - &730 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52687,7 +53131,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &731 title: Rule Suites description: Response type: array @@ -52742,7 +53186,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &730 + default: &732 value: - id: 21 actor_id: 12 @@ -52786,7 +53230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &731 + - &733 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52802,7 +53246,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &734 title: Rule Suite description: Response type: object @@ -52901,7 +53345,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &733 + default: &735 value: id: 21 actor_id: 12 @@ -52976,7 +53420,7 @@ paths: application/json: schema: *185 examples: - default: *414 + default: *416 '404': *6 '500': *40 put: @@ -53025,11 +53469,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *413 + conditions: *415 rules: description: An array of rules within the ruleset. type: array - items: *415 + items: *417 examples: default: value: @@ -53066,7 +53510,7 @@ paths: application/json: schema: *185 examples: - default: *414 + default: *416 '404': *6 '500': *40 delete: @@ -53125,7 +53569,7 @@ paths: type: array items: *189 examples: - default: *416 + default: *418 '404': *6 '500': *40 x-github: @@ -53162,7 +53606,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *419 examples: default: value: @@ -53225,14 +53669,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *418 - - *419 - *420 - *421 + - *422 + - *423 - *106 - *19 - *17 - - &735 + - &737 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 @@ -53242,7 +53686,7 @@ paths: required: false schema: type: string - - &736 + - &738 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 @@ -53252,10 +53696,10 @@ paths: required: false schema: type: string - - *422 - - *423 - *424 - *425 + - *426 + - *427 responses: '200': description: Response @@ -53263,9 +53707,9 @@ paths: application/json: schema: type: array - items: *426 + items: *428 examples: - default: *427 + default: *429 headers: Link: *43 '404': *6 @@ -53300,9 +53744,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *430 examples: - default: *429 + default: *431 '403': *29 '404': *6 patch: @@ -53455,7 +53899,7 @@ paths: application/json: schema: type: array - items: &757 + items: &759 description: A repository security advisory. type: object properties: @@ -53675,7 +54119,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 credits_detailed: type: array nullable: true @@ -53685,7 +54129,7 @@ paths: type: object properties: user: *4 - type: *430 + type: *432 state: type: string description: The state of the user's acceptance of the @@ -53709,7 +54153,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *304 + items: *307 private_fork: readOnly: true nullable: true @@ -53746,7 +54190,7 @@ paths: - private_fork additionalProperties: false examples: - default: &758 + default: &760 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54133,9 +54577,9 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: *376 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54159,7 +54603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54185,7 +54629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54220,9 +54664,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54247,7 +54691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *434 + - *436 - *17 - *19 responses: @@ -54255,9 +54699,9 @@ paths: description: Success content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54285,9 +54729,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54315,9 +54759,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54461,9 +54905,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54532,7 +54976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -54555,7 +54999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -54598,7 +55042,7 @@ paths: type: array items: *143 examples: - default: *441 + default: *443 headers: Link: *43 x-github: @@ -54799,15 +55243,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: - *83 - - *442 + - *444 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 headers: Link: *43 x-github: @@ -54845,7 +55289,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &468 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -54891,7 +55335,7 @@ paths: type: string nullable: true examples: - default: &467 + default: &469 value: groups: - group_id: '123' @@ -54937,7 +55381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *83 - - *206 + - *209 - 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`). @@ -54969,13 +55413,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55003,9 +55447,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 headers: Link: *43 '403': *29 @@ -55099,7 +55543,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55162,8 +55606,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 nullable: true members_count: type: integer @@ -55426,7 +55870,7 @@ paths: - repos_count - organization examples: - default: &446 + default: &448 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55497,15 +55941,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -55527,7 +55971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *83 - - *206 + - *209 requestBody: required: false content: @@ -55589,16 +56033,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '201': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 '403': *29 @@ -55624,7 +56068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -55651,7 +56095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *83 - - *206 + - *209 - *106 - *17 - *19 @@ -55668,7 +56112,7 @@ paths: application/json: schema: type: array - items: &447 + items: &449 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -55747,7 +56191,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *211 + reactions: *214 required: - author - body @@ -55767,7 +56211,7 @@ paths: - updated_at - url examples: - default: &801 + default: &803 value: - author: login: octocat @@ -55842,7 +56286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -55876,9 +56320,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: author: login: octocat @@ -55951,8 +56395,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *83 - - *206 - - &449 + - *209 + - &451 name: discussion_number description: The number that identifies the discussion. in: path @@ -55964,9 +56408,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55989,8 +56433,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: false content: @@ -56013,9 +56457,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &802 + default: &804 value: author: login: octocat @@ -56086,8 +56530,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 responses: '204': description: Response @@ -56114,8 +56558,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *83 - - *206 - - *449 + - *209 + - *451 - *106 - *17 - *19 @@ -56126,7 +56570,7 @@ paths: application/json: schema: type: array - items: &450 + items: &452 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56183,7 +56627,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *211 + reactions: *214 required: - author - body @@ -56198,7 +56642,7 @@ paths: - updated_at - url examples: - default: &803 + default: &805 value: - author: login: octocat @@ -56267,8 +56711,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: true content: @@ -56290,9 +56734,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: &451 + default: &453 value: author: login: octocat @@ -56359,9 +56803,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *83 - - *206 - - *449 - - &452 + - *209 + - *451 + - &454 name: comment_number description: The number that identifies the comment. in: path @@ -56373,9 +56817,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56398,9 +56842,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 requestBody: required: true content: @@ -56422,9 +56866,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: &804 + default: &806 value: author: login: octocat @@ -56489,9 +56933,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 responses: '204': description: Response @@ -56518,9 +56962,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56546,7 +56990,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -56589,7 +57033,7 @@ paths: - content - created_at examples: - default: &455 + default: &457 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56640,9 +57084,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 requestBody: required: true content: @@ -56675,9 +57119,9 @@ paths: team discussion comment content: application/json: - schema: *453 + schema: *455 examples: - default: &454 + default: &456 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56706,9 +57150,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56732,10 +57176,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *83 - - *206 - - *449 - - *452 - - &456 + - *209 + - *451 + - *454 + - &458 name: reaction_id description: The unique identifier of the reaction. in: path @@ -56768,8 +57212,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -56795,9 +57239,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -56824,8 +57268,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: true content: @@ -56857,16 +57301,16 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56890,9 +57334,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *83 - - *206 - - *449 - - *456 + - *209 + - *451 + - *458 responses: '204': description: Response @@ -56916,15 +57360,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56944,7 +57388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -56967,9 +57411,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56989,7 +57433,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -57014,7 +57458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57024,9 +57468,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 x-github: @@ -57049,7 +57493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *83 - - *206 + - *209 - name: role description: Filters members returned by their role in the team. in: query @@ -57072,7 +57516,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -57103,14 +57547,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '200': description: Response content: application/json: - schema: &461 + schema: &463 title: Team Membership description: Team Membership type: object @@ -57137,7 +57581,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &805 + response-if-user-is-a-team-maintainer: &807 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57174,7 +57618,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 requestBody: required: false @@ -57200,9 +57644,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-users-membership-with-team-is-now-pending: &806 + response-if-users-membership-with-team-is-now-pending: &808 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57238,7 +57682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '204': @@ -57265,7 +57709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57275,7 +57719,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Team Project description: A team's access to a project. type: object @@ -57343,7 +57787,7 @@ paths: - updated_at - permissions examples: - default: &807 + default: &809 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57407,8 +57851,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *83 - - *206 - - &463 + - *209 + - &465 name: project_id description: The unique identifier of the project. in: path @@ -57420,9 +57864,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &808 + default: &810 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57485,8 +57929,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *83 - - *206 - - *463 + - *209 + - *465 requestBody: required: false content: @@ -57553,8 +57997,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *83 - - *206 - - *463 + - *209 + - *465 responses: '204': description: Response @@ -57582,7 +58026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57592,9 +58036,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -57624,15 +58068,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &809 + schema: &811 title: Team Repository description: A team's access to a repository. type: object @@ -57655,8 +58099,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true forks: type: integer @@ -58202,9 +58646,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 requestBody: required: false content: @@ -58250,9 +58694,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 responses: '204': description: Response @@ -58279,15 +58723,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58310,7 +58754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -58353,7 +58797,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -58386,7 +58830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -58396,9 +58840,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - response-if-child-teams-exist: &810 + response-if-child-teams-exist: &812 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58525,7 +58969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &468 + - &470 name: card_id description: The unique identifier of the card. in: path @@ -58537,7 +58981,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &471 title: Project Card description: Project cards represent a scope of work. type: object @@ -58604,7 +59048,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &472 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -58660,7 +59104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *468 + - *470 requestBody: required: false content: @@ -58687,9 +59131,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '304': *37 '403': *29 '401': *25 @@ -58716,7 +59160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *468 + - *470 responses: '204': description: Response @@ -58760,7 +59204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *468 + - *470 requestBody: required: true content: @@ -58871,7 +59315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &471 + - &473 name: column_id description: The unique identifier of the column. in: path @@ -58883,7 +59327,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: Project Column description: Project columns contain cards of work. type: object @@ -58929,7 +59373,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &475 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -58964,7 +59408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *471 + - *473 requestBody: required: true content: @@ -58988,9 +59432,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 '304': *37 '403': *29 '401': *25 @@ -59015,7 +59459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *471 + - *473 responses: '204': description: Response @@ -59044,7 +59488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *471 + - *473 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59065,7 +59509,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -59124,7 +59568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *471 + - *473 requestBody: required: true content: @@ -59164,9 +59608,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '304': *37 '403': *29 '401': *25 @@ -59176,8 +59620,8 @@ paths: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '503': description: Response content: @@ -59222,7 +59666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *471 + - *473 requestBody: required: true content: @@ -59282,15 +59726,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *463 + - *465 responses: '200': description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: &474 + default: &476 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59347,7 +59791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *463 + - *465 requestBody: required: false content: @@ -59393,9 +59837,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *474 + default: *476 '404': description: Not Found if the authenticated user does not have access to the project @@ -59416,7 +59860,7 @@ paths: items: type: string '401': *25 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -59439,7 +59883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *463 + - *465 responses: '204': description: Delete Success @@ -59460,7 +59904,7 @@ paths: items: type: string '401': *25 - '410': *475 + '410': *477 '404': *6 x-github: githubCloudOnly: false @@ -59484,7 +59928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *463 + - *465 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -59511,7 +59955,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -59541,7 +59985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *463 + - *465 - *138 requestBody: required: false @@ -59594,7 +60038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *463 + - *465 - *138 responses: '204': @@ -59626,7 +60070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *463 + - *465 - *138 responses: '200': @@ -59727,7 +60171,7 @@ paths: resources: type: object properties: - core: &476 + core: &478 title: Rate Limit type: object properties: @@ -59744,21 +60188,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: *478 + search: *478 + code_search: *478 + source_import: *478 + integration_manifest: *478 + code_scanning_upload: *478 + actions_runner_registration: *478 + scim: *478 + dependency_snapshots: *478 + dependency_sbom: *478 + code_scanning_autofix: *478 required: - core - search - rate: *476 + rate: *478 required: - rate - resources @@ -59863,14 +60307,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *477 + schema: *479 examples: default-response: summary: Default response @@ -60375,7 +60819,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *478 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60393,8 +60837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -60651,10 +61095,10 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 - '307': &480 + default: *481 + '307': &482 description: Temporary Redirect content: application/json: @@ -60683,8 +61127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -60706,7 +61150,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': *482 '404': *6 '409': *114 x-github: @@ -60730,11 +61174,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &495 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60757,7 +61201,7 @@ paths: type: integer artifacts: type: array - items: &481 + items: &483 title: Artifact description: An artifact type: object @@ -60835,7 +61279,7 @@ paths: - expires_at - updated_at examples: - default: &496 + default: &498 value: total_count: 2 artifacts: @@ -60896,9 +61340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *464 - - *465 - - &482 + - *466 + - *467 + - &484 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60910,7 +61354,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -60948,9 +61392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 responses: '204': description: Response @@ -60974,9 +61418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - name: archive_format in: path required: true @@ -60990,7 +61434,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': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61013,14 +61457,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -61046,11 +61490,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: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &484 + - &486 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 @@ -61084,7 +61528,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -61126,7 +61570,7 @@ paths: - total_count - actions_caches examples: - default: &486 + default: &488 value: total_count: 1 actions_caches: @@ -61158,23 +61602,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: - - *464 - - *465 + - *466 + - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *484 + - *486 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61194,8 +61638,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: - - *464 - - *465 + - *466 + - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61226,9 +61670,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: - - *464 - - *465 - - &487 + - *466 + - *467 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -61240,7 +61684,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -61547,9 +61991,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: - - *464 - - *465 - - *487 + - *466 + - *467 + - *489 responses: '302': description: Response @@ -61577,9 +62021,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: - - *464 - - *465 - - *487 + - *466 + - *467 + - *489 requestBody: required: false content: @@ -61600,7 +62044,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -61624,8 +62068,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Status response @@ -61675,8 +62119,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -61710,7 +62154,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -61739,8 +62183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -61758,7 +62202,7 @@ paths: type: integer secrets: type: array - items: &501 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61778,7 +62222,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &504 value: total_count: 2 secrets: @@ -61811,9 +62255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *19 responses: '200': @@ -61830,7 +62274,7 @@ paths: type: integer variables: type: array - items: &505 + items: &507 title: Actions Variable type: object properties: @@ -61860,7 +62304,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &508 value: total_count: 2 variables: @@ -61893,8 +62337,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -61903,11 +62347,11 @@ paths: schema: type: object properties: - enabled: &489 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled @@ -61938,8 +62382,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -61950,7 +62394,7 @@ paths: schema: type: object properties: - enabled: *489 + enabled: *491 allowed_actions: *56 sha_pinning_required: *57 required: @@ -61983,14 +62427,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &490 + schema: &492 type: object properties: access_level: @@ -62008,7 +62452,7 @@ paths: required: - access_level examples: - default: &491 + default: &493 value: access_level: organization x-github: @@ -62033,15 +62477,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 responses: '204': description: Response @@ -62065,14 +62509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -62096,8 +62540,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Empty response for successful settings update @@ -62107,7 +62551,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: default: summary: Set retention days @@ -62131,8 +62575,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62140,7 +62584,7 @@ paths: application/json: schema: *58 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -62159,8 +62603,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -62194,14 +62638,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *59 '403': *29 @@ -62223,13 +62667,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *59 responses: @@ -62255,8 +62699,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62287,8 +62731,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -62320,14 +62764,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *65 x-github: @@ -62350,8 +62794,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Success response @@ -62362,7 +62806,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *65 x-github: @@ -62391,8 +62835,8 @@ paths: in: query schema: type: string - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -62436,8 +62880,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62445,9 +62889,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62469,8 +62913,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -62513,7 +62957,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -62544,8 +62988,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: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -62553,7 +62997,7 @@ paths: application/json: schema: *75 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62581,8 +63025,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: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -62590,7 +63034,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62612,8 +63056,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '200': @@ -62622,7 +63066,7 @@ paths: application/json: schema: *72 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62643,8 +63087,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '204': @@ -62671,8 +63115,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '200': *77 @@ -62697,8 +63141,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: - - *464 - - *465 + - *466 + - *467 - *71 requestBody: required: true @@ -62747,8 +63191,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: - - *464 - - *465 + - *466 + - *467 - *71 requestBody: required: true @@ -62798,11 +63242,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *71 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -62829,10 +63273,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *71 - - *285 + - *288 responses: '200': *77 '404': *6 @@ -62860,9 +63304,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: - - *464 - - *465 - - &509 + - *466 + - *467 + - &511 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. @@ -62870,7 +63314,7 @@ paths: required: false schema: type: string - - &510 + - &512 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62878,7 +63322,7 @@ paths: required: false schema: type: string - - &511 + - &513 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62887,7 +63331,7 @@ paths: required: false schema: type: string - - &512 + - &514 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 @@ -62914,7 +63358,7 @@ paths: - pending - *17 - *19 - - &513 + - &515 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)." @@ -62923,7 +63367,7 @@ paths: schema: type: string format: date-time - - &492 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62932,13 +63376,13 @@ paths: schema: type: boolean default: false - - &514 + - &516 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &515 + - &517 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62961,7 +63405,7 @@ paths: type: integer workflow_runs: type: array - items: &493 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -63056,7 +63500,7 @@ paths: that triggered the run. type: array nullable: true - items: &534 + items: &536 title: Pull Request Minimal type: object properties: @@ -63175,7 +63619,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &538 + properties: &540 id: type: string description: SHA for the commit @@ -63226,7 +63670,7 @@ paths: - name - email nullable: true - required: &539 + required: &541 - id - tree_id - message @@ -63234,8 +63678,8 @@ paths: - author - committer nullable: true - repository: *277 - head_repository: *277 + repository: *280 + head_repository: *280 head_repository_id: type: integer example: 5 @@ -63273,7 +63717,7 @@ paths: - workflow_url - pull_requests examples: - default: &516 + default: &518 value: total_count: 1 workflow_runs: @@ -63509,24 +63953,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *464 - - *465 - - &494 + - *466 + - *467 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *492 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: &497 + default: &499 value: id: 30433642 name: Build @@ -63767,9 +64211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '204': description: Response @@ -63792,9 +64236,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -63913,15 +64357,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -63948,12 +64392,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 - *17 - *19 - - *495 + - *497 responses: '200': description: Response @@ -63969,9 +64413,9 @@ paths: type: integer artifacts: type: array - items: *481 + items: *483 examples: - default: *496 + default: *498 headers: Link: *43 x-github: @@ -63995,25 +64439,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *464 - - *465 - - *494 - - &498 + - *466 + - *467 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *492 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64036,10 +64480,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: - - *464 - - *465 - - *494 - - *498 + - *466 + - *467 + - *496 + - *500 - *17 - *19 responses: @@ -64057,9 +64501,9 @@ paths: type: integer jobs: type: array - items: *499 + items: *501 examples: - default: &500 + default: &502 value: total_count: 1 jobs: @@ -64172,10 +64616,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *464 - - *465 - - *494 - - *498 + - *466 + - *467 + - *496 + - *500 responses: '302': description: Response @@ -64203,15 +64647,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '202': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64238,9 +64682,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: true content: @@ -64307,15 +64751,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '202': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64342,9 +64786,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 - 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 @@ -64374,9 +64818,9 @@ paths: type: integer jobs: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *43 x-github: @@ -64401,9 +64845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '302': description: Response @@ -64430,9 +64874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '204': description: Response @@ -64459,9 +64903,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -64521,7 +64965,7 @@ paths: items: type: object properties: - type: &623 + type: &625 type: string description: The type of reviewer. enum: @@ -64531,7 +64975,7 @@ paths: reviewer: anyOf: - *4 - - *304 + - *307 required: - environment - wait_timer @@ -64606,9 +65050,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: true content: @@ -64655,7 +65099,7 @@ paths: application/json: schema: type: array - items: &609 + items: &611 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64743,8 +65187,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -64761,7 +65205,7 @@ paths: - created_at - updated_at examples: - default: &610 + default: &612 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64817,9 +65261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: false content: @@ -64840,7 +65284,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64863,9 +65307,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: false content: @@ -64886,7 +65330,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64919,9 +65363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -65058,8 +65502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -65077,9 +65521,9 @@ paths: type: integer secrets: type: array - items: *501 + items: *503 examples: - default: *502 + default: *504 headers: Link: *43 x-github: @@ -65104,16 +65548,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65135,17 +65579,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &636 + default: &638 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65171,9 +65615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -65204,7 +65648,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -65230,9 +65674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -65257,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *19 responses: '200': @@ -65276,9 +65720,9 @@ paths: type: integer variables: type: array - items: *505 + items: *507 examples: - default: *506 + default: *508 headers: Link: *43 x-github: @@ -65301,8 +65745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -65329,7 +65773,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -65354,17 +65798,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &637 + default: &639 value: name: USERNAME value: octocat @@ -65390,9 +65834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 requestBody: required: true content: @@ -65434,9 +65878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 responses: '204': description: Response @@ -65461,8 +65905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -65480,7 +65924,7 @@ paths: type: integer workflows: type: array - items: &507 + items: &509 title: Workflow description: A GitHub Actions workflow type: object @@ -65587,9 +66031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *464 - - *465 - - &508 + - *466 + - *467 + - &510 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65604,7 +66048,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: default: value: @@ -65637,9 +66081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65664,9 +66108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65717,9 +66161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65746,19 +66190,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: - - *464 - - *465 - - *508 - - *509 + - *466 + - *467 - *510 - *511 - *512 - - *17 - - *19 - *513 - - *492 - *514 + - *17 + - *19 - *515 + - *494 + - *516 + - *517 responses: '200': description: Response @@ -65774,9 +66218,9 @@ paths: type: integer workflow_runs: type: array - items: *493 + items: *495 examples: - default: *516 + default: *518 headers: Link: *43 x-github: @@ -65809,9 +66253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '200': description: Response @@ -65872,8 +66316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *464 - - *465 + - *466 + - *467 - *106 - *17 - *104 @@ -66037,8 +66481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66050,7 +66494,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -66075,8 +66519,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: - - *464 - - *465 + - *466 + - *467 - name: assignee in: path required: true @@ -66112,8 +66556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66225,8 +66669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *104 - *105 @@ -66283,7 +66727,7 @@ paths: initiator: type: string examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66303,8 +66747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -66312,7 +66756,7 @@ paths: application/json: schema: type: array - items: &518 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -66366,8 +66810,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66406,9 +66850,9 @@ paths: description: response content: application/json: - schema: *518 + schema: *520 examples: - default: &519 + default: &521 value: id: 1 key_prefix: TICKET- @@ -66439,9 +66883,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: - - *464 - - *465 - - &520 + - *466 + - *467 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66453,9 +66897,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -66475,9 +66919,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: - - *464 - - *465 - - *520 + - *466 + - *467 + - *522 responses: '204': description: Response @@ -66501,8 +66945,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if Dependabot is enabled @@ -66550,8 +66994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -66572,8 +67016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -66593,8 +67037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *464 - - *465 + - *466 + - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66632,7 +67076,7 @@ paths: - url protected: type: boolean - protection: &522 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -66674,7 +67118,7 @@ paths: required: - contexts - checks - enforce_admins: &525 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66689,7 +67133,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &527 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66710,7 +67154,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *304 + items: *307 apps: description: The list of apps with review dismissal access. @@ -66739,7 +67183,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *304 + items: *307 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66765,7 +67209,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &524 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66828,7 +67272,7 @@ paths: type: string teams: type: array - items: *304 + items: *307 apps: type: array items: @@ -67042,9 +67486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *464 - - *465 - - &523 + - *466 + - *467 + - &525 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). @@ -67058,14 +67502,14 @@ paths: description: Response content: application/json: - schema: &533 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &583 + commit: &585 title: Commit description: Commit type: object @@ -67099,7 +67543,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &521 + properties: &523 name: type: string example: '"Chris Wanstrath"' @@ -67114,7 +67558,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true message: type: string @@ -67135,7 +67579,7 @@ paths: required: - sha - url - verification: &643 + verification: &645 title: Verification type: object properties: @@ -67169,12 +67613,12 @@ paths: nullable: true oneOf: - *4 - - *288 + - *291 committer: nullable: true oneOf: - *4 - - *288 + - *291 parents: type: array items: @@ -67205,7 +67649,7 @@ paths: type: integer files: type: array - items: &596 + items: &598 title: Diff Entry description: Diff Entry type: object @@ -67289,7 +67733,7 @@ paths: - self protected: type: boolean - protection: *522 + protection: *524 protection_url: type: string format: uri @@ -67396,7 +67840,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *478 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -67418,15 +67862,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -67620,9 +68064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -67877,7 +68321,7 @@ paths: url: type: string format: uri - required_status_checks: &530 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -67953,7 +68397,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 apps: type: array items: *5 @@ -67971,7 +68415,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 apps: type: array items: *5 @@ -68029,7 +68473,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *524 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -68141,9 +68585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68168,17 +68612,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &526 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68200,17 +68644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68229,9 +68673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68256,17 +68700,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: &528 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68362,9 +68806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68462,9 +68906,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -68485,9 +68929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68514,17 +68958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68547,17 +68991,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *529 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -68577,9 +69021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68604,17 +69048,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &531 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68640,9 +69084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68694,9 +69138,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *531 + default: *533 '404': *6 '422': *15 x-github: @@ -68718,9 +69162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68744,9 +69188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -68780,9 +69224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68849,9 +69293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68915,9 +69359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: content: application/json: @@ -68983,15 +69427,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -69082,9 +69526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -69107,9 +69551,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69119,7 +69563,7 @@ paths: type: array items: *5 examples: - default: &532 + default: &534 value: - id: 1 slug: octoapp @@ -69176,9 +69620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69212,7 +69656,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69233,9 +69677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69269,7 +69713,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69290,9 +69734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69326,7 +69770,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69348,9 +69792,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69358,9 +69802,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -69380,9 +69824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -69418,9 +69862,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69441,9 +69885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -69479,9 +69923,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69502,9 +69946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: content: application/json: @@ -69539,9 +69983,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69563,9 +70007,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69575,7 +70019,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '404': *6 x-github: githubCloudOnly: false @@ -69599,9 +70043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69634,7 +70078,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69659,9 +70103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69694,7 +70138,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69719,9 +70163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69754,7 +70198,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69781,9 +70225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69805,7 +70249,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -69919,8 +70363,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 @@ -69934,9 +70378,9 @@ paths: application/json: schema: type: array - items: *299 + items: *302 examples: - default: *300 + default: *303 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69956,8 +70400,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -69971,7 +70415,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *302 examples: default: value: @@ -70030,8 +70474,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 @@ -70045,9 +70489,9 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: - default: *303 + default: *306 '404': *6 '403': *29 '500': *40 @@ -70071,8 +70515,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -70084,7 +70528,7 @@ paths: description: A single bypass request. content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -70142,8 +70586,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -70214,8 +70658,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_response_id in: path required: true @@ -70248,8 +70692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -70528,7 +70972,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &537 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70639,16 +71083,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 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: *534 - deployment: &864 + items: *536 + deployment: &868 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70715,8 +71159,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -70928,9 +71372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *464 - - *465 - - &536 + - *466 + - *467 + - &538 name: check_run_id description: The unique identifier of the check run. in: path @@ -70942,9 +71386,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &537 + default: &539 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71044,9 +71488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 requestBody: required: true content: @@ -71286,9 +71730,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71308,9 +71752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 - *17 - *19 responses: @@ -71405,15 +71849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -71451,8 +71895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71474,7 +71918,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &540 + schema: &542 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71538,7 +71982,7 @@ paths: nullable: true pull_requests: type: array - items: *534 + items: *536 nullable: true app: title: GitHub app @@ -71549,9 +71993,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - repository: *277 + properties: *211 + required: *212 + repository: *280 created_at: type: string format: date-time @@ -71560,12 +72004,12 @@ paths: type: string format: date-time nullable: true - head_commit: &890 + head_commit: &894 title: Simple Commit description: A commit. type: object - properties: *538 - required: *539 + properties: *540 + required: *541 latest_check_runs_count: type: integer check_runs_url: @@ -71593,7 +72037,7 @@ paths: - check_runs_url - pull_requests examples: - default: &541 + default: &543 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71884,9 +72328,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71905,8 +72349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71967,7 +72411,7 @@ paths: required: - app_id - setting - repository: *277 + repository: *280 examples: default: value: @@ -72215,9 +72659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *464 - - *465 - - &542 + - *466 + - *467 + - &544 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72229,9 +72673,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72254,17 +72698,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: - - *464 - - *465 - - *542 - - &589 + - *466 + - *467 + - *544 + - &591 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &590 + - &592 name: status description: Returns check runs with the specified `status`. in: query @@ -72303,9 +72747,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *537 examples: - default: &591 + default: &593 value: total_count: 1 check_runs: @@ -72407,15 +72851,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *464 - - *465 - - *542 + - *466 + - *467 + - *544 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -72442,21 +72886,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: - - *464 - - *465 - - *308 - - *309 + - *466 + - *467 + - *311 + - *312 - *19 - *17 - - &558 + - &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: *543 - - &559 + schema: *545 + - &561 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72481,13 +72925,13 @@ paths: be returned. in: query required: false - schema: *310 + schema: *313 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *544 + schema: *546 responses: '200': description: Response @@ -72503,7 +72947,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *545 + instances_url: *547 state: *109 fixed_at: *133 dismissed_by: @@ -72514,11 +72958,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *546 - dismissed_comment: *547 - rule: *548 - tool: *549 - most_recent_instance: *550 + dismissed_reason: *548 + dismissed_comment: *549 + rule: *550 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72644,7 +73088,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &551 + '403': &553 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72671,9 +73115,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: - - *464 - - *465 - - &552 + - *466 + - *467 + - &554 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72687,7 +73131,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &555 type: object properties: number: *123 @@ -72695,7 +73139,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *545 + instances_url: *547 state: *109 fixed_at: *133 dismissed_by: @@ -72706,8 +73150,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *548 + dismissed_comment: *549 rule: type: object properties: @@ -72761,8 +73205,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *549 - most_recent_instance: *550 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72861,7 +73305,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -72881,9 +73325,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: true content: @@ -72898,8 +73342,8 @@ paths: enum: - open - dismissed - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *548 + dismissed_comment: *549 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72918,7 +73362,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: default: value: @@ -72994,7 +73438,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &557 + '403': &559 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73021,15 +73465,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 responses: '200': description: Response content: application/json: - schema: &554 + schema: &556 type: object properties: status: @@ -73055,13 +73499,13 @@ paths: - description - started_at examples: - default: &555 + default: &557 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &556 + '400': &558 description: Bad Request content: application/json: @@ -73072,7 +73516,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': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73097,29 +73541,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 responses: '200': description: OK content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '202': description: Accepted content: application/json: - schema: *554 + schema: *556 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *556 + '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 @@ -73151,9 +73595,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: false content: @@ -73198,8 +73642,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *556 - '403': *557 + '400': *558 + '403': *559 '404': *6 '422': description: Unprocessable Entity @@ -73223,13 +73667,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 - *19 - *17 - - *558 - - *559 + - *560 + - *561 responses: '200': description: Response @@ -73237,7 +73681,7 @@ paths: application/json: schema: type: array - items: *550 + items: *552 examples: default: value: @@ -73276,7 +73720,7 @@ paths: end_column: 50 classifications: - source - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73310,25 +73754,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: - - *464 - - *465 - - *308 - - *309 + - *466 + - *467 + - *311 + - *312 - *19 - *17 - - *559 + - *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: *543 + schema: *545 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &562 + schema: &564 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73349,23 +73793,23 @@ paths: application/json: schema: type: array - items: &563 + items: &565 type: object properties: - ref: *543 - commit_sha: &571 + ref: *545 + commit_sha: &573 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: *560 + analysis_key: *562 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *561 + category: *563 error: type: string example: error reading field xyz @@ -73389,8 +73833,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *562 - tool: *549 + sarif_id: *564 + tool: *551 deletable: type: boolean warning: @@ -73451,7 +73895,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73487,8 +73931,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: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73501,7 +73945,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: response: summary: application/json response @@ -73555,7 +73999,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *551 + '403': *553 '404': *6 '422': description: Response if analysis could not be processed @@ -73642,8 +74086,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: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73696,7 +74140,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': *557 + '403': *559 '404': *6 '503': *190 x-github: @@ -73718,8 +74162,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -73727,7 +74171,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: CodeQL Database description: A CodeQL database. type: object @@ -73838,7 +74282,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': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73867,8 +74311,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: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -73880,7 +74324,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: default: value: @@ -73912,9 +74356,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': &598 + '302': &600 description: Found - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73936,8 +74380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -73947,7 +74391,7 @@ paths: responses: '204': description: Response - '403': *557 + '403': *559 '404': *6 '503': *190 x-github: @@ -73975,8 +74419,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -73985,7 +74429,7 @@ paths: type: object additionalProperties: false properties: - language: &565 + language: &567 type: string description: The language targeted by the CodeQL query enum: @@ -74064,7 +74508,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &569 + schema: &571 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74074,7 +74518,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *565 + query_language: *567 query_pack_url: type: string description: The download url for the query pack. @@ -74121,7 +74565,7 @@ paths: items: type: object properties: - repository: &566 + repository: &568 title: Repository Identifier description: Repository Identifier type: object @@ -74157,7 +74601,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &570 + analysis_status: &572 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74189,7 +74633,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &567 + access_mismatch_repos: &569 type: object properties: repository_count: @@ -74203,7 +74647,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: *566 + items: *568 required: - repository_count - repositories @@ -74225,8 +74669,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *567 - over_limit_repos: *567 + no_codeql_db_repos: *569 + over_limit_repos: *569 required: - access_mismatch_repos - not_found_repos @@ -74242,7 +74686,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &568 + value: &570 summary: Default response value: id: 1 @@ -74394,10 +74838,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *568 + value: *570 repository_lists: summary: Response for a successful variant analysis submission - value: *568 + value: *570 '404': *6 '422': description: Unable to process variant analysis submission @@ -74425,8 +74869,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: - - *464 - - *465 + - *466 + - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74438,9 +74882,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *568 + default: *570 '404': *6 '503': *190 x-github: @@ -74463,7 +74907,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: - - *464 + - *466 - name: repo in: path description: The name of the controller repository. @@ -74498,7 +74942,7 @@ paths: type: object properties: repository: *115 - analysis_status: *570 + analysis_status: *572 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74623,8 +75067,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -74709,7 +75153,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -74730,8 +75174,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -74798,7 +75242,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -74823,7 +75267,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *557 + '403': *559 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74894,8 +75338,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -74903,7 +75347,7 @@ paths: schema: type: object properties: - commit_sha: *571 + commit_sha: *573 ref: type: string description: |- @@ -74961,7 +75405,7 @@ paths: schema: type: object properties: - id: *562 + id: *564 url: type: string description: The REST API URL for checking the status of the upload. @@ -74975,7 +75419,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': *557 + '403': *559 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74998,8 +75442,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: - - *464 - - *465 + - *466 + - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75045,7 +75489,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': *551 + '403': *553 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75070,8 +75514,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75152,8 +75596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *464 - - *465 + - *466 + - *467 - 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 @@ -75273,8 +75717,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75290,7 +75734,7 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: default: value: @@ -75588,8 +76032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -75652,17 +76096,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '400': *14 '401': *25 '403': *29 @@ -75691,8 +76135,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75756,8 +76200,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: - - *464 - - *465 + - *466 + - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75792,14 +76236,14 @@ paths: type: integer machines: type: array - items: &817 + items: &819 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *573 - required: *574 + properties: *575 + required: *576 examples: - default: &818 + default: &820 value: total_count: 2 machines: @@ -75839,8 +76283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75924,8 +76368,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: - - *464 - - *465 + - *466 + - *467 - 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 @@ -75991,8 +76435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -76010,7 +76454,7 @@ paths: type: integer secrets: type: array - items: &578 + items: &580 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76030,7 +76474,7 @@ paths: - created_at - updated_at examples: - default: *575 + default: *577 headers: Link: *43 x-github: @@ -76053,16 +76497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76082,17 +76526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76112,9 +76556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -76142,7 +76586,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76166,9 +76610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -76196,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *464 - - *465 + - *466 + - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76239,7 +76683,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &580 + properties: &582 login: type: string example: octocat @@ -76332,7 +76776,7 @@ paths: user_view_type: type: string example: public - required: &581 + required: &583 - avatar_url - events_url - followers_url @@ -76406,8 +76850,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: - - *464 - - *465 + - *466 + - *467 - *138 responses: '204': @@ -76454,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *138 requestBody: required: false @@ -76482,7 +76926,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &656 + schema: &658 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76493,7 +76937,7 @@ paths: example: 42 type: integer format: int64 - repository: *277 + repository: *280 invitee: title: Simple User description: A GitHub user. @@ -76671,7 +77115,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *252 + schema: *255 '403': *29 x-github: triggersNotification: true @@ -76711,8 +77155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *138 responses: '204': @@ -76744,8 +77188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *464 - - *465 + - *466 + - *467 - *138 responses: '200': @@ -76766,8 +77210,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *580 - required: *581 + properties: *582 + required: *583 nullable: true required: - permission @@ -76822,8 +77266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -76833,7 +77277,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Commit Comment description: Commit Comment type: object @@ -76874,8 +77318,8 @@ paths: updated_at: type: string format: date-time - author_association: *210 - reactions: *211 + author_association: *213 + reactions: *214 required: - url - html_url @@ -76891,7 +77335,7 @@ paths: - created_at - updated_at examples: - default: &585 + default: &587 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76950,17 +77394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: &586 + default: &588 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77017,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -77041,7 +77485,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: default: value: @@ -77092,9 +77536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -77115,9 +77559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -77143,9 +77587,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -77166,9 +77610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -77200,16 +77644,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -77231,10 +77675,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -77283,8 +77727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77340,9 +77784,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: &708 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77436,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *464 - - *465 - - &584 + - *466 + - *467 + - &586 name: commit_sha description: The SHA of the commit. in: path @@ -77510,9 +77954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 - *17 - *19 responses: @@ -77522,9 +77966,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *585 + default: *587 headers: Link: *43 x-github: @@ -77552,9 +77996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 requestBody: required: true content: @@ -77589,9 +78033,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: *586 + default: *588 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77619,9 +78063,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: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 - *17 - *19 responses: @@ -77631,9 +78075,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: &700 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78170,11 +78614,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - - &588 + - &590 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)" @@ -78189,9 +78633,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: &685 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78304,11 +78748,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: - - *464 - - *465 - - *588 - - *589 + - *466 + - *467 - *590 + - *591 + - *592 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78342,9 +78786,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *537 examples: - default: *591 + default: *593 headers: Link: *43 x-github: @@ -78369,9 +78813,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: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78379,7 +78823,7 @@ paths: schema: type: integer example: 1 - - *589 + - *591 - *17 - *19 responses: @@ -78397,7 +78841,7 @@ paths: type: integer check_suites: type: array - items: *540 + items: *542 examples: default: value: @@ -78597,9 +79041,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: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - *17 - *19 responses: @@ -78666,7 +79110,7 @@ paths: type: string total_count: type: integer - repository: *277 + repository: *280 commit_url: type: string format: uri @@ -78797,9 +79241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - *17 - *19 responses: @@ -78809,7 +79253,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: Status description: The status of a commit. type: object @@ -78890,7 +79334,7 @@ paths: site_admin: false headers: Link: *43 - '301': *478 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78918,8 +79362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -78948,20 +79392,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *592 - required: *593 + properties: *594 + required: *595 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &594 + properties: &596 url: type: string format: uri html_url: type: string format: uri - required: &595 + required: &597 - url - html_url nullable: true @@ -78969,32 +79413,32 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true contributing: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true readme: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true issue_template: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true pull_request_template: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true required: - code_of_conduct @@ -79121,8 +79565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - name: basehead @@ -79165,8 +79609,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *583 - merge_base_commit: *583 + base_commit: *585 + merge_base_commit: *585 status: type: string enum: @@ -79186,10 +79630,10 @@ paths: example: 6 commits: type: array - items: *583 + items: *585 files: type: array - items: *596 + items: *598 required: - url - html_url @@ -79475,8 +79919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -79619,7 +80063,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &597 + response-if-content-is-a-file: &599 summary: Response if content is a file value: type: file @@ -79751,7 +80195,7 @@ paths: - size - type - url - - &713 + - &715 title: Content File description: Content File type: object @@ -79952,7 +80396,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *597 + response-if-content-is-a-file: *599 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80021,7 +80465,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *598 + '302': *600 '304': *37 x-github: githubCloudOnly: false @@ -80044,8 +80488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80138,7 +80582,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 title: File Commit description: File Commit type: object @@ -80290,7 +80734,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: example-for-creating-a-file: value: @@ -80344,7 +80788,7 @@ paths: schema: oneOf: - *3 - - &638 + - &640 description: Repository rule violation was detected type: object properties: @@ -80365,7 +80809,7 @@ paths: items: type: object properties: - placeholder_id: &754 + placeholder_id: &756 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80397,8 +80841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80459,7 +80903,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: default: value: @@ -80514,8 +80958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *464 - - *465 + - *466 + - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80638,22 +81082,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *464 - - *465 - - *324 - - *325 - - *326 + - *466 + - *467 - *327 + - *328 + - *329 + - *330 - 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 - - *328 - - *600 - - *329 - - *330 + - *331 + - *602 + - *332 + - *333 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -80672,7 +81116,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 type: object description: A Dependabot alert. properties: @@ -80718,7 +81162,7 @@ paths: - unknown - direct - transitive - security_advisory: *601 + security_advisory: *603 security_vulnerability: *127 url: *128 html_url: *129 @@ -80749,7 +81193,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *602 + auto_dismissed_at: *604 required: - number - state @@ -80979,9 +81423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *464 - - *465 - - &604 + - *466 + - *467 + - &606 name: alert_number in: path description: |- @@ -80996,7 +81440,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -81109,9 +81553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *464 - - *465 - - *604 + - *466 + - *467 + - *606 requestBody: required: true content: @@ -81156,7 +81600,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -81285,8 +81729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -81304,7 +81748,7 @@ paths: type: integer secrets: type: array - items: &607 + items: &609 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81357,16 +81801,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81386,15 +81830,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: default: value: @@ -81420,9 +81864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -81450,7 +81894,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -81474,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -81498,8 +81942,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: - - *464 - - *465 + - *466 + - *467 - 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 @@ -81659,8 +82103,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -81899,8 +82343,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -81975,7 +82419,7 @@ paths: - version - url additionalProperties: false - metadata: &608 + metadata: &610 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82008,7 +82452,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *608 + metadata: *610 resolved: type: object description: A collection of resolved package dependencies. @@ -82021,7 +82465,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *608 + metadata: *610 relationship: type: string description: A notation of whether a dependency is requested @@ -82150,8 +82594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -82191,9 +82635,9 @@ paths: application/json: schema: type: array - items: *609 + items: *611 examples: - default: *610 + default: *612 headers: Link: *43 x-github: @@ -82259,8 +82703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -82341,7 +82785,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: simple-example: summary: Simple example @@ -82414,9 +82858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *464 - - *465 - - &611 + - *466 + - *467 + - &613 name: deployment_id description: deployment_id parameter in: path @@ -82428,7 +82872,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: default: value: @@ -82493,9 +82937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 responses: '204': description: Response @@ -82517,9 +82961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 - *17 - *19 responses: @@ -82529,7 +82973,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Deployment Status description: The status of a deployment. type: object @@ -82620,8 +83064,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -82690,9 +83134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 requestBody: required: true content: @@ -82767,9 +83211,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: &613 + default: &615 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82825,9 +83269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 - name: status_id in: path required: true @@ -82838,9 +83282,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: *613 + default: *615 '404': *6 x-github: githubCloudOnly: false @@ -82867,12 +83311,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *614 - - *615 + - *466 + - *467 - *616 - *617 + - *618 + - *619 - *17 - *19 responses: @@ -82882,9 +83326,9 @@ paths: application/json: schema: type: array - items: *618 + items: *620 examples: - default: *619 + default: *621 '404': *6 '403': *29 '500': *40 @@ -82908,8 +83352,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -82921,7 +83365,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -82977,8 +83421,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83037,12 +83481,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 - - *620 + - *622 - *17 - *19 responses: @@ -83052,9 +83496,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: *622 + default: *624 '404': *6 '403': *29 '500': *40 @@ -83079,8 +83523,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83092,7 +83536,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *621 + schema: *623 examples: default: value: @@ -83150,8 +83594,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83220,8 +83664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83278,8 +83722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -83296,7 +83740,7 @@ paths: type: integer environments: type: array - items: &624 + items: &626 title: Environment description: Details of a deployment environment type: object @@ -83348,7 +83792,7 @@ paths: type: type: string example: wait_timer - wait_timer: &626 + wait_timer: &628 type: integer example: 30 description: The amount of time to delay a job after @@ -83385,11 +83829,11 @@ paths: items: type: object properties: - type: *623 + type: *625 reviewer: anyOf: - *4 - - *304 + - *307 required: - id - node_id @@ -83409,7 +83853,7 @@ paths: - id - node_id - type - deployment_branch_policy: &627 + deployment_branch_policy: &629 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83525,9 +83969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *464 - - *465 - - &625 + - *466 + - *467 + - &627 name: environment_name in: path required: true @@ -83540,9 +83984,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &628 + default: &630 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83626,9 +84070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: false content: @@ -83637,7 +84081,7 @@ paths: type: object nullable: true properties: - wait_timer: *626 + wait_timer: *628 prevent_self_review: type: boolean example: false @@ -83654,13 +84098,13 @@ paths: items: type: object properties: - type: *623 + type: *625 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *627 + deployment_branch_policy: *629 additionalProperties: false examples: default: @@ -83680,9 +84124,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *628 + default: *630 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83706,9 +84150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 responses: '204': description: Default response @@ -83733,9 +84177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 - *17 - *19 responses: @@ -83753,7 +84197,7 @@ paths: example: 2 branch_policies: type: array - items: &629 + items: &631 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83810,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: true content: @@ -83858,9 +84302,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - example-wildcard: &630 + example-wildcard: &632 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83902,10 +84346,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - &631 + - *466 + - *467 + - *627 + - &633 name: branch_policy_id in: path required: true @@ -83917,9 +84361,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83938,10 +84382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - *631 + - *466 + - *467 + - *627 + - *633 requestBody: required: true content: @@ -83969,9 +84413,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83990,10 +84434,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - *631 + - *466 + - *467 + - *627 + - *633 responses: '204': description: Response @@ -84018,9 +84462,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 responses: '200': description: List of deployment protection rules @@ -84036,7 +84480,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &632 + items: &634 title: Deployment protection rule description: Deployment protection rule type: object @@ -84055,7 +84499,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &633 + app: &635 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84154,9 +84598,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 requestBody: content: application/json: @@ -84177,9 +84621,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *632 + schema: *634 examples: - default: &634 + default: &636 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84214,9 +84658,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 - *19 - *17 responses: @@ -84235,7 +84679,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *633 + items: *635 examples: default: value: @@ -84270,10 +84714,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: - - *464 - - *465 - - *625 - - &635 + - *466 + - *467 + - *627 + - &637 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84285,9 +84729,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *634 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84308,10 +84752,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: - - *625 - - *465 - - *464 - - *635 + - *627 + - *467 + - *466 + - *637 responses: '204': description: Response @@ -84337,9 +84781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 - *17 - *19 responses: @@ -84357,9 +84801,9 @@ paths: type: integer secrets: type: array - items: *501 + items: *503 examples: - default: *502 + default: *504 headers: Link: *43 x-github: @@ -84384,17 +84828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84416,18 +84860,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *636 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84449,10 +84893,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 requestBody: required: true content: @@ -84483,7 +84927,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84509,10 +84953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 responses: '204': description: Default response @@ -84537,10 +84981,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *464 - - *465 - - *625 - - *488 + - *466 + - *467 + - *627 + - *490 - *19 responses: '200': @@ -84557,9 +85001,9 @@ paths: type: integer variables: type: array - items: *505 + items: *507 examples: - default: *506 + default: *508 headers: Link: *43 x-github: @@ -84582,9 +85026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: true content: @@ -84611,7 +85055,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84636,18 +85080,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *464 - - *465 - - *625 - - *290 + - *466 + - *467 + - *627 + - *293 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84668,10 +85112,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *464 - - *465 - - *290 - - *625 + - *466 + - *467 + - *293 + - *627 requestBody: required: true content: @@ -84713,10 +85157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *464 - - *465 - - *290 - - *625 + - *466 + - *467 + - *293 + - *627 responses: '204': description: Response @@ -84738,8 +85182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -84749,7 +85193,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -84807,8 +85251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *464 - - *465 + - *466 + - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84830,7 +85274,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -84967,8 +85411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -85000,9 +85444,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 '400': *14 '422': *15 '403': *29 @@ -85023,8 +85467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85083,8 +85527,8 @@ paths: application/json: schema: oneOf: - - *252 - - *638 + - *255 + - *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85109,8 +85553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *464 - - *465 + - *466 + - *467 - name: file_sha in: path required: true @@ -85209,8 +85653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85319,7 +85763,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &641 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85533,15 +85977,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 responses: '200': description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -85597,9 +86041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *464 - - *465 - - &640 + - *466 + - *467 + - &642 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. @@ -85616,7 +86060,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Git Reference description: Git references within a repository type: object @@ -85691,17 +86135,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 responses: '200': description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: &642 + default: &644 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85730,8 +86174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85760,9 +86204,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85788,9 +86232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 requestBody: required: true content: @@ -85819,9 +86263,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 '422': *15 '409': *114 x-github: @@ -85839,9 +86283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 responses: '204': description: Response @@ -85896,8 +86340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85964,7 +86408,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &646 title: Git Tag description: Metadata for a Git tag type: object @@ -86015,7 +86459,7 @@ paths: - sha - type - url - verification: *643 + verification: *645 required: - sha - url @@ -86025,7 +86469,7 @@ paths: - tag - message examples: - default: &645 + default: &647 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86098,8 +86542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_sha in: path required: true @@ -86110,9 +86554,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *646 examples: - default: *645 + default: *647 '404': *6 '409': *114 x-github: @@ -86136,8 +86580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -86210,7 +86654,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &648 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86306,8 +86750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *464 - - *465 + - *466 + - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86330,7 +86774,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default-response: summary: Default response @@ -86389,8 +86833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -86400,7 +86844,7 @@ paths: application/json: schema: type: array - items: &647 + items: &649 title: Webhook description: Webhooks for repositories. type: object @@ -86454,7 +86898,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &898 + last_response: &902 title: Hook Response type: object properties: @@ -86528,8 +86972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -86581,9 +87025,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: &648 + default: &650 value: type: Repository id: 12345678 @@ -86631,17 +87075,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '200': description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: *648 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -86661,9 +87105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 requestBody: required: true content: @@ -86708,9 +87152,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: *648 + default: *650 '422': *15 '404': *6 x-github: @@ -86731,9 +87175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86757,9 +87201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '200': description: Response @@ -86786,9 +87230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 requestBody: required: false content: @@ -86832,11 +87276,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *17 - - *339 + - *342 responses: '200': description: Response @@ -86844,9 +87288,9 @@ paths: application/json: schema: type: array - items: *340 + items: *343 examples: - default: *341 + default: *344 '400': *14 '422': *15 x-github: @@ -86865,18 +87309,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '400': *14 '422': *15 x-github: @@ -86895,9 +87339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *16 responses: '202': *39 @@ -86920,9 +87364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86947,9 +87391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86972,8 +87416,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if immutable releases are enabled @@ -87019,8 +87463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '409': *114 @@ -87040,8 +87484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '409': *114 @@ -87098,14 +87542,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &649 + schema: &651 title: Import description: A repository import from an external source. type: object @@ -87204,7 +87648,7 @@ paths: - html_url - authors_url examples: - default: &652 + default: &654 value: vcs: subversion use_lfs: true @@ -87220,7 +87664,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': &650 + '503': &652 description: Unavailable due to service under maintenance. content: application/json: @@ -87249,8 +87693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87298,7 +87742,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: default: value: @@ -87323,7 +87767,7 @@ paths: type: string '422': *15 '404': *6 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87351,8 +87795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -87401,7 +87845,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: example-1: summary: Example 1 @@ -87449,7 +87893,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': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87472,12 +87916,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87503,9 +87947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *464 - - *465 - - &839 + - *466 + - *467 + - &841 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87519,7 +87963,7 @@ paths: application/json: schema: type: array - items: &651 + items: &653 title: Porter Author description: Porter Author type: object @@ -87573,7 +88017,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': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87598,8 +88042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *464 - - *465 + - *466 + - *467 - name: author_id in: path required: true @@ -87629,7 +88073,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *653 examples: default: value: @@ -87642,7 +88086,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87666,8 +88110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87708,7 +88152,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87736,8 +88180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87764,11 +88208,11 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: - default: *652 + default: *654 '422': *15 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87791,8 +88235,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87800,8 +88244,8 @@ paths: application/json: schema: *22 examples: - default: *653 - '301': *478 + default: *655 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -87821,8 +88265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87830,12 +88274,12 @@ paths: application/json: schema: anyOf: - - *356 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &655 + default: &657 value: limit: collaborators_only origin: repository @@ -87860,13 +88304,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *654 + schema: *656 examples: default: summary: Example request body @@ -87878,9 +88322,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *655 + default: *657 '409': description: Response x-github: @@ -87902,8 +88346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -87926,8 +88370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -87937,9 +88381,9 @@ paths: application/json: schema: type: array - items: *656 + items: *658 examples: - default: &832 + default: &834 value: - id: 1 repository: @@ -88070,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *464 - - *465 - - *360 + - *466 + - *467 + - *363 requestBody: required: false content: @@ -88101,7 +88545,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: default: value: @@ -88232,9 +88676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *464 - - *465 - - *360 + - *466 + - *467 + - *363 responses: '204': description: Response @@ -88265,8 +88709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *464 - - *465 + - *466 + - *467 - 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 @@ -88314,7 +88758,7 @@ paths: required: false schema: type: string - - *364 + - *367 - name: sort description: What to sort results by. in: query @@ -88327,7 +88771,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -88337,9 +88781,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &665 + default: &667 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88487,7 +88931,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *478 + '301': *480 '422': *15 '404': *6 x-github: @@ -88516,8 +88960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -88599,9 +89043,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &662 + default: &664 value: id: 1 node_id: MDU6SXNzdWUx @@ -88757,7 +89201,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *475 + '410': *477 x-github: triggersNotification: true githubCloudOnly: false @@ -88785,9 +89229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *464 - - *465 - - *233 + - *466 + - *467 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88797,7 +89241,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -88807,9 +89251,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: &664 + default: &666 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88867,17 +89311,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: &658 + default: &660 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88931,9 +89375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -88955,9 +89399,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 '422': *15 x-github: githubCloudOnly: false @@ -88975,9 +89419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -88997,9 +89441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -89025,9 +89469,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -89048,9 +89492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -89082,16 +89526,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -89113,10 +89557,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -89136,8 +89580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -89147,7 +89591,7 @@ paths: application/json: schema: type: array - items: &661 + items: &663 title: Issue Event description: Issue Event type: object @@ -89190,8 +89634,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *659 - required: *660 + properties: *661 + required: *662 nullable: true label: title: Issue Event Label @@ -89235,7 +89679,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *304 + requested_team: *307 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89300,7 +89744,7 @@ paths: required: - from - to - author_association: *210 + author_association: *213 lock_reason: type: string nullable: true @@ -89313,8 +89757,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -89498,8 +89942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *464 - - *465 + - *466 + - *467 - name: event_id in: path required: true @@ -89510,7 +89954,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: default: value: @@ -89703,7 +90147,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *475 + '410': *477 '403': *29 x-github: githubCloudOnly: false @@ -89737,9 +90181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *464 - - *465 - - &663 + - *466 + - *467 + - &665 name: issue_number description: The number that identifies the issue. in: path @@ -89751,12 +90195,12 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '404': *6 - '410': *475 + '410': *477 '304': *37 x-github: githubCloudOnly: false @@ -89781,9 +90225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -89887,15 +90331,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 '422': *15 '503': *190 '403': *29 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89913,9 +90357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -89941,9 +90385,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89959,9 +90403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: content: application/json: @@ -89986,9 +90430,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90010,9 +90454,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: assignee in: path required: true @@ -90052,10 +90496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *464 - - *465 - - *663 - - *213 + - *466 + - *467 + - *665 + - *216 - *17 - *19 responses: @@ -90065,13 +90509,13 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: *664 + default: *666 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90100,9 +90544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -90124,16 +90568,16 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -90161,9 +90605,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90173,14 +90617,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90208,9 +90652,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -90232,17 +90676,17 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *478 + '301': *480 '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -90273,9 +90717,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90287,15 +90731,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 x-github: triggersNotification: true githubCloudOnly: false @@ -90321,9 +90765,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90333,14 +90777,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,9 +90801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90373,7 +90817,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &668 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90404,8 +90848,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90427,7 +90871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90458,8 +90902,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90547,8 +90991,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 assigner: *4 required: @@ -90563,7 +91007,7 @@ paths: - performed_via_github_app - assignee - assigner - - &670 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90594,8 +91038,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90614,7 +91058,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90645,8 +91089,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90665,7 +91109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90696,8 +91140,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 rename: type: object properties: @@ -90719,7 +91163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90750,10 +91194,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *304 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90766,7 +91210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90797,10 +91241,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *304 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90813,7 +91257,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90844,8 +91288,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 dismissed_review: type: object properties: @@ -90873,7 +91317,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -90904,8 +91348,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 lock_reason: type: string example: '"off-topic"' @@ -90921,7 +91365,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90952,8 +91396,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -90987,7 +91431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91018,8 +91462,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91053,7 +91497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91084,8 +91528,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91119,7 +91563,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91210,7 +91654,7 @@ paths: color: red headers: Link: *43 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91227,9 +91671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -91239,7 +91683,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91286,7 +91730,7 @@ paths: - color - default examples: - default: &667 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91304,9 +91748,9 @@ paths: default: false headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91323,9 +91767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91384,12 +91828,12 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 - '301': *478 + default: *669 + '301': *480 '404': *6 - '410': *475 + '410': *477 '422': *15 x-github: githubCloudOnly: false @@ -91406,9 +91850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91468,12 +91912,12 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 - '301': *478 + default: *669 + '301': *480 '404': *6 - '410': *475 + '410': *477 '422': *15 x-github: githubCloudOnly: false @@ -91490,15 +91934,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '204': description: Response - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91517,9 +91961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: name in: path required: true @@ -91532,7 +91976,7 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: default: value: @@ -91543,9 +91987,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91565,9 +92009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91595,7 +92039,7 @@ paths: '204': description: Response '403': *29 - '410': *475 + '410': *477 '404': *6 '422': *15 x-github: @@ -91613,9 +92057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '204': description: Response @@ -91645,20 +92089,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91675,9 +92119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - 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. @@ -91703,13 +92147,13 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91727,9 +92171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91761,16 +92205,16 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -91792,10 +92236,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *464 - - *465 - - *663 - - *456 + - *466 + - *467 + - *665 + - *458 responses: '204': description: Response @@ -91824,9 +92268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91848,9 +92292,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91883,9 +92327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -91895,13 +92339,13 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91929,9 +92373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91958,16 +92402,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -91987,9 +92431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -92020,9 +92464,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 '403': *29 '404': *6 '422': *7 @@ -92044,9 +92488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -92061,8 +92505,6 @@ paths: description: Timeline Event type: object anyOf: - - *668 - - *669 - *670 - *671 - *672 @@ -92074,6 +92516,8 @@ paths: - *678 - *679 - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92116,7 +92560,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -92126,9 +92570,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - event - actor @@ -92159,7 +92603,7 @@ paths: properties: type: type: string - issue: *223 + issue: *226 required: - event - created_at @@ -92359,7 +92803,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - event - id @@ -92382,7 +92826,7 @@ paths: type: string comments: type: array - items: &702 + items: &704 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92471,7 +92915,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: @@ -92555,7 +92999,7 @@ paths: enum: - line - file - reactions: *211 + reactions: *214 body_html: type: string example: '"

comment body

"' @@ -92591,7 +93035,7 @@ paths: type: string comments: type: array - items: *582 + items: *584 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92622,8 +93066,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92666,8 +93110,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92710,8 +93154,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 state_reason: type: string nullable: true @@ -92880,7 +93324,7 @@ paths: headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92897,8 +93341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -92908,7 +93352,7 @@ paths: application/json: schema: type: array - items: &681 + items: &683 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92974,8 +93418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93011,9 +93455,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &682 + default: &684 value: id: 1 key: ssh-rsa AAA... @@ -93047,9 +93491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *464 - - *465 - - &683 + - *466 + - *467 + - &685 name: key_id description: The unique identifier of the key. in: path @@ -93061,9 +93505,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *682 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -93081,9 +93525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *464 - - *465 - - *683 + - *466 + - *467 + - *685 responses: '204': description: Response @@ -93103,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -93114,9 +93558,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 headers: Link: *43 '404': *6 @@ -93137,8 +93581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93174,9 +93618,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: &684 + default: &686 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93208,8 +93652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93220,9 +93664,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *684 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -93239,8 +93683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93279,7 +93723,7 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: default: value: @@ -93305,8 +93749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93332,8 +93776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -93369,8 +93813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '202': *39 '403': @@ -93398,8 +93842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -93425,9 +93869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *464 - - *465 - - *558 + - *466 + - *467 + - *560 responses: '200': description: Response @@ -93489,8 +93933,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true required: - _links @@ -93572,8 +94016,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93638,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93673,9 +94117,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *583 + schema: *585 examples: - default: *685 + default: *687 '204': description: Response when already merged '404': @@ -93700,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93742,12 +94186,12 @@ paths: application/json: schema: type: array - items: &686 + items: &688 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 examples: default: value: @@ -93803,8 +94247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93844,9 +94288,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: &687 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93905,9 +94349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *464 - - *465 - - &688 + - *466 + - *467 + - &690 name: milestone_number description: The number that identifies the milestone. in: path @@ -93919,9 +94363,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -93938,9 +94382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 requestBody: required: false content: @@ -93978,9 +94422,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93996,9 +94440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 responses: '204': description: Response @@ -94019,9 +94463,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: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 - *17 - *19 responses: @@ -94031,9 +94475,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 headers: Link: *43 x-github: @@ -94052,12 +94496,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: - - *464 - - *465 - - *689 - - *690 - - *213 + - *466 + - *467 - *691 + - *692 + - *216 + - *693 - *17 - *19 responses: @@ -94067,9 +94511,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *692 + default: *694 headers: Link: *43 x-github: @@ -94093,8 +94537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -94152,14 +94596,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &693 + schema: &695 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94284,7 +94728,7 @@ paths: - custom_404 - public examples: - default: &694 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94325,8 +94769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94380,9 +94824,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - default: *694 + default: *696 '422': *15 '409': *114 x-github: @@ -94405,8 +94849,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94513,8 +94957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -94540,8 +94984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94551,7 +94995,7 @@ paths: application/json: schema: type: array - items: &695 + items: &697 title: Page Build description: Page Build type: object @@ -94645,8 +95089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -94691,16 +95135,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *695 + schema: *697 examples: - default: &696 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94748,8 +95192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 - name: build_id in: path required: true @@ -94760,9 +95204,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *697 examples: - default: *696 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94782,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94888,9 +95332,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: - - *464 - - *465 - - &697 + - *466 + - *467 + - &699 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94948,9 +95392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *464 - - *465 - - *697 + - *466 + - *467 + - *699 responses: '204': *150 '404': *6 @@ -94977,8 +95421,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95209,7 +95653,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -95236,8 +95680,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Private vulnerability reporting status @@ -95274,8 +95718,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: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '422': *14 @@ -95296,8 +95740,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: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '422': *14 @@ -95320,8 +95764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Indicates the state of the projects to return. in: query @@ -95342,7 +95786,7 @@ paths: application/json: schema: type: array - items: *393 + items: *396 examples: default: value: @@ -95382,7 +95826,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -95405,8 +95849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95432,13 +95876,13 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *474 + default: *476 '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -95461,8 +95905,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95472,7 +95916,7 @@ paths: type: array items: *151 examples: - default: *698 + default: *700 '403': *29 '404': *6 x-github: @@ -95494,8 +95938,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95511,7 +95955,7 @@ paths: required: - properties examples: - default: *699 + default: *701 responses: '204': description: No Content when custom property values are successfully created @@ -95549,8 +95993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95610,9 +96054,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *700 + default: *702 headers: Link: *43 '304': *37 @@ -95644,8 +96088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95710,7 +96154,7 @@ paths: description: Response content: application/json: - schema: &704 + schema: &706 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95821,8 +96265,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true active_lock_reason: type: string @@ -95867,7 +96311,7 @@ paths: nullable: true requested_teams: type: array - items: *431 + items: *433 nullable: true head: type: object @@ -95906,14 +96350,14 @@ paths: _links: type: object properties: - comments: *401 - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + comments: *403 + commits: *403 + statuses: *403 + html: *403 + issue: *403 + review_comments: *403 + review_comment: *403 + self: *403 required: - comments - commits @@ -95923,8 +96367,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: *701 + author_association: *213 + auto_merge: *703 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96016,7 +96460,7 @@ paths: - merged_by - review_comments examples: - default: &705 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96543,8 +96987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: sort in: query required: false @@ -96563,7 +97007,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -96573,9 +97017,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: &707 + default: &709 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96652,17 +97096,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: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: &703 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96737,9 +97181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -96761,9 +97205,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96779,9 +97223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -96802,9 +97246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -96830,9 +97274,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -96853,9 +97297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -96887,16 +97331,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -96918,10 +97362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -96964,9 +97408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *464 - - *465 - - &706 + - *466 + - *467 + - &708 name: pull_number description: The number that identifies the pull request. in: path @@ -96979,9 +97423,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '304': *37 '404': *6 '406': @@ -97016,9 +97460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97060,9 +97504,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '422': *15 '403': *29 x-github: @@ -97084,9 +97528,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -97146,17 +97590,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -97186,10 +97630,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *464 - - *465 - - *706 - - *233 + - *466 + - *467 + - *708 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -97199,7 +97643,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -97209,9 +97653,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: *707 + default: *709 headers: Link: *43 x-github: @@ -97244,9 +97688,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -97351,7 +97795,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: example-for-a-multi-line-comment: value: @@ -97439,10 +97883,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *464 - - *465 - - *706 - - *222 + - *466 + - *467 + - *708 + - *225 requestBody: required: true content: @@ -97464,7 +97908,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -97550,9 +97994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -97562,9 +98006,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: *708 + default: *710 headers: Link: *43 x-github: @@ -97594,9 +98038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -97606,7 +98050,7 @@ paths: application/json: schema: type: array - items: *596 + items: *598 examples: default: value: @@ -97644,9 +98088,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 responses: '204': description: Response if pull request has been merged @@ -97669,9 +98113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97782,9 +98226,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 responses: '200': description: Response @@ -97800,7 +98244,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 required: - users - teams @@ -97859,9 +98303,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97898,7 +98342,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -98434,9 +98878,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -98470,7 +98914,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -98975,9 +99419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -98987,7 +99431,7 @@ paths: application/json: schema: type: array - items: &709 + items: &711 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99056,7 +99500,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - id - node_id @@ -99138,9 +99582,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -99226,9 +99670,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &711 + default: &713 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99291,10 +99735,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: - - *464 - - *465 - - *706 - - &710 + - *466 + - *467 + - *708 + - &712 name: review_id description: The unique identifier of the review. in: path @@ -99306,9 +99750,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &712 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99367,10 +99811,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99393,7 +99837,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: default: value: @@ -99455,18 +99899,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 responses: '200': description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *711 + default: *713 '422': *7 '404': *6 x-github: @@ -99493,10 +99937,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 - *17 - *19 responses: @@ -99575,13 +100019,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: - self: *401 - html: *401 - pull_request: *401 + self: *403 + html: *403 + pull_request: *403 required: - self - html @@ -99590,7 +100034,7 @@ paths: type: string body_html: type: string - reactions: *211 + reactions: *214 side: description: The side of the first line of the range for a multi-line comment. @@ -99731,10 +100175,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99762,7 +100206,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: default: value: @@ -99825,10 +100269,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99863,9 +100307,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *712 + default: *714 '404': *6 '422': *7 '403': *29 @@ -99887,9 +100331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -99952,8 +100396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99966,9 +100410,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *715 examples: - default: &714 + default: &716 value: type: file encoding: base64 @@ -100010,8 +100454,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: - - *464 - - *465 + - *466 + - *467 - name: dir description: The alternate path to look for a README file in: path @@ -100031,9 +100475,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *715 examples: - default: *714 + default: *716 '404': *6 '422': *15 x-github: @@ -100055,8 +100499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -100066,7 +100510,7 @@ paths: application/json: schema: type: array - items: &715 + items: &717 title: Release description: A release. type: object @@ -100137,7 +100581,7 @@ paths: author: *4 assets: type: array - items: &716 + items: &718 title: Release Asset description: Data related to a release. type: object @@ -100212,7 +100656,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *211 + reactions: *214 required: - assets_url - upload_url @@ -100324,8 +100768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -100401,9 +100845,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: &719 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100508,9 +100952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *464 - - *465 - - &717 + - *466 + - *467 + - &719 name: asset_id description: The unique identifier of the asset. in: path @@ -100522,9 +100966,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: &718 + default: &720 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 @@ -100559,7 +101003,7 @@ paths: type: User site_admin: false '404': *6 - '302': *598 + '302': *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100575,9 +101019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *464 - - *465 - - *717 + - *466 + - *467 + - *719 requestBody: required: false content: @@ -100605,9 +101049,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *718 + default: *720 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100623,9 +101067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *464 - - *465 - - *717 + - *466 + - *467 + - *719 responses: '204': description: Response @@ -100649,8 +101093,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -100735,16 +101179,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100761,8 +101205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *464 - - *465 + - *466 + - *467 - name: tag description: tag parameter in: path @@ -100775,9 +101219,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -100799,9 +101243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *464 - - *465 - - &720 + - *466 + - *467 + - &722 name: release_id description: The unique identifier of the release. in: path @@ -100815,9 +101259,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: *715 + schema: *717 examples: - default: *719 + default: *721 '401': description: Unauthorized x-github: @@ -100835,9 +101279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 requestBody: required: false content: @@ -100901,9 +101345,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 '404': description: Not Found if the discussion category name is invalid content: @@ -100924,9 +101368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 responses: '204': description: Response @@ -100946,9 +101390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - *17 - *19 responses: @@ -100958,7 +101402,7 @@ paths: application/json: schema: type: array - items: *716 + items: *718 examples: default: value: @@ -101040,9 +101484,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: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - name: name in: query required: true @@ -101068,7 +101512,7 @@ paths: description: Response for successful upload content: application/json: - schema: *716 + schema: *718 examples: response-for-successful-upload: value: @@ -101123,9 +101567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101149,9 +101593,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -101172,9 +101616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 requestBody: required: true content: @@ -101204,16 +101648,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -101235,10 +101679,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *464 - - *465 - - *720 - - *456 + - *466 + - *467 + - *722 + - *458 responses: '204': description: Response @@ -101262,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 - *17 - *19 responses: @@ -101281,7 +101725,7 @@ paths: oneOf: - allOf: - *165 - - &721 + - &723 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101302,67 +101746,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *721 + - *723 - allOf: - *167 - - *721 + - *723 - allOf: - *168 - - *721 + - *723 - allOf: - - *722 - - *721 + - *724 + - *723 - allOf: - *169 - - *721 + - *723 - allOf: - *170 - - *721 + - *723 - allOf: - *171 - - *721 + - *723 - allOf: - *172 - - *721 + - *723 - allOf: - *173 - - *721 + - *723 - allOf: - *174 - - *721 + - *723 - allOf: - *175 - - *721 + - *723 - allOf: - *176 - - *721 + - *723 - allOf: - *177 - - *721 + - *723 - allOf: - *178 - - *721 + - *723 - allOf: - *179 - - *721 + - *723 - allOf: - *180 - - *721 + - *723 - allOf: - *181 - - *721 + - *723 - allOf: - *182 - - *721 + - *723 - allOf: - *183 - - *721 + - *723 - allOf: - *184 - - *721 + - *723 - allOf: + - *725 - *723 - - *721 examples: default: value: @@ -101401,8 +101845,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: includes_parents @@ -101413,7 +101857,7 @@ paths: schema: type: boolean default: true - - *724 + - *726 responses: '200': description: Response @@ -101468,8 +101912,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 requestBody: description: Request body required: true @@ -101498,7 +101942,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *725 + items: *727 required: - name - enforcement @@ -101531,7 +101975,7 @@ paths: application/json: schema: *185 examples: - default: &734 + default: &736 value: id: 42 name: super cool ruleset @@ -101578,12 +102022,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *464 - - *465 - - *726 - - *101 - - *727 + - *466 + - *467 - *728 + - *101 + - *729 + - *730 - *17 - *19 responses: @@ -101591,9 +102035,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: *730 + default: *732 '404': *6 '500': *40 x-github: @@ -101614,17 +102058,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *464 - - *465 - - *731 + - *466 + - *467 + - *733 responses: '200': description: Response content: application/json: - schema: *732 + schema: *734 examples: - default: *733 + default: *735 '404': *6 '500': *40 x-github: @@ -101652,8 +102096,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101675,7 +102119,7 @@ paths: application/json: schema: *185 examples: - default: *734 + default: *736 '404': *6 '500': *40 put: @@ -101693,8 +102137,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101728,7 +102172,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *725 + items: *727 examples: default: value: @@ -101758,7 +102202,7 @@ paths: application/json: schema: *185 examples: - default: *734 + default: *736 '404': *6 '500': *40 delete: @@ -101776,8 +102220,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101800,8 +102244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: ruleset_id @@ -101819,7 +102263,7 @@ paths: type: array items: *189 examples: - default: *416 + default: *418 '404': *6 '500': *40 x-github: @@ -101838,8 +102282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101857,7 +102301,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *419 examples: default: value: @@ -101912,21 +102356,21 @@ 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: - - *464 - - *465 - - *418 - - *419 + - *466 + - *467 - *420 - *421 + - *422 + - *423 - *106 - *19 - *17 - - *735 - - *736 - - *422 - - *423 + - *737 + - *738 - *424 - *425 + - *426 + - *427 responses: '200': description: Response @@ -101934,7 +102378,7 @@ paths: application/json: schema: type: array - items: &740 + items: &742 type: object properties: number: *123 @@ -101953,8 +102397,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *737 - resolution: *738 + state: *739 + resolution: *740 resolved_at: type: string format: date-time @@ -102050,7 +102494,7 @@ paths: pull request. ' - oneOf: *739 + oneOf: *741 nullable: true has_more_locations: type: boolean @@ -102199,16 +102643,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: - - *464 - - *465 - - *552 - - *425 + - *466 + - *467 + - *554 + - *427 responses: '200': description: Response content: application/json: - schema: *740 + schema: *742 examples: default: value: @@ -102260,9 +102704,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: true content: @@ -102270,8 +102714,8 @@ paths: schema: type: object properties: - state: *737 - resolution: *738 + state: *739 + resolution: *740 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102289,7 +102733,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *742 examples: default: value: @@ -102364,9 +102808,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 - *19 - *17 responses: @@ -102377,7 +102821,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &920 + items: &924 type: object properties: type: @@ -102403,8 +102847,6 @@ paths: example: commit details: oneOf: - - *741 - - *742 - *743 - *744 - *745 @@ -102416,6 +102858,8 @@ paths: - *751 - *752 - *753 + - *754 + - *755 examples: default: value: @@ -102501,8 +102945,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102510,14 +102954,14 @@ paths: schema: type: object properties: - reason: &755 + reason: &757 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *754 + placeholder_id: *756 required: - reason - placeholder_id @@ -102534,7 +102978,7 @@ paths: schema: type: object properties: - reason: *755 + reason: *757 expire_at: type: string format: date-time @@ -102580,8 +103024,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: - - *464 - - *465 + - *466 + - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102596,7 +103040,7 @@ paths: properties: incremental_scans: type: array - items: &756 + items: &758 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102622,15 +103066,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *756 + items: *758 backfill_scans: type: array - items: *756 + items: *758 custom_pattern_backfill_scans: type: array items: allOf: - - *756 + - *758 - type: object properties: pattern_name: @@ -102700,8 +103144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *464 - - *465 + - *466 + - *467 - *106 - name: sort description: The property to sort the results by. @@ -102745,9 +103189,9 @@ paths: application/json: schema: type: array - items: *757 + items: *759 examples: - default: *758 + default: *760 '400': *14 '404': *6 x-github: @@ -102770,8 +103214,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102844,7 +103288,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 required: - login - type @@ -102931,9 +103375,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: &760 + default: &762 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103166,8 +103610,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -103271,7 +103715,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: default: value: @@ -103418,17 +103862,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '200': description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: *760 + default: *762 '403': *29 '404': *6 x-github: @@ -103452,9 +103896,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 requestBody: required: true content: @@ -103527,7 +103971,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 required: - login - type @@ -103613,17 +104057,17 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: *760 - add_credit: *760 + default: *762 + add_credit: *762 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *252 + schema: *255 examples: invalid_state_transition: value: @@ -103654,9 +104098,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '202': *39 '400': *14 @@ -103683,17 +104127,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '202': description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 '400': *14 '422': *15 '403': *29 @@ -103719,8 +104163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -103819,8 +104263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103829,7 +104273,7 @@ paths: application/json: schema: type: array - items: &761 + items: &763 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103862,8 +104306,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -103939,8 +104383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -104036,8 +104480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104191,8 +104635,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104202,7 +104646,7 @@ paths: application/json: schema: type: array - items: *761 + items: *763 examples: default: value: @@ -104235,8 +104679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *464 - - *465 + - *466 + - *467 - name: sha in: path required: true @@ -104290,7 +104734,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *764 examples: default: value: @@ -104344,8 +104788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104357,7 +104801,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -104377,14 +104821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &763 + schema: &765 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104452,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -104479,7 +104923,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *765 examples: default: value: @@ -104506,8 +104950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -104527,8 +104971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104607,8 +105051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -104616,7 +105060,7 @@ paths: application/json: schema: type: array - items: &764 + items: &766 title: Tag protection description: Tag protection type: object @@ -104668,8 +105112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104692,7 +105136,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *766 examples: default: value: @@ -104723,8 +105167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104761,8 +105205,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -104798,8 +105242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104809,9 +105253,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 headers: Link: *43 '404': *6 @@ -104831,8 +105275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 responses: @@ -104840,7 +105284,7 @@ paths: description: Response content: application/json: - schema: &765 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104852,7 +105296,7 @@ paths: required: - names examples: - default: &766 + default: &768 value: names: - octocat @@ -104875,8 +105319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104907,9 +105351,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: - default: *766 + default: *768 '404': *6 '422': *7 x-github: @@ -104930,9 +105374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *464 - - *465 - - &767 + - *466 + - *467 + - &769 name: per description: The time frame to display results for. in: query @@ -104961,7 +105405,7 @@ paths: example: 128 clones: type: array - items: &768 + items: &770 title: Traffic type: object properties: @@ -105048,8 +105492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105139,8 +105583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105200,9 +105644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *464 - - *465 - - *767 + - *466 + - *467 + - *769 responses: '200': description: Response @@ -105221,7 +105665,7 @@ paths: example: 3782 views: type: array - items: *768 + items: *770 required: - uniques - count @@ -105298,8 +105742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -105335,7 +105779,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -105573,8 +106017,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105597,8 +106041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105620,8 +106064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105647,8 +106091,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -105740,9 +106184,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105783,7 +106227,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -105893,7 +106337,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &776 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -105902,7 +106346,7 @@ paths: schema: type: string example: members - - &781 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -105913,7 +106357,7 @@ paths: default: 1 format: int32 example: 1 - - &782 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -105955,7 +106399,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &771 + items: &773 allOf: - type: object required: @@ -106030,7 +106474,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: &783 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -106090,30 +106534,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &772 + '400': &774 description: Bad request content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '401': *770 - '403': &773 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &774 + '429': &776 description: Too many requests content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '500': &775 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106137,7 +106581,7 @@ paths: required: true content: application/json: - schema: &779 + schema: &781 type: object required: - schemas @@ -106197,9 +106641,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *771 + schema: *773 examples: - group: &777 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106218,13 +106662,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': *772 - '401': *770 - '403': *773 - '409': &780 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106241,7 +106685,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: - - &778 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106249,22 +106693,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *776 + - *778 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *771 + schema: *773 examples: - default: *777 - '400': *772 - '401': *770 - '403': *773 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106283,13 +106727,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: *779 + schema: *781 examples: group: summary: Group @@ -106315,17 +106759,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - group: *777 - groupWithMembers: *777 - '400': *772 - '401': *770 - '403': *773 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106349,13 +106793,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: &790 + schema: &792 type: object required: - Operations @@ -106415,17 +106859,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - updateGroup: *777 - addMembers: *777 - '400': *772 - '401': *770 - '403': *773 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106441,17 +106885,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: - - *778 + - *780 - *41 responses: '204': description: Group was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106485,8 +106929,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *781 - - *782 + - *783 + - *784 - *41 responses: '200': @@ -106519,7 +106963,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &785 + items: &787 allOf: - type: object required: @@ -106598,7 +107042,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &784 + roles: &786 type: array description: The roles assigned to the user. items: @@ -106654,7 +107098,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *783 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -106691,11 +107135,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *772 - '401': *770 - '403': *773 - '429': *774 - '500': *775 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106719,7 +107163,7 @@ paths: required: true content: application/json: - schema: &788 + schema: &790 type: object required: - schemas @@ -106801,9 +107245,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *784 + roles: *786 examples: - user: &789 + user: &791 summary: User value: schemas: @@ -106850,9 +107294,9 @@ paths: description: User has been created content: application/scim+json: - schema: *785 + schema: *787 examples: - user: &786 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106878,13 +107322,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: *786 - '400': *772 - '401': *770 - '403': *773 - '409': *780 - '429': *774 - '500': *775 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106901,7 +107345,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: - - &787 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -106914,15 +107358,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *785 + schema: *787 examples: - default: *786 - '400': *772 - '401': *770 - '403': *773 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106944,30 +107388,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *788 + schema: *790 examples: - user: *789 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - user: *786 - '400': *772 - '401': *770 - '403': *773 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107002,13 +107446,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107048,18 +107492,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - userMultiValuedProperties: *786 - userSingleValuedProperties: *786 - disableUser: *786 - '400': *772 - '401': *770 - '403': *773 + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107079,17 +107523,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: - - *787 + - *789 - *41 responses: '204': description: User was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107176,7 +107620,7 @@ paths: example: 1 Resources: type: array - items: &791 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107407,22 +107851,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': &792 + '404': &794 description: Resource not found content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '403': &793 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 - '429': *774 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107448,9 +107892,9 @@ paths: description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: &794 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107473,17 +107917,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': *792 - '403': *793 - '500': *775 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 + schema: *771 + '400': *774 requestBody: required: true content: @@ -107581,17 +108025,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 - '404': *792 - '403': *793 + default: *796 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -107615,18 +108059,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 + '404': *794 + '403': *795 requestBody: required: true content: @@ -107739,19 +108183,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 - '400': *772 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -107842,12 +108286,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *787 + - *789 responses: '204': description: Response - '404': *792 - '403': *793 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -107962,7 +108406,7 @@ paths: html_url: type: string format: uri - repository: *277 + repository: *280 score: type: number file_size: @@ -107980,7 +108424,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &795 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -108143,7 +108587,7 @@ paths: enum: - author-date - committer-date - - &796 + - &798 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 @@ -108214,7 +108658,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true comment_count: type: integer @@ -108234,7 +108678,7 @@ paths: url: type: string format: uri - verification: *643 + verification: *645 required: - author - committer @@ -108253,7 +108697,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true parents: type: array @@ -108266,12 +108710,12 @@ paths: type: string sha: type: string - repository: *277 + repository: *280 score: type: number node_id: type: string - text_matches: *795 + text_matches: *797 required: - sha - node_id @@ -108464,7 +108908,7 @@ paths: - interactions - created - updated - - *796 + - *798 - *17 - *19 - name: advanced_search @@ -108561,11 +109005,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: type: string state_reason: @@ -108582,8 +109026,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true comments: type: integer @@ -108597,7 +109041,7 @@ paths: type: string format: date-time nullable: true - text_matches: *795 + text_matches: *797 pull_request: type: object properties: @@ -108630,7 +109074,7 @@ paths: type: string score: type: number - author_association: *210 + author_association: *213 draft: type: boolean repository: *74 @@ -108641,7 +109085,7 @@ paths: timeline_url: type: string format: uri - type: *361 + type: *364 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -108651,9 +109095,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - assignee - closed_at @@ -108822,7 +109266,7 @@ paths: enum: - created - updated - - *796 + - *798 - *17 - *19 responses: @@ -108866,7 +109310,7 @@ paths: nullable: true score: type: number - text_matches: *795 + text_matches: *797 required: - id - node_id @@ -108952,7 +109396,7 @@ paths: - forks - help-wanted-issues - updated - - *796 + - *798 - *17 - *19 responses: @@ -109171,8 +109615,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true permissions: type: object @@ -109191,7 +109635,7 @@ paths: - admin - pull - push - text_matches: *795 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -109492,7 +109936,7 @@ paths: type: string format: uri nullable: true - text_matches: *795 + text_matches: *797 related: type: array nullable: true @@ -109685,7 +110129,7 @@ paths: - followers - repositories - joined - - *796 + - *798 - *17 - *19 responses: @@ -109789,7 +110233,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *795 + text_matches: *797 blog: type: string nullable: true @@ -109868,7 +110312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &800 + - &802 name: team_id description: The unique identifier of the team. in: path @@ -109880,9 +110324,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -109909,7 +110353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -109972,16 +110416,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '201': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 '403': *29 @@ -110009,7 +110453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *800 + - *802 responses: '204': description: Response @@ -110040,7 +110484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *800 + - *802 - *106 - *17 - *19 @@ -110051,9 +110495,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: *801 + default: *803 headers: Link: *43 x-github: @@ -110082,7 +110526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -110116,9 +110560,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: triggersNotification: true githubCloudOnly: false @@ -110145,16 +110589,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110179,8 +110623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: false content: @@ -110203,9 +110647,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *802 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110230,8 +110674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 responses: '204': description: Response @@ -110260,8 +110704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *800 - - *449 + - *802 + - *451 - *106 - *17 - *19 @@ -110272,9 +110716,9 @@ paths: application/json: schema: type: array - items: *450 + items: *452 examples: - default: *803 + default: *805 headers: Link: *43 x-github: @@ -110303,8 +110747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: true content: @@ -110326,9 +110770,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: triggersNotification: true githubCloudOnly: false @@ -110355,17 +110799,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 responses: '200': description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110390,9 +110834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 requestBody: required: true content: @@ -110414,9 +110858,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *804 + default: *806 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110441,9 +110885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 responses: '204': description: Response @@ -110472,9 +110916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -110500,9 +110944,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -110531,9 +110975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 requestBody: required: true content: @@ -110565,9 +111009,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110593,8 +111037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -110620,9 +111064,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -110651,8 +111095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: true content: @@ -110684,9 +111128,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110710,7 +111154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -110720,9 +111164,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 x-github: @@ -110748,7 +111192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *800 + - *802 - name: role description: Filters members returned by their role in the team. in: query @@ -110771,7 +111215,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -110799,7 +111243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110836,7 +111280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110876,7 +111320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110913,16 +111357,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: - - *800 + - *802 - *138 responses: '200': description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-user-is-a-team-maintainer: *805 + response-if-user-is-a-team-maintainer: *807 '404': *6 x-github: githubCloudOnly: false @@ -110955,7 +111399,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: - - *800 + - *802 - *138 requestBody: required: false @@ -110981,9 +111425,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-users-membership-with-team-is-now-pending: *806 + response-if-users-membership-with-team-is-now-pending: *808 '403': description: Forbidden if team synchronization is set up '422': @@ -111017,7 +111461,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: - - *800 + - *802 - *138 responses: '204': @@ -111046,7 +111490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111056,9 +111500,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: *807 + default: *809 headers: Link: *43 '404': *6 @@ -111084,16 +111528,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *800 - - *463 + - *802 + - *465 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *808 + default: *810 '404': description: Not Found if project is not managed by this team x-github: @@ -111117,8 +111561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *800 - - *463 + - *802 + - *465 requestBody: required: false content: @@ -111185,8 +111629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *800 - - *463 + - *802 + - *465 responses: '204': description: Response @@ -111213,7 +111657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111223,9 +111667,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '404': *6 @@ -111255,15 +111699,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *809 + schema: *811 examples: alternative-response-with-extra-repository-information: value: @@ -111414,9 +111858,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 requestBody: required: false content: @@ -111466,9 +111910,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 responses: '204': description: Response @@ -111497,15 +111941,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: - - *800 + - *802 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '403': *29 '404': *6 x-github: @@ -111532,7 +111976,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: - - *800 + - *802 requestBody: required: true content: @@ -111589,7 +112033,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -111620,7 +112064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111630,9 +112074,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - response-if-child-teams-exist: *810 + response-if-child-teams-exist: *812 headers: Link: *43 '404': *6 @@ -111665,7 +112109,7 @@ paths: application/json: schema: oneOf: - - &812 + - &814 title: Private User description: Private User type: object @@ -111868,7 +112312,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *811 + - *813 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112021,7 +112465,7 @@ paths: description: Response content: application/json: - schema: *812 + schema: *814 examples: default: value: @@ -112100,7 +112544,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '304': *37 '404': *6 '403': *29 @@ -112224,9 +112668,9 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: - default: *367 + default: *370 '304': *37 '500': *40 '401': *25 @@ -112365,17 +112809,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -112419,7 +112863,7 @@ paths: type: integer secrets: type: array - items: &813 + items: &815 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112459,7 +112903,7 @@ paths: - visibility - selected_repositories_url examples: - default: *575 + default: *577 headers: Link: *43 x-github: @@ -112529,13 +112973,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *813 + schema: *815 examples: default: value: @@ -112565,7 +113009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 requestBody: required: true content: @@ -112610,7 +113054,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -112638,7 +113082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '204': description: Response @@ -112663,7 +113107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 responses: '200': description: Response @@ -112679,9 +113123,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *814 + default: *816 '401': *25 '403': *29 '404': *6 @@ -112706,7 +113150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 requestBody: required: true content: @@ -112760,7 +113204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -112793,7 +113237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -112825,15 +113269,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '304': *37 '500': *40 '401': *25 @@ -112859,7 +113303,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: - - *368 + - *371 requestBody: required: false content: @@ -112889,9 +113333,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -112913,7 +113357,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: - - *368 + - *371 responses: '202': *39 '304': *37 @@ -112942,13 +113386,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: - - *368 + - *371 responses: '202': description: Response content: application/json: - schema: &815 + schema: &817 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112989,7 +113433,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &816 + default: &818 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113021,7 +113465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *368 + - *371 - name: export_id in: path required: true @@ -113034,9 +113478,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *817 examples: - default: *816 + default: *818 '404': *6 x-github: githubCloudOnly: false @@ -113057,7 +113501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *368 + - *371 responses: '200': description: Response @@ -113073,9 +113517,9 @@ paths: type: integer machines: type: array - items: *817 + items: *819 examples: - default: *818 + default: *820 '304': *37 '500': *40 '401': *25 @@ -113104,7 +113548,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: - - *368 + - *371 requestBody: required: true content: @@ -113154,13 +113598,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *477 + repository: *479 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113934,15 +114378,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '304': *37 '500': *40 '400': *14 @@ -113974,15 +114418,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '500': *40 '401': *25 '403': *29 @@ -114012,9 +114456,9 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: &829 + default: &831 value: - id: 197 name: hello_docker @@ -114115,7 +114559,7 @@ paths: application/json: schema: type: array - items: &819 + items: &821 title: Email description: Email type: object @@ -114180,9 +114624,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: &831 + default: &833 value: - email: octocat@github.com verified: true @@ -114257,7 +114701,7 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: default: value: @@ -114367,7 +114811,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114400,7 +114844,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114513,7 +114957,7 @@ paths: application/json: schema: type: array - items: &820 + items: &822 title: GPG Key description: A unique encryption key type: object @@ -114644,7 +115088,7 @@ paths: - subkeys - revoked examples: - default: &845 + default: &847 value: - id: 3 name: Octocat's GPG Key @@ -114729,9 +115173,9 @@ paths: description: Response content: application/json: - schema: *820 + schema: *822 examples: - default: &821 + default: &823 value: id: 3 name: Octocat's GPG Key @@ -114788,7 +115232,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: - - &822 + - &824 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114800,9 +115244,9 @@ paths: description: Response content: application/json: - schema: *820 + schema: *822 examples: - default: *821 + default: *823 '404': *6 '304': *37 '403': *29 @@ -114825,7 +115269,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: - - *822 + - *824 responses: '204': description: Response @@ -115016,7 +115460,7 @@ paths: type: array items: *74 examples: - default: *272 + default: *275 headers: Link: *43 '404': *6 @@ -115041,7 +115485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *271 + - *274 responses: '204': description: Response @@ -115067,7 +115511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *271 + - *274 responses: '204': description: Response @@ -115101,12 +115545,12 @@ paths: application/json: schema: anyOf: - - *356 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *357 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -115130,7 +115574,7 @@ paths: required: true content: application/json: - schema: *654 + schema: *656 examples: default: value: @@ -115141,7 +115585,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -115222,7 +115666,7 @@ paths: - closed - all default: open - - *364 + - *367 - name: sort description: What to sort results by. in: query @@ -115235,7 +115679,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -115245,9 +115689,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *365 + default: *368 headers: Link: *43 '404': *6 @@ -115280,7 +115724,7 @@ paths: application/json: schema: type: array - items: &823 + items: &825 title: Key description: Key type: object @@ -115381,9 +115825,9 @@ paths: description: Response content: application/json: - schema: *823 + schema: *825 examples: - default: &824 + default: &826 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115416,15 +115860,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: - - *683 + - *685 responses: '200': description: Response content: application/json: - schema: *823 + schema: *825 examples: - default: *824 + default: *826 '404': *6 '304': *37 '403': *29 @@ -115447,7 +115891,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: - - *683 + - *685 responses: '204': description: Response @@ -115480,7 +115924,7 @@ paths: application/json: schema: type: array - items: &825 + items: &827 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115537,7 +115981,7 @@ paths: - id - type - login - plan: *227 + plan: *230 required: - billing_cycle - next_billing_date @@ -115548,7 +115992,7 @@ paths: - account - plan examples: - default: &826 + default: &828 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115610,9 +116054,9 @@ paths: application/json: schema: type: array - items: *825 + items: *827 examples: - default: *826 + default: *828 headers: Link: *43 '304': *37 @@ -115652,7 +116096,7 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: default: value: @@ -115760,7 +116204,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -115843,7 +116287,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -115911,7 +116355,7 @@ paths: application/json: schema: type: array - items: *371 + items: *374 examples: default: value: @@ -116164,7 +116608,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -116344,7 +116788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *372 + - *375 - name: exclude in: query required: false @@ -116357,7 +116801,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -116551,7 +116995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *372 + - *375 responses: '302': description: Response @@ -116577,7 +117021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *372 + - *375 responses: '204': description: Response @@ -116606,8 +117050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *372 - - *827 + - *375 + - *829 responses: '204': description: Response @@ -116631,7 +117075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *372 + - *375 - *17 - *19 responses: @@ -116641,9 +117085,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '404': *6 @@ -116680,7 +117124,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 '304': *37 @@ -116722,7 +117166,7 @@ paths: - docker - nuget - container - - *828 + - *830 - *19 - *17 responses: @@ -116732,10 +117176,10 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 - '400': *830 + default: *831 + '400': *832 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116755,16 +117199,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: - - *379 - - *380 + - *382 + - *383 responses: '200': description: Response content: application/json: - schema: *377 + schema: *380 examples: - default: &846 + default: &848 value: id: 40201 name: octo-name @@ -116877,8 +117321,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: - - *379 - - *380 + - *382 + - *383 responses: '204': description: Response @@ -116908,8 +117352,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: - - *379 - - *380 + - *382 + - *383 - name: token description: package token schema: @@ -116941,8 +117385,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: - - *379 - - *380 + - *382 + - *383 - *19 - *17 - name: state @@ -116962,7 +117406,7 @@ paths: application/json: schema: type: array - items: *381 + items: *384 examples: default: value: @@ -117011,15 +117455,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -117055,9 +117499,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '204': description: Response @@ -117087,9 +117531,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '204': description: Response @@ -117145,7 +117589,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -117217,9 +117661,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: *831 + default: *833 headers: Link: *43 '304': *37 @@ -117332,7 +117776,7 @@ paths: type: array items: *74 examples: - default: &838 + default: &840 summary: Default response value: - id: 1296269 @@ -117636,9 +118080,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117676,9 +118120,9 @@ paths: application/json: schema: type: array - items: *656 + items: *658 examples: - default: *832 + default: *834 headers: Link: *43 '304': *37 @@ -117701,7 +118145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *360 + - *363 responses: '204': description: Response @@ -117724,7 +118168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *360 + - *363 responses: '204': description: Response @@ -117757,7 +118201,7 @@ paths: application/json: schema: type: array - items: &833 + items: &835 title: Social account description: Social media account type: object @@ -117772,7 +118216,7 @@ paths: - provider - url examples: - default: &834 + default: &836 value: - provider: twitter url: https://twitter.com/github @@ -117834,9 +118278,9 @@ paths: application/json: schema: type: array - items: *833 + items: *835 examples: - default: *834 + default: *836 '422': *15 '304': *37 '404': *6 @@ -117923,7 +118367,7 @@ paths: application/json: schema: type: array - items: &835 + items: &837 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117943,7 +118387,7 @@ paths: - title - created_at examples: - default: &849 + default: &853 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118009,9 +118453,9 @@ paths: description: Response content: application/json: - schema: *835 + schema: *837 examples: - default: &836 + default: &838 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118042,7 +118486,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: - - &837 + - &839 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118054,9 +118498,9 @@ paths: description: Response content: application/json: - schema: *835 + schema: *837 examples: - default: *836 + default: *838 '404': *6 '304': *37 '403': *29 @@ -118079,7 +118523,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: - - *837 + - *839 responses: '204': description: Response @@ -118108,7 +118552,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: - - &850 + - &854 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 @@ -118133,11 +118577,11 @@ paths: type: array items: *74 examples: - default-response: *838 + default-response: *840 application/vnd.github.v3.star+json: schema: type: array - items: &851 + items: &855 title: Starred Repository description: Starred Repository type: object @@ -118293,8 +118737,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if this repository is starred by you @@ -118322,8 +118766,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -118347,8 +118791,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -118381,9 +118825,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '304': *37 @@ -118420,7 +118864,7 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: default: value: @@ -118498,7 +118942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *229 + - *232 responses: '200': description: Response @@ -118506,10 +118950,10 @@ paths: application/json: schema: oneOf: - - *812 - - *811 + - *814 + - *813 examples: - default-response: &840 + default-response: &842 summary: Default response value: login: octocat @@ -118544,7 +118988,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &841 + response-with-git-hub-plan-information: &843 summary: Response with GitHub plan information value: login: octocat @@ -118604,7 +119048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *839 + - *841 - *17 responses: '200': @@ -118615,7 +119059,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: example: ; rel="next" @@ -118653,11 +119097,11 @@ paths: application/json: schema: oneOf: - - *812 - - *811 + - *814 + - *813 examples: - default-response: *840 - response-with-git-hub-plan-information: *841 + default-response: *842 + response-with-git-hub-plan-information: *843 '404': *6 x-github: githubCloudOnly: false @@ -118707,8 +119151,8 @@ paths: required: - subject_digests examples: - default: *842 - withPredicateType: *843 + default: *844 + withPredicateType: *845 responses: '200': description: Response @@ -118761,7 +119205,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *844 + default: *846 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118966,12 +119410,12 @@ paths: initiator: type: string examples: - default: *517 + default: *519 '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -119005,9 +119449,9 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 + default: *831 '403': *29 '401': *25 x-github: @@ -119040,7 +119484,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119113,7 +119557,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119200,7 +119644,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119270,7 +119714,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119301,7 +119745,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119348,7 +119792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *138 - - *213 + - *216 - *17 - *19 responses: @@ -119358,9 +119802,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -119391,9 +119835,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: *845 + default: *847 headers: Link: *43 x-github: @@ -119497,7 +119941,7 @@ paths: application/json: schema: *22 examples: - default: *653 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119582,7 +120026,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 x-github: @@ -119621,7 +120065,7 @@ paths: - docker - nuget - container - - *828 + - *830 - *138 - *19 - *17 @@ -119632,12 +120076,12 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 + default: *831 '403': *29 '401': *25 - '400': *830 + '400': *832 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119657,17 +120101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 responses: '200': description: Response content: application/json: - schema: *377 + schema: *380 examples: - default: *846 + default: *848 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119688,8 +120132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 responses: '204': @@ -119722,8 +120166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 - name: token description: package token @@ -119756,8 +120200,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: - - *379 - - *380 + - *382 + - *383 - *138 responses: '200': @@ -119766,7 +120210,7 @@ paths: application/json: schema: type: array - items: *381 + items: *384 examples: default: value: @@ -119824,16 +120268,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: - - *379 - - *380 - *382 + - *383 + - *385 - *138 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -119868,10 +120312,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *379 - - *380 - - *138 - *382 + - *383 + - *138 + - *385 responses: '204': description: Response @@ -119903,10 +120347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *379 - - *380 - - *138 - *382 + - *383 + - *138 + - *385 responses: '204': description: Response @@ -119953,7 +120397,7 @@ paths: application/json: schema: type: array - items: *393 + items: *396 examples: default: value: @@ -120028,9 +120472,9 @@ paths: application/json: schema: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -120052,16 +120496,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *396 + - *399 - *138 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -120083,7 +120527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *396 + - *399 - *138 - *17 - *104 @@ -120095,9 +120539,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *849 headers: Link: *43 '304': *37 @@ -120119,17 +120563,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *396 - - *847 + - *399 + - *850 - *138 responses: '200': description: Response content: application/json: - schema: *397 + schema: *400 examples: - default: *398 + default: *851 headers: Link: *43 '304': *37 @@ -120152,7 +120596,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: - - *396 + - *399 - *138 - *104 - *105 @@ -120185,9 +120629,9 @@ paths: application/json: schema: type: array - items: *404 + items: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -120209,7 +120653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *396 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -120246,10 +120690,10 @@ paths: description: Response content: application/json: - schema: *848 + schema: *852 examples: - issue: *403 - pull_request: *403 + issue: *405 + pull_request: *405 '304': *37 '403': *29 '401': *25 @@ -120269,9 +120713,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: - - *396 + - *399 - *138 - - *406 + - *408 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120291,9 +120735,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -120314,9 +120758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *396 + - *399 - *138 - - *406 + - *408 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120386,13 +120830,13 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - text_field: *405 - number_field: *405 - date_field: *405 - single_select_field: *405 - iteration_field: *405 + text_field: *407 + number_field: *407 + date_field: *407 + single_select_field: *407 + iteration_field: *407 '401': *25 '403': *29 '404': *6 @@ -120412,9 +120856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *396 + - *399 - *138 - - *406 + - *408 responses: '204': description: Response @@ -120451,7 +120895,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120526,7 +120970,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120632,9 +121076,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -120664,9 +121108,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120694,9 +121138,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120718,10 +121162,10 @@ paths: parameters: - *138 - *196 - - *243 + - *198 - *197 - - *245 - - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -120857,9 +121301,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120881,7 +121325,7 @@ paths: parameters: - *138 - *196 - - *247 + - *248 - *197 responses: '200': @@ -120959,6 +121403,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *138 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -120981,9 +121560,9 @@ paths: application/json: schema: type: array - items: *833 + items: *835 examples: - default: *834 + default: *836 headers: Link: *43 x-github: @@ -121013,9 +121592,9 @@ paths: application/json: schema: type: array - items: *835 + items: *837 examples: - default: *849 + default: *853 headers: Link: *43 x-github: @@ -121040,7 +121619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *850 + - *854 - *106 - *17 - *19 @@ -121052,11 +121631,11 @@ paths: schema: anyOf: - type: array - items: *851 + items: *855 - type: array items: *74 examples: - default-response: *838 + default-response: *840 headers: Link: *43 x-github: @@ -121085,9 +121664,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -121215,7 +121794,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &852 + enterprise: &856 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121273,7 +121852,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &853 + installation: &857 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121292,7 +121871,7 @@ x-webhooks: required: - id - node_id - organization: &854 + organization: &858 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121352,13 +121931,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &855 + repository: &859 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: &892 + properties: &896 id: description: Unique identifier of the repository example: 42 @@ -121378,8 +121957,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -122041,7 +122620,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &893 + required: &897 - archive_url - assignees_url - blobs_url @@ -122192,10 +122771,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -122271,11 +122850,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: &856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: &860 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) @@ -122498,11 +123077,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: *856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -122685,11 +123264,11 @@ x-webhooks: - everyone required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: *856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -122760,7 +123339,7 @@ x-webhooks: required: true content: application/json: - schema: &859 + schema: &863 title: Exemption request cancellation event type: object properties: @@ -122768,11 +123347,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: &857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: &861 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123005,7 +123584,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &858 + items: &862 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123113,7 +123692,7 @@ x-webhooks: required: true content: application/json: - schema: &860 + schema: &864 title: Exemption request completed event type: object properties: @@ -123121,11 +123700,11 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -123195,7 +123774,7 @@ x-webhooks: required: true content: application/json: - schema: &861 + schema: &865 title: Exemption request created event type: object properties: @@ -123203,11 +123782,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -123277,7 +123856,7 @@ x-webhooks: required: true content: application/json: - schema: &862 + schema: &866 title: Exemption response dismissed event type: object properties: @@ -123285,12 +123864,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 - exemption_response: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -123362,7 +123941,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &867 title: Exemption response submitted event type: object properties: @@ -123370,12 +123949,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 - exemption_response: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -123448,7 +124027,7 @@ x-webhooks: required: true content: application/json: - schema: *859 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123515,7 +124094,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123582,7 +124161,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123649,7 +124228,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123717,7 +124296,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123795,7 +124374,7 @@ x-webhooks: type: string enum: - completed - check_run: &865 + check_run: &869 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123848,8 +124427,8 @@ x-webhooks: type: string pull_requests: type: array - items: *534 - repository: *277 + items: *536 + repository: *280 status: example: completed type: string @@ -123886,7 +124465,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *864 + deployment: *868 details_url: example: https://example.com type: string @@ -123936,7 +124515,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *534 + items: *536 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -123971,10 +124550,10 @@ x-webhooks: - output - app - pull_requests - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124367,11 +124946,11 @@ x-webhooks: type: string enum: - created - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124767,11 +125346,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 requested_action: description: The action requested by the user. type: object @@ -125176,11 +125755,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -126157,10 +126736,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -126830,10 +127409,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127497,10 +128076,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127666,7 +128245,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127811,20 +128390,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &866 + commit_oid: &870 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: *852 - installation: *853 - organization: *854 - ref: &867 + enterprise: *856 + installation: *857 + organization: *858 + ref: &871 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: *855 + repository: *859 sender: *4 required: - action @@ -127989,7 +128568,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128219,12 +128798,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128319,7 +128898,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + 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 @@ -128490,12 +129069,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128661,7 +129240,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128827,12 +129406,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128932,7 +129511,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *547 + 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 @@ -129100,16 +129679,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 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: *855 + repository: *859 sender: *4 required: - action @@ -129206,7 +129785,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + 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 @@ -129346,12 +129925,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -129608,10 +130187,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -129691,18 +130270,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *854 - pusher_type: &868 + organization: *858 + pusher_type: &872 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &869 + ref: &873 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129712,7 +130291,7 @@ x-webhooks: enum: - tag - branch - repository: *855 + repository: *859 sender: *4 required: - ref @@ -129795,9 +130374,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -129882,9 +130461,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -129962,9 +130541,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130042,9 +130621,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130121,10 +130700,10 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - repository: *855 - organization: *854 + enterprise: *856 + installation: *857 + repository: *859 + organization: *858 sender: *4 new_property_values: type: array @@ -130209,18 +130788,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - pusher_type: *868 - ref: *869 + enterprise: *856 + installation: *857 + organization: *858 + pusher_type: *872 + ref: *873 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *855 + repository: *859 sender: *4 required: - ref @@ -130304,11 +130883,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130392,11 +130971,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130480,11 +131059,11 @@ x-webhooks: type: string enum: - created - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130566,11 +131145,11 @@ x-webhooks: type: string enum: - dismissed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130652,11 +131231,11 @@ x-webhooks: type: string enum: - fixed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130739,11 +131318,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130825,11 +131404,11 @@ x-webhooks: type: string enum: - reopened - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130906,9 +131485,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - key: &870 + enterprise: *856 + installation: *857 + key: &874 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130944,8 +131523,8 @@ x-webhooks: - verified - created_at - read_only - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131022,11 +131601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - key: *870 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + key: *874 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131587,12 +132166,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: &874 + workflow: &878 title: Workflow type: object nullable: true @@ -132318,13 +132897,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *609 + deployment: *611 pull_requests: type: array - items: *704 - repository: *855 - organization: *854 - installation: *853 + items: *706 + repository: *859 + organization: *858 + installation: *857 sender: *4 responses: '200': @@ -132395,7 +132974,7 @@ x-webhooks: type: string enum: - approved - approver: &871 + approver: &875 type: object properties: avatar_url: @@ -132438,11 +133017,11 @@ x-webhooks: type: string comment: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - reviewers: &872 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: &876 type: array items: type: object @@ -132521,7 +133100,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &873 + workflow_job_run: &877 type: object properties: conclusion: @@ -133252,18 +133831,18 @@ x-webhooks: type: string enum: - rejected - approver: *871 + approver: *875 comment: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - reviewers: *872 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: *876 sender: *4 since: type: string - workflow_job_run: *873 + workflow_job_run: *877 workflow_job_runs: type: array items: @@ -133967,13 +134546,13 @@ x-webhooks: type: string enum: - requested - enterprise: *852 + enterprise: *856 environment: type: string - installation: *853 - organization: *854 - repository: *855 - requestor: &879 + installation: *857 + organization: *858 + repository: *859 + requestor: &883 title: User type: object nullable: true @@ -135872,12 +136451,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Deployment Workflow Run type: object @@ -136557,7 +137136,7 @@ x-webhooks: type: string enum: - answered - answer: &877 + answer: &881 type: object properties: author_association: @@ -136714,7 +137293,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &875 + discussion: &879 title: Discussion description: A Discussion in a repository. type: object @@ -137000,7 +137579,7 @@ x-webhooks: - id labels: type: array - items: *666 + items: *668 required: - repository_url - category @@ -137022,10 +137601,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137152,11 +137731,11 @@ x-webhooks: - from required: - category - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137239,11 +137818,11 @@ x-webhooks: type: string enum: - closed - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137325,7 +137904,7 @@ x-webhooks: type: string enum: - created - comment: &876 + comment: &880 type: object properties: author_association: @@ -137482,11 +138061,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137569,12 +138148,12 @@ x-webhooks: type: string enum: - deleted - comment: *876 - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + comment: *880 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137669,12 +138248,12 @@ x-webhooks: - from required: - body - comment: *876 - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + comment: *880 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137758,11 +138337,11 @@ x-webhooks: type: string enum: - created - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137844,11 +138423,11 @@ x-webhooks: type: string enum: - deleted - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137948,11 +138527,11 @@ x-webhooks: type: string required: - from - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138034,10 +138613,10 @@ x-webhooks: type: string enum: - labeled - discussion: *875 - enterprise: *852 - installation: *853 - label: &878 + discussion: *879 + enterprise: *856 + installation: *857 + label: &882 title: Label type: object properties: @@ -138069,8 +138648,8 @@ x-webhooks: - color - default - description - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138153,11 +138732,11 @@ x-webhooks: type: string enum: - locked - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138239,11 +138818,11 @@ x-webhooks: type: string enum: - pinned - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138325,11 +138904,11 @@ x-webhooks: type: string enum: - reopened - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138414,16 +138993,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *875 - new_repository: *855 + new_discussion: *879 + new_repository: *859 required: - new_discussion - new_repository - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138506,10 +139085,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *875 - old_answer: *877 - organization: *854 - repository: *855 + discussion: *879 + old_answer: *881 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138591,12 +139170,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *875 - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138679,11 +139258,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138765,11 +139344,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138838,7 +139417,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138901,7 +139480,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138967,7 +139546,7 @@ x-webhooks: required: true content: application/json: - schema: *859 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139033,7 +139612,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139099,7 +139678,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139165,7 +139744,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139231,7 +139810,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139298,7 +139877,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *852 + enterprise: *856 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139958,9 +140537,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - forkee @@ -140106,9 +140685,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pages: description: The pages that were updated. type: array @@ -140145,7 +140724,7 @@ x-webhooks: - action - sha - html_url - repository: *855 + repository: *859 sender: *4 required: - pages @@ -140221,10 +140800,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: &880 + organization: *858 + repositories: &884 description: An array of repository objects that the installation can access. type: array @@ -140250,8 +140829,8 @@ x-webhooks: - name - full_name - private - repository: *855 - requester: *879 + repository: *859 + requester: *883 sender: *4 required: - action @@ -140326,11 +140905,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140406,11 +140985,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140486,10 +141065,10 @@ x-webhooks: type: string enum: - added - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories_added: &881 + organization: *858 + repositories_added: &885 description: An array of repository objects, which were added to the installation. type: array @@ -140535,15 +141114,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *855 - repository_selection: &882 + repository: *859 + repository_selection: &886 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *879 + requester: *883 sender: *4 required: - action @@ -140622,10 +141201,10 @@ x-webhooks: type: string enum: - removed - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories_added: *881 + organization: *858 + repositories_added: *885 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140652,9 +141231,9 @@ x-webhooks: - name - full_name - private - repository: *855 - repository_selection: *882 - requester: *879 + repository: *859 + repository_selection: *886 + requester: *883 sender: *4 required: - action @@ -140733,11 +141312,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140916,10 +141495,10 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 target_type: type: string @@ -140998,11 +141577,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141126,8 +141705,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 reactions: title: Reactions type: object @@ -141254,8 +141833,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142049,8 +142628,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142066,7 +142645,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -142399,8 +142978,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -142480,7 +143059,7 @@ x-webhooks: type: string enum: - deleted - comment: &883 + comment: &887 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142645,8 +143224,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143436,8 +144015,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143453,7 +144032,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -143788,8 +144367,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -143869,7 +144448,7 @@ x-webhooks: type: string enum: - edited - changes: &912 + changes: &916 description: The changes to the comment. type: object properties: @@ -143881,9 +144460,9 @@ x-webhooks: type: string required: - from - comment: *883 - enterprise: *852 - installation: *853 + comment: *887 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144676,8 +145255,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144693,7 +145272,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -145026,8 +145605,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145111,15 +145690,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145207,15 +145786,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145302,15 +145881,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *853 - organization: *854 - repository: *855 + blocking_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145398,15 +145977,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *853 - organization: *854 - repository: *855 + blocking_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145491,10 +146070,10 @@ x-webhooks: type: string enum: - assigned - assignee: *879 - enterprise: *852 - installation: *853 - issue: &886 + assignee: *883 + enterprise: *856 + installation: *857 + issue: &890 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146283,11 +146862,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146303,7 +146882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -146404,8 +146983,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146485,8 +147064,8 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147280,11 +147859,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147300,7 +147879,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -147536,8 +148115,8 @@ x-webhooks: required: - state - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -147616,8 +148195,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148402,11 +148981,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148422,7 +149001,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -148522,8 +149101,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -148602,8 +149181,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149410,11 +149989,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149430,7 +150009,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -149509,7 +150088,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &884 + milestone: &888 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149647,8 +150226,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -149747,8 +150326,8 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150537,11 +151116,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150554,7 +151133,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -150658,9 +151237,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *878 - organization: *854 - repository: *855 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -150740,8 +151319,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151529,11 +152108,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151546,7 +152125,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -151650,9 +152229,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *878 - organization: *854 - repository: *855 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -151732,8 +152311,8 @@ x-webhooks: type: string enum: - locked - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152545,11 +153124,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152562,7 +153141,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -152643,8 +153222,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -152723,8 +153302,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153530,11 +154109,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153550,7 +154129,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -153628,9 +154207,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *884 - organization: *854 - repository: *855 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -154498,11 +155077,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154595,7 +155174,7 @@ x-webhooks: required: - login - id - type: *361 + type: *364 required: - id - number @@ -155064,8 +155643,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155854,11 +156433,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155874,7 +156453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -155974,8 +156553,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -156055,9 +156634,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *852 - installation: *853 - issue: &885 + enterprise: *856 + installation: *857 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156840,11 +157419,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156860,7 +157439,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -156960,8 +157539,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -157040,8 +157619,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157851,11 +158430,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157949,9 +158528,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *361 - organization: *854 - repository: *855 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -158817,11 +159396,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158837,7 +159416,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -159405,11 +159984,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *852 - installation: *853 - issue: *885 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159489,12 +160068,12 @@ x-webhooks: type: string enum: - typed - enterprise: *852 - installation: *853 - issue: *886 - type: *361 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159575,7 +160154,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &915 + assignee: &919 title: User type: object nullable: true @@ -159645,11 +160224,11 @@ x-webhooks: required: - login - id - enterprise: *852 - installation: *853 - issue: *886 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159728,12 +160307,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *852 - installation: *853 - issue: *886 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159813,8 +160392,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160624,11 +161203,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160644,7 +161223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -160722,8 +161301,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160803,11 +161382,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *852 - installation: *853 - issue: *885 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160886,12 +161465,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *852 - installation: *853 - issue: *886 - type: *361 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160971,11 +161550,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161053,11 +161632,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161167,11 +161746,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161253,9 +161832,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: &887 + enterprise: *856 + installation: *857 + marketplace_purchase: &891 title: Marketplace Purchase type: object required: @@ -161338,8 +161917,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *854 - previous_marketplace_purchase: &888 + organization: *858 + previous_marketplace_purchase: &892 title: Marketplace Purchase type: object properties: @@ -161419,7 +161998,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161499,10 +162078,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161585,7 +162164,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161667,10 +162246,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161752,7 +162331,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161833,8 +162412,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 marketplace_purchase: title: Marketplace Purchase type: object @@ -161916,9 +162495,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *854 - previous_marketplace_purchase: *888 - repository: *855 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -161998,12 +162577,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 - previous_marketplace_purchase: *888 - repository: *855 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162105,11 +162684,11 @@ x-webhooks: type: string required: - to - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162209,11 +162788,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162292,11 +162871,11 @@ x-webhooks: type: string enum: - removed - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162374,11 +162953,11 @@ x-webhooks: type: string enum: - added - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162454,7 +163033,7 @@ x-webhooks: required: - login - id - team: &889 + team: &893 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162677,11 +163256,11 @@ x-webhooks: type: string enum: - removed - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162758,7 +163337,7 @@ x-webhooks: required: - login - id - team: *889 + team: *893 required: - action - scope @@ -162840,8 +163419,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *853 - merge_group: &891 + installation: *857 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162860,15 +163439,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *890 + head_commit: *894 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162954,10 +163533,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *853 - merge_group: *891 - organization: *854 - repository: *855 + installation: *857 + merge_group: *895 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163030,7 +163609,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 + enterprise: *856 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163139,16 +163718,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *853 - organization: *854 + installation: *857 + organization: *858 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -163229,11 +163808,11 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163312,9 +163891,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - milestone: &894 + enterprise: *856 + installation: *857 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163451,8 +164030,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163531,11 +164110,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163645,11 +164224,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163729,11 +164308,11 @@ x-webhooks: type: string enum: - opened - enterprise: *852 - installation: *853 - milestone: *894 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *898 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163812,11 +164391,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *879 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163895,11 +164474,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *879 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163975,7 +164554,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *852 + enterprise: *856 sender: *4 required: - action @@ -164055,8 +164634,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164129,8 +164708,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164202,9 +164781,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 new_property_values: type: array @@ -164292,9 +164871,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - membership: &895 + enterprise: *856 + installation: *857 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164401,8 +164980,8 @@ x-webhooks: - role - organization_url - user - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164480,11 +165059,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164563,8 +165142,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164680,10 +165259,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 - user: *879 + user: *883 required: - action - invitation @@ -164761,11 +165340,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164852,11 +165431,11 @@ x-webhooks: properties: from: type: string - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164932,9 +165511,9 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -165433,7 +166012,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &896 + items: &900 title: Ruby Gems metadata type: object properties: @@ -165528,7 +166107,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -165604,9 +166183,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -165959,7 +166538,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *896 + items: *900 source_url: type: string format: uri @@ -166029,7 +166608,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -166206,12 +166785,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *852 + enterprise: *856 id: type: integer - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - id @@ -166288,7 +166867,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &897 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166434,10 +167013,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *852 - organization: *854 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166514,11 +167093,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *897 - enterprise: *852 - organization: *854 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166594,11 +167173,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *897 - enterprise: *852 - organization: *854 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166673,11 +167252,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *897 - organization: *854 - enterprise: *852 + personal_access_token_request: *901 + organization: *858 + enterprise: *856 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166782,7 +167361,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *898 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166814,8 +167393,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 zen: description: Random string of GitHub zen. @@ -167060,10 +167639,10 @@ x-webhooks: - from required: - note - enterprise: *852 - installation: *853 - organization: *854 - project_card: &899 + enterprise: *856 + installation: *857 + organization: *858 + project_card: &903 title: Project Card type: object properties: @@ -167182,7 +167761,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -167263,11 +167842,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project_card: *899 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -167347,9 +167926,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 project_card: title: Project Card type: object @@ -167477,8 +168056,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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -167572,11 +168151,11 @@ x-webhooks: - from required: - note - enterprise: *852 - installation: *853 - organization: *854 - project_card: *899 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -167670,9 +168249,9 @@ x-webhooks: - from required: - column_id - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 project_card: allOf: - title: Project Card @@ -167862,7 +168441,7 @@ x-webhooks: type: string required: - after_id - repository: *855 + repository: *859 sender: *4 required: - action @@ -167942,10 +168521,10 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - organization: *854 - project: &901 + enterprise: *856 + installation: *857 + organization: *858 + project: &905 title: Project type: object properties: @@ -168069,7 +168648,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -168149,10 +168728,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project_column: &900 + enterprise: *856 + installation: *857 + organization: *858 + project_column: &904 title: Project Column type: object properties: @@ -168191,7 +168770,7 @@ x-webhooks: - name - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -168270,18 +168849,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168371,11 +168950,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -168455,11 +169034,11 @@ x-webhooks: type: string enum: - moved - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -168539,11 +169118,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168623,18 +169202,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - project: *901 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168736,11 +169315,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168819,11 +169398,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168904,9 +169483,9 @@ x-webhooks: type: string enum: - closed - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -168987,9 +169566,9 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169070,9 +169649,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169189,9 +169768,9 @@ x-webhooks: type: string to: type: string - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169274,7 +169853,7 @@ x-webhooks: type: string enum: - archived - changes: &905 + changes: &909 type: object properties: archived_at: @@ -169288,9 +169867,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *853 - organization: *854 - projects_v2_item: &902 + installation: *857 + organization: *858 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -169308,7 +169887,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *402 + content_type: *404 creator: *4 created_at: type: string @@ -169425,9 +170004,9 @@ x-webhooks: nullable: true to: type: string - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169509,9 +170088,9 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169592,9 +170171,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169700,7 +170279,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &903 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169722,7 +170301,7 @@ x-webhooks: required: - id - name - - &904 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169756,8 +170335,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *903 - - *904 + - *907 + - *908 required: - field_value - type: object @@ -169773,9 +170352,9 @@ x-webhooks: nullable: true required: - body - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169870,9 +170449,9 @@ x-webhooks: to: type: string nullable: true - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169955,10 +170534,10 @@ x-webhooks: type: string enum: - restored - changes: *905 - installation: *853 - organization: *854 - projects_v2_item: *902 + changes: *909 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170040,9 +170619,9 @@ x-webhooks: type: string enum: - reopened - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -170123,14 +170702,14 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2_status_update: &908 + installation: *857 + organization: *858 + projects_v2_status_update: &912 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *906 - required: *907 + properties: *910 + required: *911 sender: *4 required: - action @@ -170211,9 +170790,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2_status_update: *908 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -170349,9 +170928,9 @@ x-webhooks: type: string format: date nullable: true - installation: *853 - organization: *854 - projects_v2_status_update: *908 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -170422,10 +171001,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - repository @@ -170502,13 +171081,13 @@ x-webhooks: type: string enum: - assigned - assignee: *879 - enterprise: *852 - installation: *853 - number: &909 + assignee: *883 + enterprise: *856 + installation: *857 + number: &913 description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -172791,7 +173370,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -172873,11 +173452,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -175155,7 +175734,7 @@ x-webhooks: - draft reason: type: string - repository: *855 + repository: *859 sender: *4 required: - action @@ -175237,11 +175816,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -177519,7 +178098,7 @@ x-webhooks: - draft reason: type: string - repository: *855 + repository: *859 sender: *4 required: - action @@ -177601,13 +178180,13 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: &910 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: &914 allOf: - - *704 + - *706 - type: object properties: allow_auto_merge: @@ -177669,7 +178248,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *855 + repository: *859 sender: *4 required: - action @@ -177750,12 +178329,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -177835,11 +178414,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *852 - milestone: *686 - number: *909 - organization: *854 - pull_request: &911 + enterprise: *856 + milestone: *688 + number: *913 + organization: *858 + pull_request: &915 title: Pull Request type: object properties: @@ -180102,7 +180681,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -180181,11 +180760,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -182467,7 +183046,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *855 + repository: *859 sender: *4 required: - action @@ -182591,12 +183170,12 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -182676,11 +183255,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -184947,7 +185526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -185027,11 +185606,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *852 - installation: *853 - label: *878 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + label: *882 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -187313,7 +187892,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -187394,10 +187973,10 @@ x-webhooks: type: string enum: - locked - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -189677,7 +190256,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -189757,12 +190336,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *852 - milestone: *686 - number: *909 - organization: *854 - pull_request: *911 - repository: *855 + enterprise: *856 + milestone: *688 + number: *913 + organization: *858 + pull_request: *915 + repository: *859 sender: *4 required: - action @@ -189841,12 +190420,12 @@ x-webhooks: type: string enum: - opened - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -189927,12 +190506,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190012,12 +190591,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190383,9 +190962,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -192555,7 +193134,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -192635,7 +193214,7 @@ x-webhooks: type: string enum: - deleted - comment: &913 + comment: &917 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. @@ -192920,9 +193499,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -195080,7 +195659,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -195160,11 +195739,11 @@ x-webhooks: type: string enum: - edited - changes: *912 - comment: *913 - enterprise: *852 - installation: *853 - organization: *854 + changes: *916 + comment: *917 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -197325,7 +197904,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -197406,9 +197985,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -199581,7 +200160,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 review: description: The review that was affected. type: object @@ -199828,9 +200407,9 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -201884,8 +202463,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 - review: &914 + repository: *859 + review: &918 description: The review that was affected. type: object properties: @@ -202118,12 +202697,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -204406,7 +204985,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_reviewer: title: User type: object @@ -204490,12 +205069,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -206785,7 +207364,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206977,12 +207556,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -209267,7 +209846,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_reviewer: title: User type: object @@ -209352,12 +209931,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -211633,7 +212212,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211814,9 +212393,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -213991,8 +214570,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 - review: *914 + repository: *859 + review: *918 sender: *4 required: - action @@ -214072,9 +214651,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -216144,7 +216723,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 sender: *4 thread: type: object @@ -216531,9 +217110,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -218589,7 +219168,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 sender: *4 thread: type: object @@ -218979,10 +219558,10 @@ x-webhooks: type: string before: type: string - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -221253,7 +221832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -221335,11 +221914,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *915 - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + assignee: *919 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -223622,7 +224201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -223701,11 +224280,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *852 - installation: *853 - label: *878 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + label: *882 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -225978,7 +226557,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -226059,10 +226638,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -228327,7 +228906,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -228527,7 +229106,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *852 + enterprise: *856 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228619,8 +229198,8 @@ x-webhooks: - url - author - committer - installation: *853 - organization: *854 + installation: *857 + organization: *858 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229195,9 +229774,9 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -229643,7 +230222,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *896 + items: *900 summary: type: string tag_name: @@ -229697,7 +230276,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -229775,9 +230354,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230085,7 +230664,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *896 + items: *900 summary: type: string tag_name: @@ -230134,7 +230713,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -230211,10 +230790,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - release: &916 + enterprise: *856 + installation: *857 + organization: *858 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230532,7 +231111,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *855 + repository: *859 sender: *4 required: - action @@ -230609,11 +231188,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -230730,11 +231309,11 @@ x-webhooks: type: boolean required: - to - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -230812,9 +231391,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231136,7 +231715,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *855 + repository: *859 sender: *4 required: - action @@ -231212,10 +231791,10 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - release: &917 + enterprise: *856 + installation: *857 + organization: *858 + release: &921 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231534,7 +232113,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *855 + repository: *859 sender: *4 required: - action @@ -231610,11 +232189,11 @@ x-webhooks: type: string enum: - released - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231690,11 +232269,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *852 - installation: *853 - organization: *854 - release: *917 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *921 + repository: *859 sender: *4 required: - action @@ -231770,11 +232349,11 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - repository_advisory: *757 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *759 sender: *4 required: - action @@ -231850,11 +232429,11 @@ x-webhooks: type: string enum: - reported - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - repository_advisory: *757 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *759 sender: *4 required: - action @@ -231930,10 +232509,10 @@ x-webhooks: type: string enum: - archived - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232010,10 +232589,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232091,10 +232670,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232178,10 +232757,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232293,10 +232872,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232368,10 +232947,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 status: type: string @@ -232452,10 +233031,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232532,10 +233111,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232629,10 +233208,10 @@ x-webhooks: - name required: - repository - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232712,10 +233291,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 sender: *4 required: @@ -232794,10 +233373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 sender: *4 required: @@ -232876,10 +233455,10 @@ x-webhooks: type: string enum: - edited - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 changes: type: object @@ -232941,16 +233520,16 @@ x-webhooks: properties: added: type: array - items: *725 + items: *727 deleted: type: array - items: *725 + items: *727 updated: type: array items: type: object properties: - rule: *725 + rule: *727 changes: type: object properties: @@ -233184,10 +233763,10 @@ x-webhooks: - from required: - owner - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233265,10 +233844,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233346,7 +233925,7 @@ x-webhooks: type: string enum: - create - alert: &918 + alert: &922 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233467,10 +234046,10 @@ x-webhooks: type: string enum: - open - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233676,10 +234255,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233757,11 +234336,11 @@ x-webhooks: type: string enum: - reopen - alert: *918 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *922 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233960,10 +234539,10 @@ x-webhooks: enum: - fixed - open - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234041,7 +234620,7 @@ x-webhooks: type: string enum: - created - alert: &919 + alert: &923 type: object properties: number: *123 @@ -234159,10 +234738,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234243,11 +234822,11 @@ x-webhooks: type: string enum: - created - alert: *919 - installation: *853 - location: *920 - organization: *854 - repository: *855 + alert: *923 + installation: *857 + location: *924 + organization: *858 + repository: *859 sender: *4 required: - location @@ -234485,11 +235064,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234567,11 +235146,11 @@ x-webhooks: type: string enum: - reopened - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234649,11 +235228,11 @@ x-webhooks: type: string enum: - resolved - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234731,11 +235310,11 @@ x-webhooks: type: string enum: - validated - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234861,10 +235440,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *855 - enterprise: *852 - installation: *853 - organization: *854 + repository: *859 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -234942,11 +235521,11 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - security_advisory: &921 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: &925 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235129,11 +235708,11 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - security_advisory: *921 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: *925 sender: *4 required: - action @@ -235206,10 +235785,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235393,11 +235972,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *410 - enterprise: *852 - installation: *853 - organization: *854 - repository: *477 + security_and_analysis: *412 + enterprise: *856 + installation: *857 + organization: *858 + repository: *479 sender: *4 required: - changes @@ -235475,12 +236054,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: &922 + sponsorship: &926 type: object properties: created_at: @@ -235781,12 +236360,12 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - sponsorship @@ -235874,12 +236453,12 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -235956,17 +236535,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &923 + effective_date: &927 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: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - sponsorship @@ -236040,7 +236619,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &924 + changes: &928 type: object properties: tier: @@ -236084,13 +236663,13 @@ x-webhooks: - from required: - tier - effective_date: *923 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + effective_date: *927 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -236167,13 +236746,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *924 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + changes: *928 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -236247,10 +236826,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236333,10 +236912,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236756,15 +237335,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *852 + enterprise: *856 id: description: The unique identifier of the status. type: integer - installation: *853 + installation: *857 name: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 sha: description: The Commit SHA. @@ -236873,15 +237452,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *853 - organization: *854 - repository: *855 + sub_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -236965,15 +237544,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *853 - organization: *854 - repository: *855 + sub_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237057,15 +237636,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *853 - organization: *854 - repository: *855 + parent_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237149,15 +237728,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *853 - organization: *854 - repository: *855 + parent_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237234,12 +237813,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - team: &925 + team: &929 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237462,9 +238041,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -237922,7 +238501,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -237998,9 +238577,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238458,7 +239037,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -238535,9 +239114,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238995,7 +239574,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -239139,9 +239718,9 @@ x-webhooks: - from required: - permissions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239599,7 +240178,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - changes @@ -239677,9 +240256,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -240137,7 +240716,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -240213,10 +240792,10 @@ x-webhooks: type: string enum: - started - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -240289,16 +240868,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *852 + enterprise: *856 inputs: type: object nullable: true additionalProperties: true - installation: *853 - organization: *854 + installation: *857 + organization: *858 ref: type: string - repository: *855 + repository: *859 sender: *4 workflow: type: string @@ -240380,10 +240959,10 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -240620,7 +241199,7 @@ x-webhooks: type: string required: - conclusion - deployment: *609 + deployment: *611 required: - action - repository @@ -240699,10 +241278,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -240962,7 +241541,7 @@ x-webhooks: required: - status - steps - deployment: *609 + deployment: *611 required: - action - repository @@ -241041,10 +241620,10 @@ x-webhooks: type: string enum: - queued - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -241179,7 +241758,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *609 + deployment: *611 required: - action - repository @@ -241258,10 +241837,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -241397,7 +241976,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *609 + deployment: *611 required: - action - repository @@ -241477,12 +242056,12 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object @@ -242481,12 +243060,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object @@ -243470,12 +244049,12 @@ x-webhooks: type: string enum: - requested - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index e998a75c1..902af3878 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -64191,6 +64191,402 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -96802,7 +97198,297 @@ }, { "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 default `year` is used.", + "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 default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -96817,25 +97503,84 @@ "schema": { "type": "integer" } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Billing usage report response for an organization", + "description": "Response when getting a billing usage summary report", "content": { "application/json": { "schema": { "type": "object", "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, "usageItems": { "type": "array", "items": { "type": "object", "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, "product": { "type": "string", "description": "Product name." @@ -96844,10 +97589,6 @@ "type": "string", "description": "SKU name." }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -96856,59 +97597,71 @@ "type": "number", "description": "Price per unit of the usage line item." }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, "grossAmount": { "type": "number", "description": "Gross amount of the usage line item." }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, "discountAmount": { "type": "number", "description": "Discount amount of the usage line item." }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, "netAmount": { "type": "number", "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." } }, "required": [ - "date", "product", "sku", - "quantity", "unitType", "pricePerUnit", + "grossQuantity", "grossAmount", + "discountQuantity", "discountAmount", - "netAmount", - "organizationName" + "netQuantity", + "netAmount" ] } } - } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] }, "examples": { "default": { "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", "usageItems": [ { - "date": "2023-08-01", "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, + "sku": "actions_linux", "unitType": "minutes", "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 } ] } @@ -115176,6 +115929,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -177164,12 +177925,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -177381,6 +178152,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -177422,6 +178198,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -177482,11 +178259,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -177822,12 +178609,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -177972,6 +178769,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -181090,35 +181892,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -652504,35 +653391,120 @@ }, "examples": { "default": { - "value": { - "id": 12345, - "node_id": "PVTF_lADOABCD1234567890", - "name": "Priority", - "data_type": "single_select", - "project_url": "https://api.github.com/projects/67890", - "options": [ - { - "id": "option_1", - "name": "Low", - "color": "GREEN", - "description": "Low priority items" - }, - { - "id": "option_2", - "name": "Medium", - "color": "YELLOW", - "description": "Medium priority items" + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] }, - { - "id": "option_3", - "name": "High", - "color": "RED", - "description": "High priority items" - } - ], - "created_at": "2022-04-28T12:00:00Z", - "updated_at": "2022-04-28T12:00:00Z" - } + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] } } } @@ -673591,6 +674563,389 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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 specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 9cd593acf..9882bdc41 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &430 + type: &432 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &253 + schema: &256 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,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: - - &759 + - &761 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1149,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &208 + properties: &211 id: description: Unique identifier of the GitHub app example: 37 @@ -1282,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &209 + required: &212 - id - node_id - owner @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &339 + - &342 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 @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &340 + items: &343 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &341 + default: &344 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &769 + schema: &771 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &252 + schema: &255 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &343 + default: &346 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2126,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &213 + - &216 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) @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &408 + properties: &410 id: description: Unique identifier of the repository example: 42 @@ -2912,7 +2912,7 @@ paths: title: License Simple description: License Simple type: object - properties: &224 + properties: &227 key: type: string example: mit @@ -2934,7 +2934,7 @@ paths: html_url: type: string format: uri - required: &225 + required: &228 - key - name - url @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &409 + required: &411 - archive_url - assignees_url - blobs_url @@ -7487,7 +7487,7 @@ paths: description: Response content: application/json: - schema: &254 + schema: &257 type: object properties: total_active_caches_count: @@ -7502,7 +7502,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &255 + default: &258 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7695,7 +7695,7 @@ paths: - public_ip_enabled - platform examples: - default: &256 + default: &259 value: total_count: 2 runners: @@ -7990,7 +7990,7 @@ paths: application/json: schema: *45 examples: - default: &257 + default: &260 value: id: 1 platform: linux-x64 @@ -8130,7 +8130,7 @@ paths: application/json: schema: *48 examples: - default: &258 + default: &261 value: version: 1.0.0 size_gb: 75 @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &259 + schema: &262 type: object properties: public_ips: @@ -8319,7 +8319,7 @@ paths: required: - public_ips examples: - default: &260 + default: &263 value: public_ips: current_usage: 17 @@ -8359,7 +8359,7 @@ paths: type: array items: *52 examples: - default: &261 + default: &264 value: id: 4-core cpu_cores: 4 @@ -8621,7 +8621,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &267 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` @@ -8701,7 +8701,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &266 + schema: &269 type: object properties: days: @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &770 + '401': &772 description: Authorization failure '404': *6 x-github: @@ -8747,7 +8747,7 @@ paths: required: true content: application/json: - schema: &267 + schema: &270 type: object properties: days: @@ -8796,7 +8796,7 @@ paths: required: - approval_policy examples: - default: &268 + default: &271 value: approval_policy: first_time_contributors '404': *6 @@ -8854,7 +8854,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 type: object required: - run_workflows_from_fork_pull_requests @@ -8908,7 +8908,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &273 type: object required: - run_workflows_from_fork_pull_requests @@ -9331,7 +9331,7 @@ paths: description: Success response content: application/json: - schema: &273 + schema: &276 type: object properties: default_workflow_permissions: &63 @@ -9379,7 +9379,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &277 type: object properties: default_workflow_permissions: *63 @@ -10215,7 +10215,7 @@ paths: application/json: schema: type: array - items: &278 + items: &281 title: Runner Application description: Runner Application type: object @@ -10240,7 +10240,7 @@ paths: - download_url - filename examples: - default: &279 + default: &282 value: - os: osx architecture: x64 @@ -10324,7 +10324,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &280 + '201': &283 description: Response content: application/json: @@ -10439,7 +10439,7 @@ paths: - token - expires_at examples: - default: &281 + default: &284 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10479,7 +10479,7 @@ paths: application/json: schema: *75 examples: - default: &282 + default: &285 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10511,7 +10511,7 @@ paths: application/json: schema: *72 examples: - default: &283 + default: &286 value: id: 23 name: MBP @@ -10727,7 +10727,7 @@ paths: - *41 - *71 responses: - '200': &284 + '200': &287 description: Response content: application/json: @@ -10783,7 +10783,7 @@ paths: parameters: - *41 - *71 - - &285 + - &288 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10874,7 +10874,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &295 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11515,7 +11515,7 @@ paths: required: false schema: type: string - - &293 + - &296 name: include description: |- The event types to include: @@ -11533,7 +11533,7 @@ paths: - web - git - all - - &294 + - &297 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. @@ -11541,7 +11541,7 @@ paths: required: false schema: type: string - - &295 + - &298 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. @@ -11549,7 +11549,7 @@ paths: required: false schema: type: string - - &296 + - &299 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11571,7 +11571,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 type: object properties: "@timestamp": @@ -11693,7 +11693,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &298 + default: &301 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12359,7 +12359,7 @@ paths: application/json: schema: type: array - items: &299 + items: &302 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12520,7 +12520,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &300 + default: &303 value: - id: 21 number: 42 @@ -12625,7 +12625,7 @@ paths: application/json: schema: type: array - items: &302 + items: &305 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12750,7 +12750,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &303 + default: &306 value: - id: 21 number: 42 @@ -12835,7 +12835,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &308 + - &311 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`, @@ -12845,7 +12845,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &309 + - &312 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 @@ -12868,7 +12868,7 @@ paths: be returned. in: query required: false - schema: &310 + schema: &313 type: string description: State of a code scanning alert. enum: @@ -12893,7 +12893,7 @@ paths: application/json: schema: type: array - items: &311 + items: &314 type: object properties: number: &123 @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &545 + instances_url: &547 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &546 + dismissed_reason: &548 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &547 + dismissed_comment: &549 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &548 + rule: &550 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &549 + tool: &551 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &550 + most_recent_instance: &552 type: object properties: - ref: &543 + ref: &545 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &560 + analysis_key: &562 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &561 + category: &563 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13103,7 +13103,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &241 + properties: &244 id: type: integer format: int64 @@ -13330,7 +13330,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: &242 + required: &245 - archive_url - assignees_url - blobs_url @@ -13402,7 +13402,7 @@ paths: - most_recent_instance - repository examples: - default: &312 + default: &315 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14055,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &313 + code_scanning_options: &316 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14249,7 +14249,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &318 type: array description: A list of default code security configurations items: @@ -14265,7 +14265,7 @@ paths: default configuration: *110 examples: - default: &316 + default: &319 value: - default_for_new_repos: public configuration: @@ -14719,7 +14719,7 @@ paths: default: value: default_for_new_repos: all - configuration: &314 + configuration: &317 value: id: 1325 target_type: organization @@ -14804,7 +14804,7 @@ paths: application/json: schema: type: array - items: &317 + items: &320 type: object description: Repositories associated with a code security configuration and attachment status @@ -14828,7 +14828,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &318 + repository: &321 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15317,7 +15317,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &304 + - &307 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15392,7 +15392,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &374 + properties: &377 id: description: Unique identifier of the team type: integer @@ -15464,7 +15464,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &375 + required: &378 - id - node_id - url @@ -16052,7 +16052,7 @@ paths: application/json: schema: type: array - items: &198 + items: &201 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16359,7 +16359,7 @@ paths: - date additionalProperties: true examples: - default: &199 + default: &202 value: - date: '2024-06-24' total_active_users: 24 @@ -16461,7 +16461,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &200 + '422': &203 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16697,7 +16697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &324 + - &327 name: state in: query description: |- @@ -16706,7 +16706,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &325 + - &328 name: severity in: query description: |- @@ -16715,7 +16715,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &326 + - &329 name: ecosystem in: query description: |- @@ -16724,14 +16724,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &327 + - &330 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 - - &328 + - &331 name: epss_percentage in: query description: |- @@ -16743,7 +16743,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 - - &600 + - &602 name: has in: query description: |- @@ -16757,7 +16757,7 @@ paths: type: string enum: - patch - - &329 + - &332 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16767,7 +16767,7 @@ paths: enum: - development - runtime - - &330 + - &333 name: sort in: query description: |- @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &331 + items: &334 type: object description: A Dependabot alert. properties: @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &601 + security_advisory: &603 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &602 + auto_dismissed_at: &604 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17114,7 +17114,7 @@ paths: - repository additionalProperties: false examples: - default: &332 + default: &335 value: - number: 2 state: dismissed @@ -17895,7 +17895,7 @@ paths: type: array items: *140 examples: - default: &201 + default: &204 value: - id: 1 name: Justice League @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &441 + default: &443 value: total_count: 2 network_configurations: @@ -18449,7 +18449,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 - - &442 + - &444 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &445 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &444 + default: &446 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &407 + schema: &409 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &413 + - &415 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &725 + items: &727 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &722 + - &724 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &723 + - &725 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &416 + default: &418 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &417 + schema: &419 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &418 + - &420 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &419 + - &421 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &420 + - &422 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &421 + - &423 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &422 + - &424 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &423 + - &425 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &424 + - &426 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &425 + - &427 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &426 + items: &428 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &737 + state: &739 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: &738 + resolution: &740 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &739 - - &741 + oneOf: &741 + - &743 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &742 + - &744 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. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &743 + - &745 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &744 + - &746 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &745 + - &747 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &746 + - &748 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &747 + - &749 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &748 + - &750 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &749 + - &751 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. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &750 + - &752 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. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &751 + - &753 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. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &752 + - &754 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. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &753 + - &755 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. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &427 + default: &429 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &428 + schema: &430 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &429 + default: &431 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &434 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &433 + default: &435 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &434 + - &436 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &435 + schema: &437 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &436 + default: &438 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &439 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &438 + default: &440 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22709,7 +22709,7 @@ paths: required: false schema: type: integer - - &243 + - &198 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 @@ -22727,28 +22727,29 @@ paths: required: false schema: type: integer - - name: organization + - &199 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &244 + - &246 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &245 + - &247 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &246 + - &200 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -22918,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 type: object properties: days_left_in_billing_cycle: @@ -22936,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &440 + default: &442 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -22962,7 +22963,7 @@ paths: parameters: - *41 - *196 - - &247 + - &248 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 @@ -22984,7 +22985,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &248 + schema: &249 type: object properties: usageItems: @@ -23037,7 +23038,7 @@ paths: - netAmount - organizationName examples: - default: &249 + default: &250 value: usageItems: - date: '2023-08-01' @@ -23060,6 +23061,175 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + parameters: + - *41 + - *196 + - *198 + - *197 + - *199 + - &251 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *200 + - &252 + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -23120,13 +23290,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23155,7 +23325,7 @@ paths: type: array items: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23232,7 +23402,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23250,7 +23420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &202 + - &205 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23269,7 +23439,7 @@ paths: type: array items: *4 examples: - default: &203 + default: &206 value: - login: octocat id: 1 @@ -23308,7 +23478,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23339,7 +23509,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23357,7 +23527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23388,7 +23558,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23406,7 +23576,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '200': @@ -23415,7 +23585,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &204 + exampleKey1: &207 value: login: octocat id: 1 @@ -23451,7 +23621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *202 + - *205 - *138 responses: '201': @@ -23460,7 +23630,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *204 + exampleKey1: *207 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23478,7 +23648,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *202 + - *205 - *138 responses: '204': @@ -23501,7 +23671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *41 - - *202 + - *205 - *17 - *19 responses: @@ -23513,7 +23683,7 @@ paths: type: array items: *69 examples: - default: &205 + default: &208 value: login: github id: 1 @@ -23544,7 +23714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23574,7 +23744,7 @@ paths: type: array items: *69 examples: - default: &240 + default: &243 value: - login: github id: 1 @@ -23605,7 +23775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *41 - - *202 + - *205 requestBody: required: true content: @@ -23646,7 +23816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '200': @@ -23655,7 +23825,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 '404': description: The team is not assigned to the organization x-github: @@ -23674,7 +23844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '201': @@ -23683,7 +23853,7 @@ paths: application/json: schema: *69 examples: - default: *205 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23700,7 +23870,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *41 - - *202 + - *205 - *83 responses: '204': @@ -23725,7 +23895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &206 + - &209 name: team_slug description: The slug of the team name. in: path @@ -23739,7 +23909,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23759,7 +23929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *206 + - *209 requestBody: required: true content: @@ -23816,7 +23986,7 @@ paths: application/json: schema: *140 examples: - default: *201 + default: *204 headers: Link: *43 '403': *29 @@ -23839,7 +24009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *206 + - *209 responses: '204': description: Response @@ -23938,7 +24108,7 @@ paths: application/json: schema: type: array - items: &235 + items: &238 title: Event description: Event type: object @@ -23948,7 +24118,7 @@ paths: type: type: string nullable: true - actor: &207 + actor: &210 title: Actor description: Actor type: object @@ -23988,18 +24158,18 @@ paths: - id - name - url - org: *207 + org: *210 payload: type: object properties: action: type: string - issue: &223 + issue: &226 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &659 + properties: &661 id: type: integer format: int64 @@ -24111,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &399 + properties: &401 url: type: string format: uri @@ -24181,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &400 + required: &402 - closed_issues - creator - description @@ -24260,7 +24430,7 @@ paths: timeline_url: type: string format: uri - type: &361 + type: &364 title: Issue Type description: The type of issue. type: object @@ -24319,9 +24489,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - author_association: &210 + properties: *211 + required: *212 + author_association: &213 title: author_association type: string example: OWNER @@ -24335,7 +24505,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &211 + reactions: &214 title: Reaction Rollup type: object properties: @@ -24371,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &797 + sub_issues_summary: &799 title: Sub-issues Summary type: object properties: @@ -24391,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &798 + issue_dependencies_summary: &800 title: Issue Dependencies Summary type: object properties: @@ -24410,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &799 + items: &801 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24470,7 +24640,7 @@ paths: - node_id - data_type - value - required: &660 + required: &662 - assignee - closed_at - comments @@ -24491,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &657 + comment: &659 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -24539,7 +24709,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -24549,9 +24719,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - id - node_id @@ -24718,7 +24888,7 @@ paths: _links: type: object properties: - timeline: &212 + timeline: &215 title: Link With Type description: Hypermedia Link with Type type: object @@ -24730,17 +24900,17 @@ paths: required: - href - type - user: *212 - security_advisories: *212 - current_user: *212 - current_user_public: *212 - current_user_actor: *212 - current_user_organization: *212 + user: *215 + security_advisories: *215 + current_user: *215 + current_user_public: *215 + current_user_actor: *215 + current_user_organization: *215 current_user_organizations: type: array - items: *212 - repository_discussions: *212 - repository_discussions_category: *212 + items: *215 + repository_discussions: *215 + repository_discussions_category: *215 required: - timeline - user @@ -24802,7 +24972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *213 + - *216 - *17 - *19 responses: @@ -24812,7 +24982,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Base Gist description: Base Gist type: object @@ -24911,7 +25081,7 @@ paths: - created_at - updated_at examples: - default: &215 + default: &218 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25032,7 +25202,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &219 title: Gist Simple description: Gist Simple type: object @@ -25049,7 +25219,7 @@ paths: url: type: string format: uri - user: &811 + user: &813 title: Public User description: Public User type: object @@ -25411,7 +25581,7 @@ paths: truncated: type: boolean examples: - default: &217 + default: &220 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25515,7 +25685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25525,9 +25695,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -25549,7 +25719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *213 + - *216 - *17 - *19 responses: @@ -25559,9 +25729,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '401': *25 @@ -25589,7 +25759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &218 + - &221 name: gist_id description: The unique identifier of the gist. in: path @@ -25601,10 +25771,10 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 - '403': &221 + default: *220 + '403': &224 description: Forbidden Gist content: application/json: @@ -25652,7 +25822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *218 + - *221 requestBody: required: true content: @@ -25712,9 +25882,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - updateGist: *217 + updateGist: *220 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25872,7 +26042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -25901,7 +26071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *218 + - *221 - *17 - *19 responses: @@ -25911,7 +26081,7 @@ paths: application/json: schema: type: array - items: &219 + items: &222 title: Gist Comment description: A comment made to a gist. type: object @@ -25946,7 +26116,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *210 + author_association: *213 required: - url - id @@ -26011,7 +26181,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *218 + - *221 requestBody: required: true content: @@ -26036,9 +26206,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: &220 + default: &223 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26096,8 +26266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *218 - - &222 + - *221 + - &225 name: comment_id description: The unique identifier of the comment. in: path @@ -26110,12 +26280,12 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '304': *37 '404': *6 - '403': *221 + '403': *224 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26137,8 +26307,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 requestBody: required: true content: @@ -26163,9 +26333,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *220 + default: *223 '404': *6 x-github: githubCloudOnly: false @@ -26182,8 +26352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *218 - - *222 + - *221 + - *225 responses: '204': description: Response @@ -26206,7 +26376,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26307,7 +26477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *218 + - *221 - *17 - *19 responses: @@ -26317,7 +26487,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -26382,13 +26552,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *218 + - *221 responses: '201': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -26459,7 +26629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *218 + - *221 responses: '204': description: Response if gist is starred @@ -26489,7 +26659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26511,7 +26681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *218 + - *221 responses: '204': description: Response @@ -26540,7 +26710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *218 + - *221 - name: sha in: path required: true @@ -26551,9 +26721,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *217 + default: *220 '422': *15 '404': *6 '403': *29 @@ -26919,7 +27089,7 @@ paths: - closed - all default: open - - &364 + - &367 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26938,7 +27108,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - name: collab in: query required: false @@ -26968,9 +27138,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &365 + default: &368 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27254,8 +27424,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 examples: default: value: @@ -27540,7 +27710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &226 + X-CommonMarker-Version: &229 example: 0.17.4 schema: type: string @@ -27595,7 +27765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *226 + X-CommonMarker-Version: *229 content: text/html: schema: @@ -27624,7 +27794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &229 + - &232 name: account_id description: account_id parameter in: path @@ -27636,7 +27806,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &231 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27666,7 +27836,7 @@ paths: nullable: true id: type: integer - plan: &227 + plan: &230 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27755,7 +27925,7 @@ paths: nullable: true updated_at: type: string - plan: *227 + plan: *230 required: - url - id @@ -27763,7 +27933,7 @@ paths: - login - marketplace_purchase examples: - default: &230 + default: &233 value: url: https://api.github.com/orgs/github type: Organization @@ -27848,9 +28018,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: &231 + default: &234 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27890,14 +28060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &232 + - &235 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &233 + - &236 name: sort description: The property to sort the results by. in: query @@ -27927,9 +28097,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: &234 + default: &237 value: - url: https://api.github.com/orgs/github type: Organization @@ -28003,15 +28173,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *229 + - *232 responses: '200': description: Response content: application/json: - schema: *228 + schema: *231 examples: - default: *230 + default: *233 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -28043,9 +28213,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *231 + default: *234 headers: Link: *43 '401': *25 @@ -28068,8 +28238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *232 - - *233 + - *235 + - *236 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28089,9 +28259,9 @@ paths: application/json: schema: type: array - items: *228 + items: *231 examples: - default: *234 + default: *237 headers: Link: *43 '401': *25 @@ -28355,14 +28525,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: - - &464 + - &466 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &465 + - &467 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28379,7 +28549,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -28424,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &478 + '301': &480 description: Moved permanently content: application/json: @@ -28446,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &689 + - &691 name: all description: If `true`, show notifications marked as read. in: query @@ -28454,7 +28624,7 @@ paths: schema: type: boolean default: false - - &690 + - &692 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28463,8 +28633,8 @@ paths: schema: type: boolean default: false - - *213 - - &691 + - *216 + - &693 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: @@ -28489,18 +28659,18 @@ paths: application/json: schema: type: array - items: &236 + items: &239 title: Thread description: Thread type: object properties: id: type: string - repository: &277 + repository: &280 title: Minimal Repository description: Minimal Repository type: object - properties: &334 + properties: &337 id: type: integer format: int64 @@ -28776,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &410 + security_and_analysis: &412 nullable: true type: object properties: @@ -28858,7 +29028,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &335 + required: &338 - archive_url - assignees_url - blobs_url @@ -28946,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &692 + default: &694 value: - id: '1' repository: @@ -29112,7 +29282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &237 + - &240 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 @@ -29126,7 +29296,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *239 examples: default: value: @@ -29229,7 +29399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *237 + - *240 responses: '205': description: Reset Content @@ -29252,7 +29422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *237 + - *240 responses: '204': description: No content @@ -29275,13 +29445,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *237 + - *240 responses: '200': description: Response content: application/json: - schema: &238 + schema: &241 title: Thread Subscription description: Thread Subscription type: object @@ -29318,7 +29488,7 @@ paths: - url - subscribed examples: - default: &239 + default: &242 value: subscribed: true ignored: false @@ -29349,7 +29519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *237 + - *240 requestBody: required: false content: @@ -29370,9 +29540,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *241 examples: - default: *239 + default: *242 '304': *37 '403': *29 '401': *25 @@ -29395,7 +29565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *237 + - *240 responses: '204': description: Response @@ -29492,7 +29662,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: example: ; rel="next" @@ -29543,7 +29713,7 @@ paths: type: integer custom_roles: type: array - items: &320 + items: &323 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29591,7 +29761,7 @@ paths: - created_at - updated_at examples: - default: &321 + default: &324 value: id: 8030 name: Security Engineer @@ -29682,8 +29852,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *241 - required: *242 + properties: *244 + required: *245 nullable: true additionalProperties: false examples: @@ -29917,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &698 + default: &700 value: - property_name: environment value: production @@ -29967,7 +30137,7 @@ paths: required: - properties examples: - default: &699 + default: &701 value: properties: - property_name: environment @@ -30004,11 +30174,11 @@ paths: parameters: - *83 - *196 - - *243 + - *198 - *197 - - *244 - - *245 - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -30141,16 +30311,150 @@ paths: parameters: - *83 - *196 - - *247 + - *248 - *197 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *248 + schema: *249 examples: - default: *249 + default: *250 + '400': *14 + '403': *29 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - *83 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 '400': *14 '403': *29 '500': *40 @@ -30186,7 +30490,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &253 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30519,7 +30823,7 @@ paths: - updated_at - archived_at examples: - default-response: &251 + default-response: &254 value: login: github id: 1 @@ -30844,17 +31148,17 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 '422': description: Validation failed content: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '409': *114 x-github: githubCloudOnly: false @@ -30909,9 +31213,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *257 examples: - default: *255 + default: *258 headers: Link: *43 x-github: @@ -30952,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &483 + items: &485 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31027,7 +31331,7 @@ paths: type: array items: *44 examples: - default: *256 + default: *259 headers: Link: *43 x-github: @@ -31193,7 +31497,7 @@ paths: application/json: schema: *45 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31285,7 +31589,7 @@ paths: application/json: schema: *48 examples: - default: *258 + default: *261 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31404,9 +31708,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *262 examples: - default: *260 + default: *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31442,7 +31746,7 @@ paths: type: array items: *52 examples: - default: *261 + default: *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31630,7 +31934,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &262 + schema: &265 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31644,7 +31948,7 @@ paths: required: - include_claim_keys examples: - default: &263 + default: &266 value: include_claim_keys: - repo @@ -31671,15 +31975,15 @@ paths: required: true content: application/json: - schema: *262 + schema: *265 examples: - default: *263 + default: *266 responses: '201': description: Empty response content: application/json: - schema: &288 + schema: &291 title: Empty Object description: An object without any properties. type: object @@ -31718,7 +32022,7 @@ paths: schema: type: object properties: - enabled_repositories: &265 + enabled_repositories: &268 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31732,7 +32036,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled_repositories @@ -31774,7 +32078,7 @@ paths: schema: type: object properties: - enabled_repositories: *265 + enabled_repositories: *268 allowed_actions: *56 sha_pinning_required: *57 required: @@ -31810,7 +32114,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: response: summary: Example response @@ -31841,7 +32145,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: application/json: value: @@ -31879,7 +32183,7 @@ paths: application/json: schema: *58 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -31936,7 +32240,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *59 '403': *29 @@ -31961,7 +32265,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *59 responses: @@ -32013,7 +32317,7 @@ paths: type: array items: *74 examples: - default: &272 + default: &275 value: total_count: 1 repositories: @@ -32198,7 +32502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &271 + - &274 name: repository_id description: The unique identifier of the repository. in: path @@ -32227,7 +32531,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -32423,7 +32727,7 @@ paths: type: array items: *74 examples: - default: *272 + default: *275 '403': *29 '404': *6 x-github: @@ -32492,7 +32796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: No content @@ -32519,7 +32823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: No content @@ -32553,7 +32857,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *65 x-github: @@ -32587,7 +32891,7 @@ paths: required: false content: application/json: - schema: *274 + schema: *277 examples: default: *65 x-github: @@ -32634,7 +32938,7 @@ paths: type: number runner_groups: type: array - items: &275 + items: &278 type: object properties: id: @@ -32822,9 +33126,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: &276 + default: &279 value: id: 2 name: octo-runner-group @@ -32866,7 +33170,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -32957,9 +33261,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: - default: *276 + default: *279 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33023,7 +33327,7 @@ paths: type: array items: *44 examples: - default: *256 + default: *259 headers: Link: *43 x-github: @@ -33064,9 +33368,9 @@ paths: type: number repositories: type: array - items: *277 + items: *280 examples: - default: &814 + default: &816 value: total_count: 1 repositories: @@ -33365,7 +33669,7 @@ paths: parameters: - *83 - *68 - - *271 + - *274 responses: '204': description: Response @@ -33389,7 +33693,7 @@ paths: parameters: - *83 - *68 - - *271 + - *274 responses: '204': description: Response @@ -33607,9 +33911,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33674,7 +33978,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -33713,7 +34017,7 @@ paths: application/json: schema: *75 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33749,7 +34053,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33780,7 +34084,7 @@ paths: application/json: schema: *72 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33955,7 +34259,7 @@ paths: - *83 - *71 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -33984,7 +34288,7 @@ paths: parameters: - *83 - *71 - - *285 + - *288 responses: '200': *77 '404': *6 @@ -34029,7 +34333,7 @@ paths: type: integer secrets: type: array - items: &286 + items: &289 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34108,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34137,7 +34441,7 @@ paths: - key_id - key examples: - default: &504 + default: &506 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34163,7 +34467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &287 + - &290 name: secret_name description: The name of the secret. in: path @@ -34175,7 +34479,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *289 examples: default: value: @@ -34206,7 +34510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -34263,7 +34567,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -34290,7 +34594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -34317,7 +34621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -34335,9 +34639,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: &291 + default: &294 value: total_count: 1 repositories: @@ -34430,7 +34734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -34483,7 +34787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -34517,7 +34821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -34550,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &488 + - &490 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)." @@ -34574,7 +34878,7 @@ paths: type: integer variables: type: array - items: &289 + items: &292 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34707,7 +35011,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -34733,7 +35037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &290 + - &293 name: name description: The name of the variable. in: path @@ -34745,7 +35049,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -34776,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *290 + - *293 requestBody: required: true content: @@ -34839,7 +35143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *290 + - *293 responses: '204': description: Response @@ -34866,7 +35170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *290 + - *293 - *19 - *17 responses: @@ -34884,9 +35188,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34913,7 +35217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *290 + - *293 requestBody: required: true content: @@ -34963,7 +35267,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *290 + - *293 - name: repository_id in: path required: true @@ -34998,7 +35302,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *290 + - *293 - name: repository_id in: path required: true @@ -35056,7 +35360,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *295 examples: default: *81 parameters: @@ -35158,6 +35462,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -35348,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &842 + default: &844 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &843 + withPredicateType: &845 value: subject_digests: - sha256:abc123 @@ -35411,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &844 + default: &846 value: attestations_subject_digests: - sha256:abc: @@ -35760,7 +36077,7 @@ paths: initiator: type: string examples: - default: &517 + default: &519 value: attestations: - bundle: @@ -35886,10 +36203,10 @@ paths: required: false schema: type: string - - *293 - - *294 - - *295 - *296 + - *297 + - *298 + - *299 - *17 responses: '200': @@ -35898,9 +36215,9 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: - default: *298 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35929,7 +36246,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36023,7 +36340,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &301 + - &304 name: repository_name description: The name of the repository to filter on. in: query @@ -36042,9 +36359,9 @@ paths: application/json: schema: type: array - items: *299 + items: *302 examples: - default: *300 + default: *303 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -36068,7 +36385,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *301 + - *304 - *99 - *100 - *101 @@ -36082,9 +36399,9 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: - default: *303 + default: *306 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -36111,7 +36428,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &305 + schema: &308 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36137,7 +36454,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36168,7 +36485,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *304 + items: *307 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36186,7 +36503,7 @@ paths: type: string format: date-time nullable: true - state: *305 + state: *308 contact_link: description: The contact link of the campaign. type: string @@ -36406,9 +36723,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: &307 + default: &310 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36491,9 +36808,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: *307 + default: *310 '404': *6 '422': description: Unprocessable Entity @@ -36570,7 +36887,7 @@ paths: type: string format: uri nullable: true - state: *305 + state: *308 examples: default: value: @@ -36580,9 +36897,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *309 examples: - default: *307 + default: *310 '400': description: Bad Request content: @@ -36649,8 +36966,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *308 - - *309 + - *311 + - *312 - *104 - *105 - *19 @@ -36661,7 +36978,7 @@ paths: be returned. in: query required: false - schema: *310 + schema: *313 - name: sort description: The property by which to sort the results. in: query @@ -36677,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &544 + schema: &546 type: string description: Severity of a code scanning alert. enum: @@ -36695,9 +37012,9 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: - default: *312 + default: *315 headers: Link: *43 '404': *6 @@ -36912,7 +37229,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *313 + code_scanning_options: *316 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -37055,7 +37372,7 @@ paths: application/json: schema: *110 examples: - default: *314 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37083,9 +37400,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: - default: *316 + default: *319 '304': *37 '403': *29 '404': *6 @@ -37172,7 +37489,7 @@ paths: application/json: schema: *110 examples: - default: *314 + default: *317 '304': *37 '403': *29 '404': *6 @@ -37594,7 +37911,7 @@ paths: default: value: default_for_new_repos: all - configuration: *314 + configuration: *317 '403': *29 '404': *6 x-github: @@ -37647,13 +37964,13 @@ paths: application/json: schema: type: array - items: *317 + items: *320 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *318 + repository: *321 '403': *29 '404': *6 x-github: @@ -37693,7 +38010,7 @@ paths: type: integer codespaces: type: array - items: &366 + items: &369 type: object title: Codespace description: A codespace. @@ -37718,12 +38035,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *277 + repository: *280 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &573 + properties: &575 name: type: string description: The name of the machine. @@ -37765,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &574 + required: &576 - name - display_name - operating_system @@ -37970,7 +38287,7 @@ paths: - pulls_url - recent_folders examples: - default: &367 + default: &370 value: total_count: 3 codespaces: @@ -38594,7 +38911,7 @@ paths: type: integer secrets: type: array - items: &319 + items: &322 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38633,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &575 + default: &577 value: total_count: 2 secrets: @@ -38671,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38700,7 +39017,7 @@ paths: - key_id - key examples: - default: &577 + default: &579 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38724,15 +39041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: &579 + default: &581 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38760,7 +39077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -38815,7 +39132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -38842,7 +39159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -38868,7 +39185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -38886,9 +39203,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -38911,7 +39228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -38962,7 +39279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -38996,7 +39313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -39585,13 +39902,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39803,7 +40120,7 @@ paths: type: integer custom_roles: type: array - items: *320 + items: *323 examples: default: value: @@ -39895,7 +40212,7 @@ paths: required: true content: application/json: - schema: &322 + schema: &325 type: object properties: name: @@ -39936,9 +40253,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -39969,9 +40286,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -39999,7 +40316,7 @@ paths: required: true content: application/json: - schema: &323 + schema: &326 type: object properties: name: @@ -40037,9 +40354,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40097,7 +40414,7 @@ paths: required: true content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -40111,9 +40428,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40150,9 +40467,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '404': *6 x-github: githubCloudOnly: true @@ -40186,7 +40503,7 @@ paths: required: true content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -40201,9 +40518,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *323 examples: - default: *321 + default: *324 '422': *15 '404': *6 x-github: @@ -40263,11 +40580,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *324 - - *325 - - *326 - *327 - *328 + - *329 + - *330 + - *331 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40305,8 +40622,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *329 - - *330 + - *332 + - *333 - *106 - *104 - *105 @@ -40318,9 +40635,9 @@ paths: application/json: schema: type: array - items: *331 + items: *334 examples: - default: *332 + default: *335 '304': *37 '400': *14 '403': *29 @@ -40364,7 +40681,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &336 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40441,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &607 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40458,7 +40775,7 @@ paths: - key_id - key examples: - default: &606 + default: &608 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40482,13 +40799,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: default: value: @@ -40517,7 +40834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -40576,7 +40893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -40601,7 +40918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -40626,7 +40943,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 - *19 - *17 responses: @@ -40644,9 +40961,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40668,7 +40985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -40719,7 +41036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -40751,7 +41068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *287 + - *290 - name: repository_id in: path required: true @@ -40788,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &614 + - &616 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40796,7 +41113,7 @@ paths: required: false schema: type: string - - &615 + - &617 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40804,7 +41121,7 @@ paths: required: false schema: type: string - - &616 + - &618 name: time_period description: |- The time period to filter by. @@ -40820,7 +41137,7 @@ paths: - week - month default: month - - &617 + - &619 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40835,7 +41152,7 @@ paths: - denied - all default: all - - *301 + - *304 - *17 - *19 responses: @@ -40845,7 +41162,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41001,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &619 + default: &621 value: - id: 21 number: 42 @@ -41088,11 +41405,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *301 + - *304 - *99 - *100 - *101 - - &620 + - &622 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41118,7 +41435,7 @@ paths: application/json: schema: type: array - items: &621 + items: &623 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41239,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &622 + default: &624 value: - id: 21 number: 42 @@ -41327,7 +41644,7 @@ paths: application/json: schema: type: array - items: &377 + items: &380 title: Package description: A software package type: object @@ -41377,8 +41694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *334 - required: *335 + properties: *337 + required: *338 nullable: true created_at: type: string @@ -41397,7 +41714,7 @@ paths: - created_at - updated_at examples: - default: &378 + default: &381 value: - id: 197 name: hello_docker @@ -41485,7 +41802,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -41584,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41665,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &460 + default: &462 value: group_id: '123' group_name: Octocat admins @@ -41720,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41757,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &458 + default: &460 value: groups: - group_id: '123' @@ -41801,7 +42118,7 @@ paths: application/json: schema: type: array - items: &358 + items: &361 title: Organization Invitation description: Organization Invitation type: object @@ -41848,7 +42165,7 @@ paths: - invitation_teams_url - node_id examples: - default: &359 + default: &362 value: - id: 1 login: monalisa @@ -41915,7 +42232,7 @@ paths: application/json: schema: type: array - items: &411 + items: &413 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41929,7 +42246,7 @@ paths: - name - description examples: - default: &412 + default: &414 value: - name: add_assignee description: Assign or remove a user @@ -41970,7 +42287,7 @@ paths: application/json: schema: type: array - items: &336 + items: &339 title: Org Hook description: Org Hook type: object @@ -42139,9 +42456,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: &337 + default: &340 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42186,7 +42503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &338 + - &341 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. @@ -42199,9 +42516,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -42223,7 +42540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *338 + - *341 requestBody: required: false content: @@ -42268,7 +42585,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: default: value: @@ -42308,7 +42625,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *338 + - *341 responses: '204': description: Response @@ -42334,7 +42651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *338 + - *341 responses: '200': description: Response @@ -42363,7 +42680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *338 + - *341 requestBody: required: false content: @@ -42412,9 +42729,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *17 - - *339 + - *342 responses: '200': description: Response @@ -42422,9 +42739,9 @@ paths: application/json: schema: type: array - items: *340 + items: *343 examples: - default: *341 + default: *344 '400': *14 '422': *15 x-github: @@ -42448,16 +42765,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '400': *14 '422': *15 x-github: @@ -42481,7 +42798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *338 + - *341 - *16 responses: '202': *39 @@ -42508,7 +42825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *338 + - *341 responses: '204': description: Response @@ -42531,7 +42848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &348 + - &351 name: actor_type in: path description: The type of the actor @@ -42544,14 +42861,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &349 + - &352 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &344 + - &347 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`.' @@ -42559,7 +42876,7 @@ paths: required: true schema: type: string - - &345 + - &348 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) @@ -42653,12 +42970,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *344 - - *345 + - *347 + - *348 - *19 - *17 - *106 - - &354 + - &357 name: sort description: The property to sort the results by. in: query @@ -42737,14 +43054,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *344 - - *345 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: &346 + schema: &349 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42760,7 +43077,7 @@ paths: type: integer format: int64 examples: - default: &347 + default: &350 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42781,23 +43098,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &350 + - &353 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *344 - - *345 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42816,18 +43133,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *344 - - *345 + - *347 - *348 - - *349 + - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: enabledForGitHubApps: true category: orgs @@ -42845,9 +43162,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *344 - - *345 - - &351 + - *347 + - *348 + - &354 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42860,7 +43177,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &355 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42876,7 +43193,7 @@ paths: type: integer format: int64 examples: - default: &353 + default: &356 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42913,18 +43230,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *350 - - *344 - - *345 - - *351 + - *353 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42942,19 +43259,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *348 - - *349 - - *344 - - *345 - *351 + - *352 + - *347 + - *348 + - *354 responses: '200': description: Response content: application/json: - schema: *352 + schema: *355 examples: - default: *353 + default: *356 x-github: enabledForGitHubApps: true category: orgs @@ -42972,13 +43289,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *350 - - *344 - - *345 + - *353 + - *347 + - *348 - *19 - *17 - *106 - - *354 + - *357 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43059,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &653 + default: &655 value: id: 1 account: @@ -43225,12 +43542,12 @@ paths: application/json: schema: anyOf: - - &356 + - &359 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &355 + limit: &358 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43255,7 +43572,7 @@ paths: properties: {} additionalProperties: false examples: - default: &357 + default: &360 value: limit: collaborators_only origin: organization @@ -43284,13 +43601,13 @@ paths: required: true content: application/json: - schema: &654 + schema: &656 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *355 + limit: *358 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43314,9 +43631,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *357 + default: *360 '422': *15 x-github: githubCloudOnly: false @@ -43394,9 +43711,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 '404': *6 @@ -43474,7 +43791,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -43531,7 +43848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &360 + - &363 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43565,7 +43882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *360 + - *363 - *17 - *19 responses: @@ -43575,9 +43892,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: &376 + default: &379 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43620,7 +43937,7 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: default: value: @@ -43705,9 +44022,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: &362 + default: &365 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43740,7 +44057,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &363 + - &366 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43793,9 +44110,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 '404': *6 '422': *7 x-github: @@ -43820,7 +44137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *363 + - *366 responses: '204': description: Response @@ -43883,7 +44200,7 @@ paths: - closed - all default: open - - *364 + - *367 - name: type description: Can be the name of an issue type. in: query @@ -43902,7 +44219,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -43912,9 +44229,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *365 + default: *368 headers: Link: *43 '404': *6 @@ -43974,7 +44291,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '422': *15 @@ -44073,9 +44390,9 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: - default: *367 + default: *370 '304': *37 '500': *40 '401': *25 @@ -44102,7 +44419,7 @@ paths: parameters: - *83 - *138 - - &368 + - &371 name: codespace_name in: path required: true @@ -44137,15 +44454,15 @@ paths: parameters: - *83 - *138 - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: &572 + default: &574 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44401,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: Org Membership description: Org Membership type: object @@ -44468,7 +44785,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &370 + response-if-user-has-an-active-admin-membership-with-organization: &373 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44565,9 +44882,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - response-if-user-already-had-membership-with-organization: *370 + response-if-user-already-had-membership-with-organization: *373 '422': *15 '403': *29 x-github: @@ -44638,7 +44955,7 @@ paths: application/json: schema: type: array - items: &371 + items: &374 title: Migration description: A migration. type: object @@ -44967,7 +45284,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -45146,7 +45463,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &372 + - &375 name: migration_id description: The unique identifier of the migration. in: path @@ -45173,7 +45490,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -45343,7 +45660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *372 + - *375 responses: '302': description: Response @@ -45365,7 +45682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *372 + - *375 responses: '204': description: Response @@ -45389,8 +45706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *372 - - &827 + - *375 + - &829 name: repo_name description: repo_name parameter in: path @@ -45418,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *372 + - *375 - *17 - *19 responses: @@ -45428,9 +45745,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: &383 + default: &386 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45639,7 +45956,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &373 + items: &376 title: Organization Role description: Organization roles type: object @@ -45846,7 +46163,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -45898,7 +46215,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -45924,7 +46241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -45955,7 +46272,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *83 - - *206 + - *209 - *137 responses: '204': @@ -46076,7 +46393,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -46173,7 +46490,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: default: value: @@ -46331,8 +46648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 nullable: true type: description: The ownership type of the team @@ -46364,7 +46681,7 @@ paths: - type - parent examples: - default: *376 + default: *379 headers: Link: *43 '404': @@ -46422,13 +46739,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &431 + items: &433 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 name: nullable: true type: string @@ -46523,7 +46840,7 @@ paths: - type - url examples: - default: *203 + default: *206 headers: Link: *43 '404': @@ -46574,7 +46891,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -46716,7 +47033,7 @@ paths: - nuget - container - *83 - - &828 + - &830 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46752,12 +47069,12 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *378 + default: *381 '403': *29 '401': *25 - '400': &830 + '400': &832 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46779,7 +47096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &379 + - &382 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 @@ -46797,7 +47114,7 @@ paths: - docker - nuget - container - - &380 + - &383 name: package_name description: The name of the package. in: path @@ -46810,7 +47127,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *380 examples: default: value: @@ -46862,8 +47179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *379 - - *380 + - *382 + - *383 - *83 responses: '204': @@ -46896,8 +47213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *379 - - *380 + - *382 + - *383 - *83 - name: token description: package token @@ -46930,8 +47247,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: - - *379 - - *380 + - *382 + - *383 - *83 - *19 - *17 @@ -46952,7 +47269,7 @@ paths: application/json: schema: type: array - items: &381 + items: &384 title: Package Version description: A version of a software package type: object @@ -47077,10 +47394,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: - - *379 - - *380 + - *382 + - *383 - *83 - - &382 + - &385 name: package_version_id description: Unique identifier of the package version. in: path @@ -47092,7 +47409,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -47128,10 +47445,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *379 - - *380 - - *83 - *382 + - *383 + - *83 + - *385 responses: '204': description: Response @@ -47163,10 +47480,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *379 - - *380 - - *83 - *382 + - *383 + - *83 + - *385 responses: '204': description: Response @@ -47196,7 +47513,7 @@ paths: - *83 - *17 - *19 - - &384 + - &387 name: sort description: The property by which to sort the results. in: query @@ -47207,7 +47524,7 @@ paths: - created_at default: created_at - *106 - - &385 + - &388 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47218,7 +47535,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &386 + - &389 name: repository description: The name of the repository to use to filter the results. in: query @@ -47226,7 +47543,7 @@ paths: schema: type: string example: Hello-World - - &387 + - &390 name: permission description: The permission to use to filter the results. in: query @@ -47234,7 +47551,7 @@ paths: schema: type: string example: issues_read - - &388 + - &391 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) @@ -47244,7 +47561,7 @@ paths: schema: type: string format: date-time - - &389 + - &392 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) @@ -47254,7 +47571,7 @@ paths: schema: type: string format: date-time - - &390 + - &393 name: token_id description: The ID of the token in: query @@ -47565,9 +47882,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -47593,14 +47910,14 @@ paths: - *83 - *17 - *19 - - *384 - - *106 - - *385 - - *386 - *387 + - *106 - *388 - *389 - *390 + - *391 + - *392 + - *393 responses: '500': *40 '422': *15 @@ -47880,9 +48197,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -47924,7 +48241,7 @@ paths: type: integer configurations: type: array - items: &391 + items: &394 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47952,12 +48269,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -48049,6 +48380,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -48094,6 +48434,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -48143,11 +48484,24 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry + (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, + Dependabot will only use this registry and will not fall back + to the public registry. When `false` (default), Dependabot will + use this registry for scoped packages but may fall back to the + public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories @@ -48177,7 +48531,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &392 + org-private-registry-with-selected-visibility: &395 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48267,15 +48621,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *391 + schema: *394 examples: - default: *392 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -48297,7 +48651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 requestBody: required: true content: @@ -48334,6 +48688,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -48393,7 +48756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *287 + - *290 responses: '204': description: Response @@ -48439,7 +48802,7 @@ paths: application/json: schema: type: array - items: &393 + items: &396 title: Project description: Projects are a way to organize columns and cards of work. @@ -48612,7 +48975,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -48650,7 +49013,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &475 + '410': &477 description: Gone content: application/json: @@ -48693,7 +49056,7 @@ paths: application/json: schema: type: array - items: &394 + items: &397 title: Projects v2 Project description: A projects v2 project type: object @@ -48763,7 +49126,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &906 + properties: &910 id: type: number description: The unique identifier of the status update. @@ -48811,7 +49174,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &907 + required: &911 - id - node_id - created_at @@ -48836,7 +49199,7 @@ paths: - deleted_at - deleted_by examples: - default: &395 + default: &398 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -48939,7 +49302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &396 + - &399 name: project_number description: The project's number. in: path @@ -48952,9 +49315,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -48976,7 +49339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *396 + - *399 - *83 - *17 - *104 @@ -48988,7 +49351,7 @@ paths: application/json: schema: type: array - items: &397 + items: &400 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49135,9 +49498,9 @@ paths: - updated_at - project_url examples: - default: &398 + default: &849 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -49157,6 +49520,66 @@ paths: description: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' headers: Link: *43 '304': *37 @@ -49178,8 +49601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *396 - - &847 + - *399 + - &850 name: field_id description: The unique identifier of the field. in: path @@ -49192,9 +49615,30 @@ paths: description: Response content: application/json: - schema: *397 + schema: *400 examples: - default: *398 + default: &851 + value: + id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' headers: Link: *43 '304': *37 @@ -49217,7 +49661,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: - - *396 + - *399 - *83 - 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) @@ -49250,7 +49694,7 @@ paths: application/json: schema: type: array - items: &404 + items: &406 title: Projects v2 Item description: An item belonging to a project type: object @@ -49266,7 +49710,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: &402 + content_type: &404 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49316,7 +49760,7 @@ paths: - updated_at - archived_at examples: - default: &405 + default: &407 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50011,7 +50455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *396 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -50048,7 +50492,7 @@ paths: description: Response content: application/json: - schema: &848 + schema: &852 title: Projects v2 Item description: An item belonging to a project type: object @@ -50061,8 +50505,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *223 - - &587 + - *226 + - &589 title: Pull Request Simple description: Pull Request Simple type: object @@ -50168,8 +50612,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true active_lock_reason: type: string @@ -50214,7 +50658,7 @@ paths: nullable: true requested_teams: type: array - items: *304 + items: *307 nullable: true head: type: object @@ -50265,7 +50709,7 @@ paths: _links: type: object properties: - comments: &401 + comments: &403 title: Link description: Hypermedia Link type: object @@ -50274,13 +50718,13 @@ paths: type: string required: - href - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + commits: *403 + statuses: *403 + html: *403 + issue: *403 + review_comments: *403 + review_comment: *403 + self: *403 required: - comments - commits @@ -50290,8 +50734,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: &701 + author_association: *213 + auto_merge: &703 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50393,7 +50837,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *402 + content_type: *404 creator: *4 created_at: type: string @@ -50426,7 +50870,7 @@ paths: - updated_at - archived_at examples: - issue: &403 + issue: &405 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50481,7 +50925,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *403 + pull_request: *405 '304': *37 '403': *29 '401': *25 @@ -50501,9 +50945,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: - - *396 + - *399 - *83 - - &406 + - &408 name: item_id description: The unique identifier of the project item. in: path @@ -50529,9 +50973,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -50552,9 +50996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *396 + - *399 - *83 - - *406 + - *408 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50624,13 +51068,13 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - text_field: *405 - number_field: *405 - date_field: *405 - single_select_field: *405 - iteration_field: *405 + text_field: *407 + number_field: *407 + date_field: *407 + single_select_field: *407 + iteration_field: *407 '401': *25 '403': *29 '404': *6 @@ -50650,9 +51094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *396 + - *399 - *83 - - *406 + - *408 responses: '204': description: Response @@ -50815,7 +51259,7 @@ paths: required: true content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -51040,7 +51484,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -51178,9 +51622,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -51383,7 +51827,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &479 title: Full Repository description: Full Repository type: object @@ -51660,8 +52104,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *408 - required: *409 + properties: *410 + required: *411 nullable: true temp_clone_token: type: string @@ -51748,8 +52192,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -51776,7 +52220,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &592 + properties: &594 url: type: string format: uri @@ -51792,12 +52236,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &593 + required: &595 - url - key - name - html_url - security_and_analysis: *410 + security_and_analysis: *412 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51881,7 +52325,7 @@ paths: - network_count - subscribers_count examples: - default: &479 + default: &481 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52407,9 +52851,9 @@ paths: application/json: schema: type: array - items: *411 + items: *413 examples: - default: *412 + default: *414 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52434,7 +52878,7 @@ paths: - *83 - *17 - *19 - - &724 + - &726 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52525,11 +52969,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *413 + conditions: *415 rules: type: array description: An array of rules within the ruleset. - items: &415 + items: &417 title: Repository Rule type: object description: A repository rule. @@ -52593,7 +53037,7 @@ paths: application/json: schema: *185 examples: - default: &414 + default: &416 value: id: 21 name: super cool ruleset @@ -52648,7 +53092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &726 + - &728 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 @@ -52658,16 +53102,16 @@ paths: schema: type: string x-multi-segment: true - - *301 + - *304 - *101 - - &727 + - &729 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 - - &728 + - &730 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52687,7 +53131,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &731 title: Rule Suites description: Response type: array @@ -52742,7 +53186,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &730 + default: &732 value: - id: 21 actor_id: 12 @@ -52786,7 +53230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &731 + - &733 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52802,7 +53246,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &734 title: Rule Suite description: Response type: object @@ -52901,7 +53345,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &733 + default: &735 value: id: 21 actor_id: 12 @@ -52976,7 +53420,7 @@ paths: application/json: schema: *185 examples: - default: *414 + default: *416 '404': *6 '500': *40 put: @@ -53025,11 +53469,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *413 + conditions: *415 rules: description: An array of rules within the ruleset. type: array - items: *415 + items: *417 examples: default: value: @@ -53066,7 +53510,7 @@ paths: application/json: schema: *185 examples: - default: *414 + default: *416 '404': *6 '500': *40 delete: @@ -53125,7 +53569,7 @@ paths: type: array items: *189 examples: - default: *416 + default: *418 '404': *6 '500': *40 x-github: @@ -53162,7 +53606,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *419 examples: default: value: @@ -53225,14 +53669,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *418 - - *419 - *420 - *421 + - *422 + - *423 - *106 - *19 - *17 - - &735 + - &737 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 @@ -53242,7 +53686,7 @@ paths: required: false schema: type: string - - &736 + - &738 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 @@ -53252,10 +53696,10 @@ paths: required: false schema: type: string - - *422 - - *423 - *424 - *425 + - *426 + - *427 responses: '200': description: Response @@ -53263,9 +53707,9 @@ paths: application/json: schema: type: array - items: *426 + items: *428 examples: - default: *427 + default: *429 headers: Link: *43 '404': *6 @@ -53300,9 +53744,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *430 examples: - default: *429 + default: *431 '403': *29 '404': *6 patch: @@ -53455,7 +53899,7 @@ paths: application/json: schema: type: array - items: &757 + items: &759 description: A repository security advisory. type: object properties: @@ -53675,7 +54119,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 credits_detailed: type: array nullable: true @@ -53685,7 +54129,7 @@ paths: type: object properties: user: *4 - type: *430 + type: *432 state: type: string description: The state of the user's acceptance of the @@ -53709,7 +54153,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *304 + items: *307 private_fork: readOnly: true nullable: true @@ -53746,7 +54190,7 @@ paths: - private_fork additionalProperties: false examples: - default: &758 + default: &760 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54133,9 +54577,9 @@ paths: application/json: schema: type: array - items: *431 + items: *433 examples: - default: *376 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54159,7 +54603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54185,7 +54629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -54220,9 +54664,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54247,7 +54691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *434 + - *436 - *17 - *19 responses: @@ -54255,9 +54699,9 @@ paths: description: Success content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54285,9 +54729,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54315,9 +54759,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54461,9 +54905,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *291 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54532,7 +54976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -54555,7 +54999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *271 + - *274 responses: '204': description: Response @@ -54598,7 +55042,7 @@ paths: type: array items: *143 examples: - default: *441 + default: *443 headers: Link: *43 x-github: @@ -54799,15 +55243,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: - *83 - - *442 + - *444 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 headers: Link: *43 x-github: @@ -54845,7 +55289,7 @@ paths: description: Response content: application/json: - schema: &466 + schema: &468 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -54891,7 +55335,7 @@ paths: type: string nullable: true examples: - default: &467 + default: &469 value: groups: - group_id: '123' @@ -54937,7 +55381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *83 - - *206 + - *209 - 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`). @@ -54969,13 +55413,13 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 '500': *40 '403': *29 '404': *6 - '422': *200 + '422': *203 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55003,9 +55447,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 headers: Link: *43 '403': *29 @@ -55099,7 +55543,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &447 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55162,8 +55606,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *374 - required: *375 + properties: *377 + required: *378 nullable: true members_count: type: integer @@ -55426,7 +55870,7 @@ paths: - repos_count - organization examples: - default: &446 + default: &448 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55497,15 +55941,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -55527,7 +55971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *83 - - *206 + - *209 requestBody: required: false content: @@ -55589,16 +56033,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '201': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 '403': *29 @@ -55624,7 +56068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -55651,7 +56095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *83 - - *206 + - *209 - *106 - *17 - *19 @@ -55668,7 +56112,7 @@ paths: application/json: schema: type: array - items: &447 + items: &449 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -55747,7 +56191,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *211 + reactions: *214 required: - author - body @@ -55767,7 +56211,7 @@ paths: - updated_at - url examples: - default: &801 + default: &803 value: - author: login: octocat @@ -55842,7 +56286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -55876,9 +56320,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: author: login: octocat @@ -55951,8 +56395,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *83 - - *206 - - &449 + - *209 + - &451 name: discussion_number description: The number that identifies the discussion. in: path @@ -55964,9 +56408,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55989,8 +56433,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: false content: @@ -56013,9 +56457,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &802 + default: &804 value: author: login: octocat @@ -56086,8 +56530,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 responses: '204': description: Response @@ -56114,8 +56558,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *83 - - *206 - - *449 + - *209 + - *451 - *106 - *17 - *19 @@ -56126,7 +56570,7 @@ paths: application/json: schema: type: array - items: &450 + items: &452 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56183,7 +56627,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *211 + reactions: *214 required: - author - body @@ -56198,7 +56642,7 @@ paths: - updated_at - url examples: - default: &803 + default: &805 value: - author: login: octocat @@ -56267,8 +56711,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: true content: @@ -56290,9 +56734,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: &451 + default: &453 value: author: login: octocat @@ -56359,9 +56803,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *83 - - *206 - - *449 - - &452 + - *209 + - *451 + - &454 name: comment_number description: The number that identifies the comment. in: path @@ -56373,9 +56817,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56398,9 +56842,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 requestBody: required: true content: @@ -56422,9 +56866,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: &804 + default: &806 value: author: login: octocat @@ -56489,9 +56933,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 responses: '204': description: Response @@ -56518,9 +56962,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56546,7 +56990,7 @@ paths: application/json: schema: type: array - items: &453 + items: &455 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -56589,7 +57033,7 @@ paths: - content - created_at examples: - default: &455 + default: &457 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56640,9 +57084,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *83 - - *206 - - *449 - - *452 + - *209 + - *451 + - *454 requestBody: required: true content: @@ -56675,9 +57119,9 @@ paths: team discussion comment content: application/json: - schema: *453 + schema: *455 examples: - default: &454 + default: &456 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -56706,9 +57150,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56732,10 +57176,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *83 - - *206 - - *449 - - *452 - - &456 + - *209 + - *451 + - *454 + - &458 name: reaction_id description: The unique identifier of the reaction. in: path @@ -56768,8 +57212,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -56795,9 +57239,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -56824,8 +57268,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *83 - - *206 - - *449 + - *209 + - *451 requestBody: required: true content: @@ -56857,16 +57301,16 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56890,9 +57334,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *83 - - *206 - - *449 - - *456 + - *209 + - *451 + - *458 responses: '204': description: Response @@ -56916,15 +57360,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56944,7 +57388,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -56967,9 +57411,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56989,7 +57433,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *83 - - *206 + - *209 responses: '204': description: Response @@ -57014,7 +57458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57024,9 +57468,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 x-github: @@ -57049,7 +57493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *83 - - *206 + - *209 - name: role description: Filters members returned by their role in the team. in: query @@ -57072,7 +57516,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -57103,14 +57547,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '200': description: Response content: application/json: - schema: &461 + schema: &463 title: Team Membership description: Team Membership type: object @@ -57137,7 +57581,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &805 + response-if-user-is-a-team-maintainer: &807 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57174,7 +57618,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 requestBody: required: false @@ -57200,9 +57644,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-users-membership-with-team-is-now-pending: &806 + response-if-users-membership-with-team-is-now-pending: &808 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57238,7 +57682,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *83 - - *206 + - *209 - *138 responses: '204': @@ -57265,7 +57709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57275,7 +57719,7 @@ paths: application/json: schema: type: array - items: &462 + items: &464 title: Team Project description: A team's access to a project. type: object @@ -57343,7 +57787,7 @@ paths: - updated_at - permissions examples: - default: &807 + default: &809 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57407,8 +57851,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *83 - - *206 - - &463 + - *209 + - &465 name: project_id description: The unique identifier of the project. in: path @@ -57420,9 +57864,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: &808 + default: &810 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57485,8 +57929,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *83 - - *206 - - *463 + - *209 + - *465 requestBody: required: false content: @@ -57553,8 +57997,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *83 - - *206 - - *463 + - *209 + - *465 responses: '204': description: Response @@ -57582,7 +58026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -57592,9 +58036,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -57624,15 +58068,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &809 + schema: &811 title: Team Repository description: A team's access to a repository. type: object @@ -57655,8 +58099,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true forks: type: integer @@ -58202,9 +58646,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 requestBody: required: false content: @@ -58250,9 +58694,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *83 - - *206 - - *464 - - *465 + - *209 + - *466 + - *467 responses: '204': description: Response @@ -58279,15 +58723,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *83 - - *206 + - *209 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58310,7 +58754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *83 - - *206 + - *209 requestBody: required: true content: @@ -58353,7 +58797,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -58386,7 +58830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *83 - - *206 + - *209 - *17 - *19 responses: @@ -58396,9 +58840,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - response-if-child-teams-exist: &810 + response-if-child-teams-exist: &812 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58525,7 +58969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &468 + - &470 name: card_id description: The unique identifier of the card. in: path @@ -58537,7 +58981,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &471 title: Project Card description: Project cards represent a scope of work. type: object @@ -58604,7 +59048,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &472 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -58660,7 +59104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *468 + - *470 requestBody: required: false content: @@ -58687,9 +59131,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '304': *37 '403': *29 '401': *25 @@ -58716,7 +59160,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *468 + - *470 responses: '204': description: Response @@ -58760,7 +59204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *468 + - *470 requestBody: required: true content: @@ -58871,7 +59315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &471 + - &473 name: column_id description: The unique identifier of the column. in: path @@ -58883,7 +59327,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 title: Project Column description: Project columns contain cards of work. type: object @@ -58929,7 +59373,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &475 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -58964,7 +59408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *471 + - *473 requestBody: required: true content: @@ -58988,9 +59432,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 '304': *37 '403': *29 '401': *25 @@ -59015,7 +59459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *471 + - *473 responses: '204': description: Response @@ -59044,7 +59488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *471 + - *473 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59065,7 +59509,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -59124,7 +59568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *471 + - *473 requestBody: required: true content: @@ -59164,9 +59608,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *471 examples: - default: *470 + default: *472 '304': *37 '403': *29 '401': *25 @@ -59176,8 +59620,8 @@ paths: application/json: schema: oneOf: - - *252 - - *253 + - *255 + - *256 '503': description: Response content: @@ -59222,7 +59666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *471 + - *473 requestBody: required: true content: @@ -59282,15 +59726,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *463 + - *465 responses: '200': description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: &474 + default: &476 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59347,7 +59791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *463 + - *465 requestBody: required: false content: @@ -59393,9 +59837,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *474 + default: *476 '404': description: Not Found if the authenticated user does not have access to the project @@ -59416,7 +59860,7 @@ paths: items: type: string '401': *25 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -59439,7 +59883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *463 + - *465 responses: '204': description: Delete Success @@ -59460,7 +59904,7 @@ paths: items: type: string '401': *25 - '410': *475 + '410': *477 '404': *6 x-github: githubCloudOnly: false @@ -59484,7 +59928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *463 + - *465 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -59511,7 +59955,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -59541,7 +59985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *463 + - *465 - *138 requestBody: required: false @@ -59594,7 +60038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *463 + - *465 - *138 responses: '204': @@ -59626,7 +60070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *463 + - *465 - *138 responses: '200': @@ -59727,7 +60171,7 @@ paths: resources: type: object properties: - core: &476 + core: &478 title: Rate Limit type: object properties: @@ -59744,21 +60188,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: *478 + search: *478 + code_search: *478 + source_import: *478 + integration_manifest: *478 + code_scanning_upload: *478 + actions_runner_registration: *478 + scim: *478 + dependency_snapshots: *478 + dependency_sbom: *478 + code_scanning_autofix: *478 required: - core - search - rate: *476 + rate: *478 required: - rate - resources @@ -59863,14 +60307,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *477 + schema: *479 examples: default-response: summary: Default response @@ -60375,7 +60819,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *478 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60393,8 +60837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -60651,10 +61095,10 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 - '307': &480 + default: *481 + '307': &482 description: Temporary Redirect content: application/json: @@ -60683,8 +61127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -60706,7 +61150,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': *482 '404': *6 '409': *114 x-github: @@ -60730,11 +61174,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &495 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60757,7 +61201,7 @@ paths: type: integer artifacts: type: array - items: &481 + items: &483 title: Artifact description: An artifact type: object @@ -60835,7 +61279,7 @@ paths: - expires_at - updated_at examples: - default: &496 + default: &498 value: total_count: 2 artifacts: @@ -60896,9 +61340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *464 - - *465 - - &482 + - *466 + - *467 + - &484 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60910,7 +61354,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *483 examples: default: value: @@ -60948,9 +61392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 responses: '204': description: Response @@ -60974,9 +61418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *464 - - *465 - - *482 + - *466 + - *467 + - *484 - name: archive_format in: path required: true @@ -60990,7 +61434,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': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61013,14 +61457,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -61046,11 +61490,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: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - - &484 + - &486 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 @@ -61084,7 +61528,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: Repository actions caches description: Repository actions caches type: object @@ -61126,7 +61570,7 @@ paths: - total_count - actions_caches examples: - default: &486 + default: &488 value: total_count: 1 actions_caches: @@ -61158,23 +61602,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: - - *464 - - *465 + - *466 + - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *484 + - *486 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61194,8 +61638,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: - - *464 - - *465 + - *466 + - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61226,9 +61670,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: - - *464 - - *465 - - &487 + - *466 + - *467 + - &489 name: job_id description: The unique identifier of the job. in: path @@ -61240,7 +61684,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -61547,9 +61991,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: - - *464 - - *465 - - *487 + - *466 + - *467 + - *489 responses: '302': description: Response @@ -61577,9 +62021,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: - - *464 - - *465 - - *487 + - *466 + - *467 + - *489 requestBody: required: false content: @@ -61600,7 +62044,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -61624,8 +62068,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Status response @@ -61675,8 +62119,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -61710,7 +62154,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -61739,8 +62183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -61758,7 +62202,7 @@ paths: type: integer secrets: type: array - items: &501 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61778,7 +62222,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &504 value: total_count: 2 secrets: @@ -61811,9 +62255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *19 responses: '200': @@ -61830,7 +62274,7 @@ paths: type: integer variables: type: array - items: &505 + items: &507 title: Actions Variable type: object properties: @@ -61860,7 +62304,7 @@ paths: - created_at - updated_at examples: - default: &506 + default: &508 value: total_count: 2 variables: @@ -61893,8 +62337,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -61903,11 +62347,11 @@ paths: schema: type: object properties: - enabled: &489 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *264 + selected_actions_url: *267 sha_pinning_required: *57 required: - enabled @@ -61938,8 +62382,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -61950,7 +62394,7 @@ paths: schema: type: object properties: - enabled: *489 + enabled: *491 allowed_actions: *56 sha_pinning_required: *57 required: @@ -61983,14 +62427,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &490 + schema: &492 type: object properties: access_level: @@ -62008,7 +62452,7 @@ paths: required: - access_level examples: - default: &491 + default: &493 value: access_level: organization x-github: @@ -62033,15 +62477,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 responses: '204': description: Response @@ -62065,14 +62509,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -62096,8 +62540,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Empty response for successful settings update @@ -62107,7 +62551,7 @@ paths: required: true content: application/json: - schema: *267 + schema: *270 examples: default: summary: Set retention days @@ -62131,8 +62575,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62140,7 +62584,7 @@ paths: application/json: schema: *58 examples: - default: *268 + default: *271 '404': *6 x-github: enabledForGitHubApps: true @@ -62159,8 +62603,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -62194,14 +62638,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *269 + schema: *272 examples: default: *59 '403': *29 @@ -62223,13 +62667,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *270 + schema: *273 examples: default: *59 responses: @@ -62255,8 +62699,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62287,8 +62731,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -62320,14 +62764,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *273 + schema: *276 examples: default: *65 x-github: @@ -62350,8 +62794,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Success response @@ -62362,7 +62806,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *277 examples: default: *65 x-github: @@ -62391,8 +62835,8 @@ paths: in: query schema: type: string - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -62436,8 +62880,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -62445,9 +62889,9 @@ paths: application/json: schema: type: array - items: *278 + items: *281 examples: - default: *279 + default: *282 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62469,8 +62913,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -62513,7 +62957,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *280 + '201': *283 '404': *6 '422': *7 '409': *114 @@ -62544,8 +62988,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: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -62553,7 +62997,7 @@ paths: application/json: schema: *75 examples: - default: *281 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62581,8 +63025,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: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -62590,7 +63034,7 @@ paths: application/json: schema: *75 examples: - default: *282 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62612,8 +63056,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '200': @@ -62622,7 +63066,7 @@ paths: application/json: schema: *72 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62643,8 +63087,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '204': @@ -62671,8 +63115,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: - - *464 - - *465 + - *466 + - *467 - *71 responses: '200': *77 @@ -62697,8 +63141,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: - - *464 - - *465 + - *466 + - *467 - *71 requestBody: required: true @@ -62747,8 +63191,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: - - *464 - - *465 + - *466 + - *467 - *71 requestBody: required: true @@ -62798,11 +63242,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *71 responses: - '200': *284 + '200': *287 '404': *6 x-github: githubCloudOnly: false @@ -62829,10 +63273,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *71 - - *285 + - *288 responses: '200': *77 '404': *6 @@ -62860,9 +63304,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: - - *464 - - *465 - - &509 + - *466 + - *467 + - &511 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. @@ -62870,7 +63314,7 @@ paths: required: false schema: type: string - - &510 + - &512 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62878,7 +63322,7 @@ paths: required: false schema: type: string - - &511 + - &513 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62887,7 +63331,7 @@ paths: required: false schema: type: string - - &512 + - &514 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 @@ -62914,7 +63358,7 @@ paths: - pending - *17 - *19 - - &513 + - &515 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)." @@ -62923,7 +63367,7 @@ paths: schema: type: string format: date-time - - &492 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62932,13 +63376,13 @@ paths: schema: type: boolean default: false - - &514 + - &516 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &515 + - &517 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62961,7 +63405,7 @@ paths: type: integer workflow_runs: type: array - items: &493 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -63056,7 +63500,7 @@ paths: that triggered the run. type: array nullable: true - items: &534 + items: &536 title: Pull Request Minimal type: object properties: @@ -63175,7 +63619,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &538 + properties: &540 id: type: string description: SHA for the commit @@ -63226,7 +63670,7 @@ paths: - name - email nullable: true - required: &539 + required: &541 - id - tree_id - message @@ -63234,8 +63678,8 @@ paths: - author - committer nullable: true - repository: *277 - head_repository: *277 + repository: *280 + head_repository: *280 head_repository_id: type: integer example: 5 @@ -63273,7 +63717,7 @@ paths: - workflow_url - pull_requests examples: - default: &516 + default: &518 value: total_count: 1 workflow_runs: @@ -63509,24 +63953,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *464 - - *465 - - &494 + - *466 + - *467 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *492 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: &497 + default: &499 value: id: 30433642 name: Build @@ -63767,9 +64211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '204': description: Response @@ -63792,9 +64236,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -63913,15 +64357,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -63948,12 +64392,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 - *17 - *19 - - *495 + - *497 responses: '200': description: Response @@ -63969,9 +64413,9 @@ paths: type: integer artifacts: type: array - items: *481 + items: *483 examples: - default: *496 + default: *498 headers: Link: *43 x-github: @@ -63995,25 +64439,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *464 - - *465 - - *494 - - &498 + - *466 + - *467 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *492 + - *494 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64036,10 +64480,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: - - *464 - - *465 - - *494 - - *498 + - *466 + - *467 + - *496 + - *500 - *17 - *19 responses: @@ -64057,9 +64501,9 @@ paths: type: integer jobs: type: array - items: *499 + items: *501 examples: - default: &500 + default: &502 value: total_count: 1 jobs: @@ -64172,10 +64616,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *464 - - *465 - - *494 - - *498 + - *466 + - *467 + - *496 + - *500 responses: '302': description: Response @@ -64203,15 +64647,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '202': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64238,9 +64682,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: true content: @@ -64307,15 +64751,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '202': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64342,9 +64786,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 - 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 @@ -64374,9 +64818,9 @@ paths: type: integer jobs: type: array - items: *499 + items: *501 examples: - default: *500 + default: *502 headers: Link: *43 x-github: @@ -64401,9 +64845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '302': description: Response @@ -64430,9 +64874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '204': description: Response @@ -64459,9 +64903,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -64521,7 +64965,7 @@ paths: items: type: object properties: - type: &623 + type: &625 type: string description: The type of reviewer. enum: @@ -64531,7 +64975,7 @@ paths: reviewer: anyOf: - *4 - - *304 + - *307 required: - environment - wait_timer @@ -64606,9 +65050,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: true content: @@ -64655,7 +65099,7 @@ paths: application/json: schema: type: array - items: &609 + items: &611 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64743,8 +65187,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -64761,7 +65205,7 @@ paths: - created_at - updated_at examples: - default: &610 + default: &612 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64817,9 +65261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: false content: @@ -64840,7 +65284,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64863,9 +65307,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: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 requestBody: required: false content: @@ -64886,7 +65330,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -64919,9 +65363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *464 - - *465 - - *494 + - *466 + - *467 + - *496 responses: '200': description: Response @@ -65058,8 +65502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -65077,9 +65521,9 @@ paths: type: integer secrets: type: array - items: *501 + items: *503 examples: - default: *502 + default: *504 headers: Link: *43 x-github: @@ -65104,16 +65548,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65135,17 +65579,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &636 + default: &638 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65171,9 +65615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -65204,7 +65648,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -65230,9 +65674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -65257,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *464 - - *465 - - *488 + - *466 + - *467 + - *490 - *19 responses: '200': @@ -65276,9 +65720,9 @@ paths: type: integer variables: type: array - items: *505 + items: *507 examples: - default: *506 + default: *508 headers: Link: *43 x-github: @@ -65301,8 +65745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -65329,7 +65773,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -65354,17 +65798,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: &637 + default: &639 value: name: USERNAME value: octocat @@ -65390,9 +65834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 requestBody: required: true content: @@ -65434,9 +65878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *464 - - *465 - - *290 + - *466 + - *467 + - *293 responses: '204': description: Response @@ -65461,8 +65905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -65480,7 +65924,7 @@ paths: type: integer workflows: type: array - items: &507 + items: &509 title: Workflow description: A GitHub Actions workflow type: object @@ -65587,9 +66031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *464 - - *465 - - &508 + - *466 + - *467 + - &510 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65604,7 +66048,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *509 examples: default: value: @@ -65637,9 +66081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65664,9 +66108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65717,9 +66161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '204': description: Response @@ -65746,19 +66190,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: - - *464 - - *465 - - *508 - - *509 + - *466 + - *467 - *510 - *511 - *512 - - *17 - - *19 - *513 - - *492 - *514 + - *17 + - *19 - *515 + - *494 + - *516 + - *517 responses: '200': description: Response @@ -65774,9 +66218,9 @@ paths: type: integer workflow_runs: type: array - items: *493 + items: *495 examples: - default: *516 + default: *518 headers: Link: *43 x-github: @@ -65809,9 +66253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *464 - - *465 - - *508 + - *466 + - *467 + - *510 responses: '200': description: Response @@ -65872,8 +66316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *464 - - *465 + - *466 + - *467 - *106 - *17 - *104 @@ -66037,8 +66481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -66050,7 +66494,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -66075,8 +66519,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: - - *464 - - *465 + - *466 + - *467 - name: assignee in: path required: true @@ -66112,8 +66556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66225,8 +66669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *104 - *105 @@ -66283,7 +66727,7 @@ paths: initiator: type: string examples: - default: *517 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66303,8 +66747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -66312,7 +66756,7 @@ paths: application/json: schema: type: array - items: &518 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -66366,8 +66810,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -66406,9 +66850,9 @@ paths: description: response content: application/json: - schema: *518 + schema: *520 examples: - default: &519 + default: &521 value: id: 1 key_prefix: TICKET- @@ -66439,9 +66883,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: - - *464 - - *465 - - &520 + - *466 + - *467 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66453,9 +66897,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *519 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -66475,9 +66919,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: - - *464 - - *465 - - *520 + - *466 + - *467 + - *522 responses: '204': description: Response @@ -66501,8 +66945,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if Dependabot is enabled @@ -66550,8 +66994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -66572,8 +67016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -66593,8 +67037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *464 - - *465 + - *466 + - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66632,7 +67076,7 @@ paths: - url protected: type: boolean - protection: &522 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -66674,7 +67118,7 @@ paths: required: - contexts - checks - enforce_admins: &525 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66689,7 +67133,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &527 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66710,7 +67154,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *304 + items: *307 apps: description: The list of apps with review dismissal access. @@ -66739,7 +67183,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *304 + items: *307 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66765,7 +67209,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &524 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66828,7 +67272,7 @@ paths: type: string teams: type: array - items: *304 + items: *307 apps: type: array items: @@ -67042,9 +67486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *464 - - *465 - - &523 + - *466 + - *467 + - &525 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). @@ -67058,14 +67502,14 @@ paths: description: Response content: application/json: - schema: &533 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &583 + commit: &585 title: Commit description: Commit type: object @@ -67099,7 +67543,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &521 + properties: &523 name: type: string example: '"Chris Wanstrath"' @@ -67114,7 +67558,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true message: type: string @@ -67135,7 +67579,7 @@ paths: required: - sha - url - verification: &643 + verification: &645 title: Verification type: object properties: @@ -67169,12 +67613,12 @@ paths: nullable: true oneOf: - *4 - - *288 + - *291 committer: nullable: true oneOf: - *4 - - *288 + - *291 parents: type: array items: @@ -67205,7 +67649,7 @@ paths: type: integer files: type: array - items: &596 + items: &598 title: Diff Entry description: Diff Entry type: object @@ -67289,7 +67733,7 @@ paths: - self protected: type: boolean - protection: *522 + protection: *524 protection_url: type: string format: uri @@ -67396,7 +67840,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *478 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -67418,15 +67862,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -67620,9 +68064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -67877,7 +68321,7 @@ paths: url: type: string format: uri - required_status_checks: &530 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -67953,7 +68397,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 apps: type: array items: *5 @@ -67971,7 +68415,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 apps: type: array items: *5 @@ -68029,7 +68473,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *524 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -68141,9 +68585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68168,17 +68612,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &526 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68200,17 +68644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68229,9 +68673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68256,17 +68700,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: &528 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68362,9 +68806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68462,9 +68906,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *529 examples: - default: *528 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -68485,9 +68929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68514,17 +68958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68547,17 +68991,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *529 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -68577,9 +69021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68604,17 +69048,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: &531 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68640,9 +69084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68694,9 +69138,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *532 examples: - default: *531 + default: *533 '404': *6 '422': *15 x-github: @@ -68718,9 +69162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -68744,9 +69188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -68780,9 +69224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68849,9 +69293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -68915,9 +69359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: content: application/json: @@ -68983,15 +69427,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: default: value: @@ -69082,9 +69526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '204': description: Response @@ -69107,9 +69551,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69119,7 +69563,7 @@ paths: type: array items: *5 examples: - default: &532 + default: &534 value: - id: 1 slug: octoapp @@ -69176,9 +69620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69212,7 +69656,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69233,9 +69677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69269,7 +69713,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69290,9 +69734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69326,7 +69770,7 @@ paths: type: array items: *5 examples: - default: *532 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -69348,9 +69792,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69358,9 +69802,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -69380,9 +69824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -69418,9 +69862,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69441,9 +69885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: false content: @@ -69479,9 +69923,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69502,9 +69946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: content: application/json: @@ -69539,9 +69983,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -69563,9 +70007,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: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 responses: '200': description: Response @@ -69575,7 +70019,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '404': *6 x-github: githubCloudOnly: false @@ -69599,9 +70043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69634,7 +70078,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69659,9 +70103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69694,7 +70138,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69719,9 +70163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69754,7 +70198,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '422': *15 x-github: githubCloudOnly: false @@ -69781,9 +70225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 requestBody: required: true content: @@ -69805,7 +70249,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -69919,8 +70363,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 @@ -69934,9 +70378,9 @@ paths: application/json: schema: type: array - items: *299 + items: *302 examples: - default: *300 + default: *303 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69956,8 +70400,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -69971,7 +70415,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *302 examples: default: value: @@ -70030,8 +70474,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 @@ -70045,9 +70489,9 @@ paths: application/json: schema: type: array - items: *302 + items: *305 examples: - default: *303 + default: *306 '404': *6 '403': *29 '500': *40 @@ -70071,8 +70515,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -70084,7 +70528,7 @@ paths: description: A single bypass request. content: application/json: - schema: *302 + schema: *305 examples: default: value: @@ -70142,8 +70586,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_request_number in: path required: true @@ -70214,8 +70658,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *464 - - *465 + - *466 + - *467 - name: bypass_response_id in: path required: true @@ -70248,8 +70692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -70528,7 +70972,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &537 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70639,16 +71083,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 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: *534 - deployment: &864 + items: *536 + deployment: &868 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70715,8 +71159,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -70928,9 +71372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *464 - - *465 - - &536 + - *466 + - *467 + - &538 name: check_run_id description: The unique identifier of the check run. in: path @@ -70942,9 +71386,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: &537 + default: &539 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71044,9 +71488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 requestBody: required: true content: @@ -71286,9 +71730,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71308,9 +71752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 - *17 - *19 responses: @@ -71405,15 +71849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *464 - - *465 - - *536 + - *466 + - *467 + - *538 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -71451,8 +71895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71474,7 +71918,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &540 + schema: &542 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71538,7 +71982,7 @@ paths: nullable: true pull_requests: type: array - items: *534 + items: *536 nullable: true app: title: GitHub app @@ -71549,9 +71993,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - repository: *277 + properties: *211 + required: *212 + repository: *280 created_at: type: string format: date-time @@ -71560,12 +72004,12 @@ paths: type: string format: date-time nullable: true - head_commit: &890 + head_commit: &894 title: Simple Commit description: A commit. type: object - properties: *538 - required: *539 + properties: *540 + required: *541 latest_check_runs_count: type: integer check_runs_url: @@ -71593,7 +72037,7 @@ paths: - check_runs_url - pull_requests examples: - default: &541 + default: &543 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71884,9 +72328,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71905,8 +72349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -71967,7 +72411,7 @@ paths: required: - app_id - setting - repository: *277 + repository: *280 examples: default: value: @@ -72215,9 +72659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *464 - - *465 - - &542 + - *466 + - *467 + - &544 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72229,9 +72673,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72254,17 +72698,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: - - *464 - - *465 - - *542 - - &589 + - *466 + - *467 + - *544 + - &591 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &590 + - &592 name: status description: Returns check runs with the specified `status`. in: query @@ -72303,9 +72747,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *537 examples: - default: &591 + default: &593 value: total_count: 1 check_runs: @@ -72407,15 +72851,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *464 - - *465 - - *542 + - *466 + - *467 + - *544 responses: '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -72442,21 +72886,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: - - *464 - - *465 - - *308 - - *309 + - *466 + - *467 + - *311 + - *312 - *19 - *17 - - &558 + - &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: *543 - - &559 + schema: *545 + - &561 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72481,13 +72925,13 @@ paths: be returned. in: query required: false - schema: *310 + schema: *313 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *544 + schema: *546 responses: '200': description: Response @@ -72503,7 +72947,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *545 + instances_url: *547 state: *109 fixed_at: *133 dismissed_by: @@ -72514,11 +72958,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *546 - dismissed_comment: *547 - rule: *548 - tool: *549 - most_recent_instance: *550 + dismissed_reason: *548 + dismissed_comment: *549 + rule: *550 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72644,7 +73088,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &551 + '403': &553 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -72671,9 +73115,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: - - *464 - - *465 - - &552 + - *466 + - *467 + - &554 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72687,7 +73131,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &555 type: object properties: number: *123 @@ -72695,7 +73139,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *545 + instances_url: *547 state: *109 fixed_at: *133 dismissed_by: @@ -72706,8 +73150,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *548 + dismissed_comment: *549 rule: type: object properties: @@ -72761,8 +73205,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *549 - most_recent_instance: *550 + tool: *551 + most_recent_instance: *552 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -72861,7 +73305,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -72881,9 +73325,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: true content: @@ -72898,8 +73342,8 @@ paths: enum: - open - dismissed - dismissed_reason: *546 - dismissed_comment: *547 + dismissed_reason: *548 + dismissed_comment: *549 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72918,7 +73362,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: default: value: @@ -72994,7 +73438,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &557 + '403': &559 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73021,15 +73465,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 responses: '200': description: Response content: application/json: - schema: &554 + schema: &556 type: object properties: status: @@ -73055,13 +73499,13 @@ paths: - description - started_at examples: - default: &555 + default: &557 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &556 + '400': &558 description: Bad Request content: application/json: @@ -73072,7 +73516,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': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73097,29 +73541,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 responses: '200': description: OK content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '202': description: Accepted content: application/json: - schema: *554 + schema: *556 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *556 + '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 @@ -73151,9 +73595,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: false content: @@ -73198,8 +73642,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *556 - '403': *557 + '400': *558 + '403': *559 '404': *6 '422': description: Unprocessable Entity @@ -73223,13 +73667,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 - *19 - *17 - - *558 - - *559 + - *560 + - *561 responses: '200': description: Response @@ -73237,7 +73681,7 @@ paths: application/json: schema: type: array - items: *550 + items: *552 examples: default: value: @@ -73276,7 +73720,7 @@ paths: end_column: 50 classifications: - source - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73310,25 +73754,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: - - *464 - - *465 - - *308 - - *309 + - *466 + - *467 + - *311 + - *312 - *19 - *17 - - *559 + - *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: *543 + schema: *545 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &562 + schema: &564 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73349,23 +73793,23 @@ paths: application/json: schema: type: array - items: &563 + items: &565 type: object properties: - ref: *543 - commit_sha: &571 + ref: *545 + commit_sha: &573 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: *560 + analysis_key: *562 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *561 + category: *563 error: type: string example: error reading field xyz @@ -73389,8 +73833,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *562 - tool: *549 + sarif_id: *564 + tool: *551 deletable: type: boolean warning: @@ -73451,7 +73895,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73487,8 +73931,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: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73501,7 +73945,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *565 examples: response: summary: application/json response @@ -73555,7 +73999,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *551 + '403': *553 '404': *6 '422': description: Response if analysis could not be processed @@ -73642,8 +74086,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: - - *464 - - *465 + - *466 + - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73696,7 +74140,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': *557 + '403': *559 '404': *6 '503': *190 x-github: @@ -73718,8 +74162,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -73727,7 +74171,7 @@ paths: application/json: schema: type: array - items: &564 + items: &566 title: CodeQL Database description: A CodeQL database. type: object @@ -73838,7 +74282,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': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73867,8 +74311,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: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -73880,7 +74324,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: default: value: @@ -73912,9 +74356,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': &598 + '302': &600 description: Found - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -73936,8 +74380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *464 - - *465 + - *466 + - *467 - name: language in: path description: The language of the CodeQL database. @@ -73947,7 +74391,7 @@ paths: responses: '204': description: Response - '403': *557 + '403': *559 '404': *6 '503': *190 x-github: @@ -73975,8 +74419,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -73985,7 +74429,7 @@ paths: type: object additionalProperties: false properties: - language: &565 + language: &567 type: string description: The language targeted by the CodeQL query enum: @@ -74064,7 +74508,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &569 + schema: &571 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74074,7 +74518,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *565 + query_language: *567 query_pack_url: type: string description: The download url for the query pack. @@ -74121,7 +74565,7 @@ paths: items: type: object properties: - repository: &566 + repository: &568 title: Repository Identifier description: Repository Identifier type: object @@ -74157,7 +74601,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &570 + analysis_status: &572 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74189,7 +74633,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &567 + access_mismatch_repos: &569 type: object properties: repository_count: @@ -74203,7 +74647,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: *566 + items: *568 required: - repository_count - repositories @@ -74225,8 +74669,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *567 - over_limit_repos: *567 + no_codeql_db_repos: *569 + over_limit_repos: *569 required: - access_mismatch_repos - not_found_repos @@ -74242,7 +74686,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &568 + value: &570 summary: Default response value: id: 1 @@ -74394,10 +74838,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *568 + value: *570 repository_lists: summary: Response for a successful variant analysis submission - value: *568 + value: *570 '404': *6 '422': description: Unable to process variant analysis submission @@ -74425,8 +74869,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: - - *464 - - *465 + - *466 + - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74438,9 +74882,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *568 + default: *570 '404': *6 '503': *190 x-github: @@ -74463,7 +74907,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: - - *464 + - *466 - name: repo in: path description: The name of the controller repository. @@ -74498,7 +74942,7 @@ paths: type: object properties: repository: *115 - analysis_status: *570 + analysis_status: *572 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74623,8 +75067,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -74709,7 +75153,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *551 + '403': *553 '404': *6 '503': *190 x-github: @@ -74730,8 +75174,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -74798,7 +75242,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -74823,7 +75267,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *557 + '403': *559 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74894,8 +75338,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -74903,7 +75347,7 @@ paths: schema: type: object properties: - commit_sha: *571 + commit_sha: *573 ref: type: string description: |- @@ -74961,7 +75405,7 @@ paths: schema: type: object properties: - id: *562 + id: *564 url: type: string description: The REST API URL for checking the status of the upload. @@ -74975,7 +75419,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': *557 + '403': *559 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74998,8 +75442,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: - - *464 - - *465 + - *466 + - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75045,7 +75489,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': *551 + '403': *553 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75070,8 +75514,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75152,8 +75596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *464 - - *465 + - *466 + - *467 - 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 @@ -75273,8 +75717,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75290,7 +75734,7 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: default: value: @@ -75588,8 +76032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -75652,17 +76096,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '400': *14 '401': *25 '403': *29 @@ -75691,8 +76135,8 @@ paths: parameters: - *17 - *19 - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -75756,8 +76200,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: - - *464 - - *465 + - *466 + - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75792,14 +76236,14 @@ paths: type: integer machines: type: array - items: &817 + items: &819 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *573 - required: *574 + properties: *575 + required: *576 examples: - default: &818 + default: &820 value: total_count: 2 machines: @@ -75839,8 +76283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75924,8 +76368,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: - - *464 - - *465 + - *466 + - *467 - 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 @@ -75991,8 +76435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -76010,7 +76454,7 @@ paths: type: integer secrets: type: array - items: &578 + items: &580 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76030,7 +76474,7 @@ paths: - created_at - updated_at examples: - default: *575 + default: *577 headers: Link: *43 x-github: @@ -76053,16 +76497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *576 + schema: *578 examples: - default: *577 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76082,17 +76526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76112,9 +76556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -76142,7 +76586,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -76166,9 +76610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -76196,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *464 - - *465 + - *466 + - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76239,7 +76683,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &580 + properties: &582 login: type: string example: octocat @@ -76332,7 +76776,7 @@ paths: user_view_type: type: string example: public - required: &581 + required: &583 - avatar_url - events_url - followers_url @@ -76406,8 +76850,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: - - *464 - - *465 + - *466 + - *467 - *138 responses: '204': @@ -76454,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *138 requestBody: required: false @@ -76482,7 +76926,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &656 + schema: &658 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76493,7 +76937,7 @@ paths: example: 42 type: integer format: int64 - repository: *277 + repository: *280 invitee: title: Simple User description: A GitHub user. @@ -76671,7 +77115,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *252 + schema: *255 '403': *29 x-github: triggersNotification: true @@ -76711,8 +77155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *464 - - *465 + - *466 + - *467 - *138 responses: '204': @@ -76744,8 +77188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *464 - - *465 + - *466 + - *467 - *138 responses: '200': @@ -76766,8 +77210,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *580 - required: *581 + properties: *582 + required: *583 nullable: true required: - permission @@ -76822,8 +77266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -76833,7 +77277,7 @@ paths: application/json: schema: type: array - items: &582 + items: &584 title: Commit Comment description: Commit Comment type: object @@ -76874,8 +77318,8 @@ paths: updated_at: type: string format: date-time - author_association: *210 - reactions: *211 + author_association: *213 + reactions: *214 required: - url - html_url @@ -76891,7 +77335,7 @@ paths: - created_at - updated_at examples: - default: &585 + default: &587 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76950,17 +77394,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: &586 + default: &588 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77017,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -77041,7 +77485,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: default: value: @@ -77092,9 +77536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -77115,9 +77559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -77143,9 +77587,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -77166,9 +77610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -77200,16 +77644,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -77231,10 +77675,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -77283,8 +77727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77340,9 +77784,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: &708 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77436,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *464 - - *465 - - &584 + - *466 + - *467 + - &586 name: commit_sha description: The SHA of the commit. in: path @@ -77510,9 +77954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 - *17 - *19 responses: @@ -77522,9 +77966,9 @@ paths: application/json: schema: type: array - items: *582 + items: *584 examples: - default: *585 + default: *587 headers: Link: *43 x-github: @@ -77552,9 +77996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 requestBody: required: true content: @@ -77589,9 +78033,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: *586 + default: *588 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77619,9 +78063,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: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 - *17 - *19 responses: @@ -77631,9 +78075,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: &700 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78170,11 +78614,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - - &588 + - &590 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)" @@ -78189,9 +78633,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *585 examples: - default: &685 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78304,11 +78748,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: - - *464 - - *465 - - *588 - - *589 + - *466 + - *467 - *590 + - *591 + - *592 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78342,9 +78786,9 @@ paths: type: integer check_runs: type: array - items: *535 + items: *537 examples: - default: *591 + default: *593 headers: Link: *43 x-github: @@ -78369,9 +78813,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: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78379,7 +78823,7 @@ paths: schema: type: integer example: 1 - - *589 + - *591 - *17 - *19 responses: @@ -78397,7 +78841,7 @@ paths: type: integer check_suites: type: array - items: *540 + items: *542 examples: default: value: @@ -78597,9 +79041,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: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - *17 - *19 responses: @@ -78666,7 +79110,7 @@ paths: type: string total_count: type: integer - repository: *277 + repository: *280 commit_url: type: string format: uri @@ -78797,9 +79241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *464 - - *465 - - *588 + - *466 + - *467 + - *590 - *17 - *19 responses: @@ -78809,7 +79253,7 @@ paths: application/json: schema: type: array - items: &762 + items: &764 title: Status description: The status of a commit. type: object @@ -78890,7 +79334,7 @@ paths: site_admin: false headers: Link: *43 - '301': *478 + '301': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78918,8 +79362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -78948,20 +79392,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *592 - required: *593 + properties: *594 + required: *595 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &594 + properties: &596 url: type: string format: uri html_url: type: string format: uri - required: &595 + required: &597 - url - html_url nullable: true @@ -78969,32 +79413,32 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true contributing: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true readme: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true issue_template: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true pull_request_template: title: Community Health File type: object - properties: *594 - required: *595 + properties: *596 + required: *597 nullable: true required: - code_of_conduct @@ -79121,8 +79565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 - name: basehead @@ -79165,8 +79609,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *583 - merge_base_commit: *583 + base_commit: *585 + merge_base_commit: *585 status: type: string enum: @@ -79186,10 +79630,10 @@ paths: example: 6 commits: type: array - items: *583 + items: *585 files: type: array - items: *596 + items: *598 required: - url - html_url @@ -79475,8 +79919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -79619,7 +80063,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &597 + response-if-content-is-a-file: &599 summary: Response if content is a file value: type: file @@ -79751,7 +80195,7 @@ paths: - size - type - url - - &713 + - &715 title: Content File description: Content File type: object @@ -79952,7 +80396,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *597 + response-if-content-is-a-file: *599 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80021,7 +80465,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *598 + '302': *600 '304': *37 x-github: githubCloudOnly: false @@ -80044,8 +80488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80138,7 +80582,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 title: File Commit description: File Commit type: object @@ -80290,7 +80734,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: example-for-creating-a-file: value: @@ -80344,7 +80788,7 @@ paths: schema: oneOf: - *3 - - &638 + - &640 description: Repository rule violation was detected type: object properties: @@ -80365,7 +80809,7 @@ paths: items: type: object properties: - placeholder_id: &754 + placeholder_id: &756 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80397,8 +80841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *464 - - *465 + - *466 + - *467 - name: path description: path parameter in: path @@ -80459,7 +80903,7 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: default: value: @@ -80514,8 +80958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *464 - - *465 + - *466 + - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80638,22 +81082,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *464 - - *465 - - *324 - - *325 - - *326 + - *466 + - *467 - *327 + - *328 + - *329 + - *330 - 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 - - *328 - - *600 - - *329 - - *330 + - *331 + - *602 + - *332 + - *333 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -80672,7 +81116,7 @@ paths: application/json: schema: type: array - items: &603 + items: &605 type: object description: A Dependabot alert. properties: @@ -80718,7 +81162,7 @@ paths: - unknown - direct - transitive - security_advisory: *601 + security_advisory: *603 security_vulnerability: *127 url: *128 html_url: *129 @@ -80749,7 +81193,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *602 + auto_dismissed_at: *604 required: - number - state @@ -80979,9 +81423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *464 - - *465 - - &604 + - *466 + - *467 + - &606 name: alert_number in: path description: |- @@ -80996,7 +81440,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -81109,9 +81553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *464 - - *465 - - *604 + - *466 + - *467 + - *606 requestBody: required: true content: @@ -81156,7 +81600,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *605 examples: default: value: @@ -81285,8 +81729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -81304,7 +81748,7 @@ paths: type: integer secrets: type: array - items: &607 + items: &609 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81357,16 +81801,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *605 + schema: *607 examples: - default: *606 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81386,15 +81830,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '200': description: Response content: application/json: - schema: *607 + schema: *609 examples: default: value: @@ -81420,9 +81864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 requestBody: required: true content: @@ -81450,7 +81894,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -81474,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *464 - - *465 - - *287 + - *466 + - *467 + - *290 responses: '204': description: Response @@ -81498,8 +81942,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: - - *464 - - *465 + - *466 + - *467 - 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 @@ -81659,8 +82103,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -81899,8 +82343,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -81975,7 +82419,7 @@ paths: - version - url additionalProperties: false - metadata: &608 + metadata: &610 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82008,7 +82452,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *608 + metadata: *610 resolved: type: object description: A collection of resolved package dependencies. @@ -82021,7 +82465,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *608 + metadata: *610 relationship: type: string description: A notation of whether a dependency is requested @@ -82150,8 +82594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *464 - - *465 + - *466 + - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -82191,9 +82635,9 @@ paths: application/json: schema: type: array - items: *609 + items: *611 examples: - default: *610 + default: *612 headers: Link: *43 x-github: @@ -82259,8 +82703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -82341,7 +82785,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: simple-example: summary: Simple example @@ -82414,9 +82858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *464 - - *465 - - &611 + - *466 + - *467 + - &613 name: deployment_id description: deployment_id parameter in: path @@ -82428,7 +82872,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: default: value: @@ -82493,9 +82937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 responses: '204': description: Response @@ -82517,9 +82961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 - *17 - *19 responses: @@ -82529,7 +82973,7 @@ paths: application/json: schema: type: array - items: &612 + items: &614 title: Deployment Status description: The status of a deployment. type: object @@ -82620,8 +83064,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -82690,9 +83134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 requestBody: required: true content: @@ -82767,9 +83211,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: &613 + default: &615 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82825,9 +83269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *464 - - *465 - - *611 + - *466 + - *467 + - *613 - name: status_id in: path required: true @@ -82838,9 +83282,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *614 examples: - default: *613 + default: *615 '404': *6 x-github: githubCloudOnly: false @@ -82867,12 +83311,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 - - *614 - - *615 + - *466 + - *467 - *616 - *617 + - *618 + - *619 - *17 - *19 responses: @@ -82882,9 +83326,9 @@ paths: application/json: schema: type: array - items: *618 + items: *620 examples: - default: *619 + default: *621 '404': *6 '403': *29 '500': *40 @@ -82908,8 +83352,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -82921,7 +83365,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -82977,8 +83421,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83037,12 +83481,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - *99 - *100 - *101 - - *620 + - *622 - *17 - *19 responses: @@ -83052,9 +83496,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: *622 + default: *624 '404': *6 '403': *29 '500': *40 @@ -83079,8 +83523,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83092,7 +83536,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *621 + schema: *623 examples: default: value: @@ -83150,8 +83594,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: alert_number in: path required: true @@ -83220,8 +83664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -83278,8 +83722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -83296,7 +83740,7 @@ paths: type: integer environments: type: array - items: &624 + items: &626 title: Environment description: Details of a deployment environment type: object @@ -83348,7 +83792,7 @@ paths: type: type: string example: wait_timer - wait_timer: &626 + wait_timer: &628 type: integer example: 30 description: The amount of time to delay a job after @@ -83385,11 +83829,11 @@ paths: items: type: object properties: - type: *623 + type: *625 reviewer: anyOf: - *4 - - *304 + - *307 required: - id - node_id @@ -83409,7 +83853,7 @@ paths: - id - node_id - type - deployment_branch_policy: &627 + deployment_branch_policy: &629 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83525,9 +83969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *464 - - *465 - - &625 + - *466 + - *467 + - &627 name: environment_name in: path required: true @@ -83540,9 +83984,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &628 + default: &630 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83626,9 +84070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: false content: @@ -83637,7 +84081,7 @@ paths: type: object nullable: true properties: - wait_timer: *626 + wait_timer: *628 prevent_self_review: type: boolean example: false @@ -83654,13 +84098,13 @@ paths: items: type: object properties: - type: *623 + type: *625 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *627 + deployment_branch_policy: *629 additionalProperties: false examples: default: @@ -83680,9 +84124,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *628 + default: *630 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83706,9 +84150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 responses: '204': description: Default response @@ -83733,9 +84177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 - *17 - *19 responses: @@ -83753,7 +84197,7 @@ paths: example: 2 branch_policies: type: array - items: &629 + items: &631 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83810,9 +84254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: true content: @@ -83858,9 +84302,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - example-wildcard: &630 + example-wildcard: &632 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83902,10 +84346,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - &631 + - *466 + - *467 + - *627 + - &633 name: branch_policy_id in: path required: true @@ -83917,9 +84361,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83938,10 +84382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - *631 + - *466 + - *467 + - *627 + - *633 requestBody: required: true content: @@ -83969,9 +84413,9 @@ paths: description: Response content: application/json: - schema: *629 + schema: *631 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83990,10 +84434,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *464 - - *465 - - *625 - - *631 + - *466 + - *467 + - *627 + - *633 responses: '204': description: Response @@ -84018,9 +84462,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 responses: '200': description: List of deployment protection rules @@ -84036,7 +84480,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &632 + items: &634 title: Deployment protection rule description: Deployment protection rule type: object @@ -84055,7 +84499,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &633 + app: &635 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84154,9 +84598,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 requestBody: content: application/json: @@ -84177,9 +84621,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *632 + schema: *634 examples: - default: &634 + default: &636 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84214,9 +84658,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: - - *625 - - *465 - - *464 + - *627 + - *467 + - *466 - *19 - *17 responses: @@ -84235,7 +84679,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *633 + items: *635 examples: default: value: @@ -84270,10 +84714,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: - - *464 - - *465 - - *625 - - &635 + - *466 + - *467 + - *627 + - &637 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84285,9 +84729,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *634 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84308,10 +84752,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: - - *625 - - *465 - - *464 - - *635 + - *627 + - *467 + - *466 + - *637 responses: '204': description: Response @@ -84337,9 +84781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 - *17 - *19 responses: @@ -84357,9 +84801,9 @@ paths: type: integer secrets: type: array - items: *501 + items: *503 examples: - default: *502 + default: *504 headers: Link: *43 x-github: @@ -84384,17 +84828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84416,18 +84860,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *636 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84449,10 +84893,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 requestBody: required: true content: @@ -84483,7 +84927,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84509,10 +84953,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *464 - - *465 - - *625 - - *287 + - *466 + - *467 + - *627 + - *290 responses: '204': description: Default response @@ -84537,10 +84981,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *464 - - *465 - - *625 - - *488 + - *466 + - *467 + - *627 + - *490 - *19 responses: '200': @@ -84557,9 +85001,9 @@ paths: type: integer variables: type: array - items: *505 + items: *507 examples: - default: *506 + default: *508 headers: Link: *43 x-github: @@ -84582,9 +85026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *464 - - *465 - - *625 + - *466 + - *467 + - *627 requestBody: required: true content: @@ -84611,7 +85055,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -84636,18 +85080,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *464 - - *465 - - *625 - - *290 + - *466 + - *467 + - *627 + - *293 responses: '200': description: Response content: application/json: - schema: *505 + schema: *507 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84668,10 +85112,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *464 - - *465 - - *290 - - *625 + - *466 + - *467 + - *293 + - *627 requestBody: required: true content: @@ -84713,10 +85157,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *464 - - *465 - - *290 - - *625 + - *466 + - *467 + - *293 + - *627 responses: '204': description: Response @@ -84738,8 +85182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -84749,7 +85193,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: 200-response: value: @@ -84807,8 +85251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *464 - - *465 + - *466 + - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84830,7 +85274,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -84967,8 +85411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -85000,9 +85444,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 '400': *14 '422': *15 '403': *29 @@ -85023,8 +85467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85083,8 +85527,8 @@ paths: application/json: schema: oneOf: - - *252 - - *638 + - *255 + - *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85109,8 +85553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *464 - - *465 + - *466 + - *467 - name: file_sha in: path required: true @@ -85209,8 +85653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85319,7 +85763,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &641 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85533,15 +85977,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *464 - - *465 - - *584 + - *466 + - *467 + - *586 responses: '200': description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -85597,9 +86041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *464 - - *465 - - &640 + - *466 + - *467 + - &642 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. @@ -85616,7 +86060,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Git Reference description: Git references within a repository type: object @@ -85691,17 +86135,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 responses: '200': description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: &642 + default: &644 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85730,8 +86174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85760,9 +86204,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85788,9 +86232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 requestBody: required: true content: @@ -85819,9 +86263,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 '422': *15 '409': *114 x-github: @@ -85839,9 +86283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *464 - - *465 - - *640 + - *466 + - *467 + - *642 responses: '204': description: Response @@ -85896,8 +86340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -85964,7 +86408,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &646 title: Git Tag description: Metadata for a Git tag type: object @@ -86015,7 +86459,7 @@ paths: - sha - type - url - verification: *643 + verification: *645 required: - sha - url @@ -86025,7 +86469,7 @@ paths: - tag - message examples: - default: &645 + default: &647 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86098,8 +86542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_sha in: path required: true @@ -86110,9 +86554,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *646 examples: - default: *645 + default: *647 '404': *6 '409': *114 x-github: @@ -86136,8 +86580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -86210,7 +86654,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &648 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86306,8 +86750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *464 - - *465 + - *466 + - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86330,7 +86774,7 @@ paths: description: Response content: application/json: - schema: *646 + schema: *648 examples: default-response: summary: Default response @@ -86389,8 +86833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -86400,7 +86844,7 @@ paths: application/json: schema: type: array - items: &647 + items: &649 title: Webhook description: Webhooks for repositories. type: object @@ -86454,7 +86898,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &898 + last_response: &902 title: Hook Response type: object properties: @@ -86528,8 +86972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -86581,9 +87025,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: &648 + default: &650 value: type: Repository id: 12345678 @@ -86631,17 +87075,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '200': description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: *648 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -86661,9 +87105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 requestBody: required: true content: @@ -86708,9 +87152,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *649 examples: - default: *648 + default: *650 '422': *15 '404': *6 x-github: @@ -86731,9 +87175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86757,9 +87201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '200': description: Response @@ -86786,9 +87230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 requestBody: required: false content: @@ -86832,11 +87276,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *17 - - *339 + - *342 responses: '200': description: Response @@ -86844,9 +87288,9 @@ paths: application/json: schema: type: array - items: *340 + items: *343 examples: - default: *341 + default: *344 '400': *14 '422': *15 x-github: @@ -86865,18 +87309,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *16 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '400': *14 '422': *15 x-github: @@ -86895,9 +87339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 - *16 responses: '202': *39 @@ -86920,9 +87364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86947,9 +87391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *464 - - *465 - - *338 + - *466 + - *467 + - *341 responses: '204': description: Response @@ -86972,8 +87416,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response if immutable releases are enabled @@ -87019,8 +87463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '409': *114 @@ -87040,8 +87484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '409': *114 @@ -87098,14 +87542,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &649 + schema: &651 title: Import description: A repository import from an external source. type: object @@ -87204,7 +87648,7 @@ paths: - html_url - authors_url examples: - default: &652 + default: &654 value: vcs: subversion use_lfs: true @@ -87220,7 +87664,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': &650 + '503': &652 description: Unavailable due to service under maintenance. content: application/json: @@ -87249,8 +87693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87298,7 +87742,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: default: value: @@ -87323,7 +87767,7 @@ paths: type: string '422': *15 '404': *6 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87351,8 +87795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -87401,7 +87845,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: example-1: summary: Example 1 @@ -87449,7 +87893,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': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87472,12 +87916,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87503,9 +87947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *464 - - *465 - - &839 + - *466 + - *467 + - &841 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87519,7 +87963,7 @@ paths: application/json: schema: type: array - items: &651 + items: &653 title: Porter Author description: Porter Author type: object @@ -87573,7 +88017,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': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87598,8 +88042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *464 - - *465 + - *466 + - *467 - name: author_id in: path required: true @@ -87629,7 +88073,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *653 examples: default: value: @@ -87642,7 +88086,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87666,8 +88110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87708,7 +88152,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87736,8 +88180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -87764,11 +88208,11 @@ paths: description: Response content: application/json: - schema: *649 + schema: *651 examples: - default: *652 + default: *654 '422': *15 - '503': *650 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87791,8 +88235,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87800,8 +88244,8 @@ paths: application/json: schema: *22 examples: - default: *653 - '301': *478 + default: *655 + '301': *480 '404': *6 x-github: githubCloudOnly: false @@ -87821,8 +88265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -87830,12 +88274,12 @@ paths: application/json: schema: anyOf: - - *356 + - *359 - type: object properties: {} additionalProperties: false examples: - default: &655 + default: &657 value: limit: collaborators_only origin: repository @@ -87860,13 +88304,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: application/json: - schema: *654 + schema: *656 examples: default: summary: Example request body @@ -87878,9 +88322,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *655 + default: *657 '409': description: Response x-github: @@ -87902,8 +88346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -87926,8 +88370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -87937,9 +88381,9 @@ paths: application/json: schema: type: array - items: *656 + items: *658 examples: - default: &832 + default: &834 value: - id: 1 repository: @@ -88070,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *464 - - *465 - - *360 + - *466 + - *467 + - *363 requestBody: required: false content: @@ -88101,7 +88545,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: default: value: @@ -88232,9 +88676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *464 - - *465 - - *360 + - *466 + - *467 + - *363 responses: '204': description: Response @@ -88265,8 +88709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *464 - - *465 + - *466 + - *467 - 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 @@ -88314,7 +88758,7 @@ paths: required: false schema: type: string - - *364 + - *367 - name: sort description: What to sort results by. in: query @@ -88327,7 +88771,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -88337,9 +88781,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: &665 + default: &667 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88487,7 +88931,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *478 + '301': *480 '422': *15 '404': *6 x-github: @@ -88516,8 +88960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -88599,9 +89043,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: &662 + default: &664 value: id: 1 node_id: MDU6SXNzdWUx @@ -88757,7 +89201,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *475 + '410': *477 x-github: triggersNotification: true githubCloudOnly: false @@ -88785,9 +89229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *464 - - *465 - - *233 + - *466 + - *467 + - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88797,7 +89241,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -88807,9 +89251,9 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: &664 + default: &666 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88867,17 +89311,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: &658 + default: &660 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88931,9 +89375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -88955,9 +89399,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 '422': *15 x-github: githubCloudOnly: false @@ -88975,9 +89419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -88997,9 +89441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -89025,9 +89469,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -89048,9 +89492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -89082,16 +89526,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -89113,10 +89557,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -89136,8 +89580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -89147,7 +89591,7 @@ paths: application/json: schema: type: array - items: &661 + items: &663 title: Issue Event description: Issue Event type: object @@ -89190,8 +89634,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *659 - required: *660 + properties: *661 + required: *662 nullable: true label: title: Issue Event Label @@ -89235,7 +89679,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *304 + requested_team: *307 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89300,7 +89744,7 @@ paths: required: - from - to - author_association: *210 + author_association: *213 lock_reason: type: string nullable: true @@ -89313,8 +89757,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 required: - id - node_id @@ -89498,8 +89942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *464 - - *465 + - *466 + - *467 - name: event_id in: path required: true @@ -89510,7 +89954,7 @@ paths: description: Response content: application/json: - schema: *661 + schema: *663 examples: default: value: @@ -89703,7 +90147,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *475 + '410': *477 '403': *29 x-github: githubCloudOnly: false @@ -89737,9 +90181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *464 - - *465 - - &663 + - *466 + - *467 + - &665 name: issue_number description: The number that identifies the issue. in: path @@ -89751,12 +90195,12 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '404': *6 - '410': *475 + '410': *477 '304': *37 x-github: githubCloudOnly: false @@ -89781,9 +90225,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -89887,15 +90331,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 '422': *15 '503': *190 '403': *29 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89913,9 +90357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -89941,9 +90385,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89959,9 +90403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: content: application/json: @@ -89986,9 +90430,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90010,9 +90454,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: assignee in: path required: true @@ -90052,10 +90496,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *464 - - *465 - - *663 - - *213 + - *466 + - *467 + - *665 + - *216 - *17 - *19 responses: @@ -90065,13 +90509,13 @@ paths: application/json: schema: type: array - items: *657 + items: *659 examples: - default: *664 + default: *666 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90100,9 +90544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -90124,16 +90568,16 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -90161,9 +90605,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90173,14 +90617,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90208,9 +90652,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -90232,17 +90676,17 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *478 + '301': *480 '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -90273,9 +90717,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90287,15 +90731,15 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 x-github: triggersNotification: true githubCloudOnly: false @@ -90321,9 +90765,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: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90333,14 +90777,14 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,9 +90801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -90373,7 +90817,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &668 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90404,8 +90848,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90427,7 +90871,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -90458,8 +90902,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 label: type: object properties: @@ -90547,8 +90991,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 assigner: *4 required: @@ -90563,7 +91007,7 @@ paths: - performed_via_github_app - assignee - assigner - - &670 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -90594,8 +91038,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90614,7 +91058,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -90645,8 +91089,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 milestone: type: object properties: @@ -90665,7 +91109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -90696,8 +91140,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 rename: type: object properties: @@ -90719,7 +91163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -90750,10 +91194,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *304 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90766,7 +91210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90797,10 +91241,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 review_requester: *4 - requested_team: *304 + requested_team: *307 requested_reviewer: *4 required: - review_requester @@ -90813,7 +91257,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90844,8 +91288,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 dismissed_review: type: object properties: @@ -90873,7 +91317,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -90904,8 +91348,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 lock_reason: type: string example: '"off-topic"' @@ -90921,7 +91365,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90952,8 +91396,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -90987,7 +91431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91018,8 +91462,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91053,7 +91497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91084,8 +91528,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 project_card: type: object properties: @@ -91119,7 +91563,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91210,7 +91654,7 @@ paths: color: red headers: Link: *43 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91227,9 +91671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -91239,7 +91683,7 @@ paths: application/json: schema: type: array - items: &666 + items: &668 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91286,7 +91730,7 @@ paths: - color - default examples: - default: &667 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91304,9 +91748,9 @@ paths: default: false headers: Link: *43 - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91323,9 +91767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91384,12 +91828,12 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 - '301': *478 + default: *669 + '301': *480 '404': *6 - '410': *475 + '410': *477 '422': *15 x-github: githubCloudOnly: false @@ -91406,9 +91850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91468,12 +91912,12 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 - '301': *478 + default: *669 + '301': *480 '404': *6 - '410': *475 + '410': *477 '422': *15 x-github: githubCloudOnly: false @@ -91490,15 +91934,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '204': description: Response - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91517,9 +91961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - name: name in: path required: true @@ -91532,7 +91976,7 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: default: value: @@ -91543,9 +91987,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *478 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91565,9 +92009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: false content: @@ -91595,7 +92039,7 @@ paths: '204': description: Response '403': *29 - '410': *475 + '410': *477 '404': *6 '422': *15 x-github: @@ -91613,9 +92057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '204': description: Response @@ -91645,20 +92089,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 responses: '200': description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 - '301': *478 + default: *664 + '301': *480 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91675,9 +92119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - 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. @@ -91703,13 +92147,13 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91727,9 +92171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91761,16 +92205,16 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -91792,10 +92236,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *464 - - *465 - - *663 - - *456 + - *466 + - *467 + - *665 + - *458 responses: '204': description: Response @@ -91824,9 +92268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91848,9 +92292,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91883,9 +92327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -91895,13 +92339,13 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *665 + default: *667 headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91929,9 +92373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -91958,16 +92402,16 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *475 + '410': *477 '422': *15 '404': *6 x-github: @@ -91987,9 +92431,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 requestBody: required: true content: @@ -92020,9 +92464,9 @@ paths: description: Response content: application/json: - schema: *223 + schema: *226 examples: - default: *662 + default: *664 '403': *29 '404': *6 '422': *7 @@ -92044,9 +92488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *464 - - *465 - - *663 + - *466 + - *467 + - *665 - *17 - *19 responses: @@ -92061,8 +92505,6 @@ paths: description: Timeline Event type: object anyOf: - - *668 - - *669 - *670 - *671 - *672 @@ -92074,6 +92516,8 @@ paths: - *678 - *679 - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92116,7 +92560,7 @@ paths: issue_url: type: string format: uri - author_association: *210 + author_association: *213 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -92126,9 +92570,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - event - actor @@ -92159,7 +92603,7 @@ paths: properties: type: type: string - issue: *223 + issue: *226 required: - event - created_at @@ -92359,7 +92803,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - event - id @@ -92382,7 +92826,7 @@ paths: type: string comments: type: array - items: &702 + items: &704 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -92471,7 +92915,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: @@ -92555,7 +92999,7 @@ paths: enum: - line - file - reactions: *211 + reactions: *214 body_html: type: string example: '"

comment body

"' @@ -92591,7 +93035,7 @@ paths: type: string comments: type: array - items: *582 + items: *584 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92622,8 +93066,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92666,8 +93110,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 assignee: *4 required: - id @@ -92710,8 +93154,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 state_reason: type: string nullable: true @@ -92880,7 +93324,7 @@ paths: headers: Link: *43 '404': *6 - '410': *475 + '410': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92897,8 +93341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -92908,7 +93352,7 @@ paths: application/json: schema: type: array - items: &681 + items: &683 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92974,8 +93418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93011,9 +93455,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: &682 + default: &684 value: id: 1 key: ssh-rsa AAA... @@ -93047,9 +93491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *464 - - *465 - - &683 + - *466 + - *467 + - &685 name: key_id description: The unique identifier of the key. in: path @@ -93061,9 +93505,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *683 examples: - default: *682 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -93081,9 +93525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *464 - - *465 - - *683 + - *466 + - *467 + - *685 responses: '204': description: Response @@ -93103,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -93114,9 +93558,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 headers: Link: *43 '404': *6 @@ -93137,8 +93581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93174,9 +93618,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: &684 + default: &686 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93208,8 +93652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93220,9 +93664,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *684 + default: *686 '404': *6 x-github: githubCloudOnly: false @@ -93239,8 +93683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93279,7 +93723,7 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: default: value: @@ -93305,8 +93749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *464 - - *465 + - *466 + - *467 - name: name in: path required: true @@ -93332,8 +93776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -93369,8 +93813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '202': *39 '403': @@ -93398,8 +93842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -93425,9 +93869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *464 - - *465 - - *558 + - *466 + - *467 + - *560 responses: '200': description: Response @@ -93489,8 +93933,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true required: - _links @@ -93572,8 +94016,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93638,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93673,9 +94117,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *583 + schema: *585 examples: - default: *685 + default: *687 '204': description: Response when already merged '404': @@ -93700,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -93742,12 +94186,12 @@ paths: application/json: schema: type: array - items: &686 + items: &688 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 examples: default: value: @@ -93803,8 +94247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -93844,9 +94288,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: &687 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93905,9 +94349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *464 - - *465 - - &688 + - *466 + - *467 + - &690 name: milestone_number description: The number that identifies the milestone. in: path @@ -93919,9 +94363,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -93938,9 +94382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 requestBody: required: false content: @@ -93978,9 +94422,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *688 examples: - default: *687 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93996,9 +94440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 responses: '204': description: Response @@ -94019,9 +94463,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: - - *464 - - *465 - - *688 + - *466 + - *467 + - *690 - *17 - *19 responses: @@ -94031,9 +94475,9 @@ paths: application/json: schema: type: array - items: *666 + items: *668 examples: - default: *667 + default: *669 headers: Link: *43 x-github: @@ -94052,12 +94496,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: - - *464 - - *465 - - *689 - - *690 - - *213 + - *466 + - *467 - *691 + - *692 + - *216 + - *693 - *17 - *19 responses: @@ -94067,9 +94511,9 @@ paths: application/json: schema: type: array - items: *236 + items: *239 examples: - default: *692 + default: *694 headers: Link: *43 x-github: @@ -94093,8 +94537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -94152,14 +94596,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: &693 + schema: &695 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94284,7 +94728,7 @@ paths: - custom_404 - public examples: - default: &694 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94325,8 +94769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94380,9 +94824,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - default: *694 + default: *696 '422': *15 '409': *114 x-github: @@ -94405,8 +94849,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94513,8 +94957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -94540,8 +94984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -94551,7 +94995,7 @@ paths: application/json: schema: type: array - items: &695 + items: &697 title: Page Build description: Page Build type: object @@ -94645,8 +95089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '201': description: Response @@ -94691,16 +95135,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *695 + schema: *697 examples: - default: &696 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94748,8 +95192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *464 - - *465 + - *466 + - *467 - name: build_id in: path required: true @@ -94760,9 +95204,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *697 examples: - default: *696 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94782,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -94888,9 +95332,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: - - *464 - - *465 - - &697 + - *466 + - *467 + - &699 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94948,9 +95392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *464 - - *465 - - *697 + - *466 + - *467 + - *699 responses: '204': *150 '404': *6 @@ -94977,8 +95421,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95209,7 +95653,7 @@ paths: description: Empty response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -95236,8 +95680,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Private vulnerability reporting status @@ -95274,8 +95718,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: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '422': *14 @@ -95296,8 +95740,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: - - *464 - - *465 + - *466 + - *467 responses: '204': *150 '422': *14 @@ -95320,8 +95764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Indicates the state of the projects to return. in: query @@ -95342,7 +95786,7 @@ paths: application/json: schema: type: array - items: *393 + items: *396 examples: default: value: @@ -95382,7 +95826,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -95405,8 +95849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95432,13 +95876,13 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *474 + default: *476 '401': *25 '403': *29 '404': *6 - '410': *475 + '410': *477 '422': *7 x-github: githubCloudOnly: false @@ -95461,8 +95905,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -95472,7 +95916,7 @@ paths: type: array items: *151 examples: - default: *698 + default: *700 '403': *29 '404': *6 x-github: @@ -95494,8 +95938,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95511,7 +95955,7 @@ paths: required: - properties examples: - default: *699 + default: *701 responses: '204': description: No Content when custom property values are successfully created @@ -95549,8 +95993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *464 - - *465 + - *466 + - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -95610,9 +96054,9 @@ paths: application/json: schema: type: array - items: *587 + items: *589 examples: - default: *700 + default: *702 headers: Link: *43 '304': *37 @@ -95644,8 +96088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -95710,7 +96154,7 @@ paths: description: Response content: application/json: - schema: &704 + schema: &706 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95821,8 +96265,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true active_lock_reason: type: string @@ -95867,7 +96311,7 @@ paths: nullable: true requested_teams: type: array - items: *431 + items: *433 nullable: true head: type: object @@ -95906,14 +96350,14 @@ paths: _links: type: object properties: - comments: *401 - commits: *401 - statuses: *401 - html: *401 - issue: *401 - review_comments: *401 - review_comment: *401 - self: *401 + comments: *403 + commits: *403 + statuses: *403 + html: *403 + issue: *403 + review_comments: *403 + review_comment: *403 + self: *403 required: - comments - commits @@ -95923,8 +96367,8 @@ paths: - review_comments - review_comment - self - author_association: *210 - auto_merge: *701 + author_association: *213 + auto_merge: *703 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96016,7 +96460,7 @@ paths: - merged_by - review_comments examples: - default: &705 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96543,8 +96987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: sort in: query required: false @@ -96563,7 +97007,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -96573,9 +97017,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: &707 + default: &709 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96652,17 +97096,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: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '200': description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: &703 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96737,9 +97181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -96761,9 +97205,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96779,9 +97223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 responses: '204': description: Response @@ -96802,9 +97246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -96830,9 +97274,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -96853,9 +97297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *464 - - *465 - - *222 + - *466 + - *467 + - *225 requestBody: required: true content: @@ -96887,16 +97331,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -96918,10 +97362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *464 - - *465 - - *222 - - *456 + - *466 + - *467 + - *225 + - *458 responses: '204': description: Response @@ -96964,9 +97408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *464 - - *465 - - &706 + - *466 + - *467 + - &708 name: pull_number description: The number that identifies the pull request. in: path @@ -96979,9 +97423,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '304': *37 '404': *6 '406': @@ -97016,9 +97460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97060,9 +97504,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *706 examples: - default: *705 + default: *707 '422': *15 '403': *29 x-github: @@ -97084,9 +97528,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -97146,17 +97590,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -97186,10 +97630,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *464 - - *465 - - *706 - - *233 + - *466 + - *467 + - *708 + - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -97199,7 +97643,7 @@ paths: enum: - asc - desc - - *213 + - *216 - *17 - *19 responses: @@ -97209,9 +97653,9 @@ paths: application/json: schema: type: array - items: *702 + items: *704 examples: - default: *707 + default: *709 headers: Link: *43 x-github: @@ -97244,9 +97688,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -97351,7 +97795,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: example-for-a-multi-line-comment: value: @@ -97439,10 +97883,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *464 - - *465 - - *706 - - *222 + - *466 + - *467 + - *708 + - *225 requestBody: required: true content: @@ -97464,7 +97908,7 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: default: value: @@ -97550,9 +97994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -97562,9 +98006,9 @@ paths: application/json: schema: type: array - items: *583 + items: *585 examples: - default: *708 + default: *710 headers: Link: *43 x-github: @@ -97594,9 +98038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -97606,7 +98050,7 @@ paths: application/json: schema: type: array - items: *596 + items: *598 examples: default: value: @@ -97644,9 +98088,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 responses: '204': description: Response if pull request has been merged @@ -97669,9 +98113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97782,9 +98226,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 responses: '200': description: Response @@ -97800,7 +98244,7 @@ paths: items: *4 teams: type: array - items: *304 + items: *307 required: - users - teams @@ -97859,9 +98303,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -97898,7 +98342,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -98434,9 +98878,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: true content: @@ -98470,7 +98914,7 @@ paths: description: Response content: application/json: - schema: *587 + schema: *589 examples: default: value: @@ -98975,9 +99419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 - *17 - *19 responses: @@ -98987,7 +99431,7 @@ paths: application/json: schema: type: array - items: &709 + items: &711 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99056,7 +99500,7 @@ paths: type: string body_text: type: string - author_association: *210 + author_association: *213 required: - id - node_id @@ -99138,9 +99582,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: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -99226,9 +99670,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &711 + default: &713 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99291,10 +99735,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: - - *464 - - *465 - - *706 - - &710 + - *466 + - *467 + - *708 + - &712 name: review_id description: The unique identifier of the review. in: path @@ -99306,9 +99750,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: &712 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99367,10 +99811,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99393,7 +99837,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: default: value: @@ -99455,18 +99899,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 responses: '200': description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *711 + default: *713 '422': *7 '404': *6 x-github: @@ -99493,10 +99937,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 - *17 - *19 responses: @@ -99575,13 +100019,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *210 + author_association: *213 _links: type: object properties: - self: *401 - html: *401 - pull_request: *401 + self: *403 + html: *403 + pull_request: *403 required: - self - html @@ -99590,7 +100034,7 @@ paths: type: string body_html: type: string - reactions: *211 + reactions: *214 side: description: The side of the first line of the range for a multi-line comment. @@ -99731,10 +100175,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99762,7 +100206,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: default: value: @@ -99825,10 +100269,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: - - *464 - - *465 - - *706 - - *710 + - *466 + - *467 + - *708 + - *712 requestBody: required: true content: @@ -99863,9 +100307,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *711 examples: - default: *712 + default: *714 '404': *6 '422': *7 '403': *29 @@ -99887,9 +100331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *464 - - *465 - - *706 + - *466 + - *467 + - *708 requestBody: required: false content: @@ -99952,8 +100396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *464 - - *465 + - *466 + - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99966,9 +100410,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *715 examples: - default: &714 + default: &716 value: type: file encoding: base64 @@ -100010,8 +100454,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: - - *464 - - *465 + - *466 + - *467 - name: dir description: The alternate path to look for a README file in: path @@ -100031,9 +100475,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *715 examples: - default: *714 + default: *716 '404': *6 '422': *15 x-github: @@ -100055,8 +100499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -100066,7 +100510,7 @@ paths: application/json: schema: type: array - items: &715 + items: &717 title: Release description: A release. type: object @@ -100137,7 +100581,7 @@ paths: author: *4 assets: type: array - items: &716 + items: &718 title: Release Asset description: Data related to a release. type: object @@ -100212,7 +100656,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *211 + reactions: *214 required: - assets_url - upload_url @@ -100324,8 +100768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -100401,9 +100845,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: &719 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100508,9 +100952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *464 - - *465 - - &717 + - *466 + - *467 + - &719 name: asset_id description: The unique identifier of the asset. in: path @@ -100522,9 +100966,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: &718 + default: &720 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 @@ -100559,7 +101003,7 @@ paths: type: User site_admin: false '404': *6 - '302': *598 + '302': *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100575,9 +101019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *464 - - *465 - - *717 + - *466 + - *467 + - *719 requestBody: required: false content: @@ -100605,9 +101049,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *718 examples: - default: *718 + default: *720 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100623,9 +101067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *464 - - *465 - - *717 + - *466 + - *467 + - *719 responses: '204': description: Response @@ -100649,8 +101093,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -100735,16 +101179,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100761,8 +101205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *464 - - *465 + - *466 + - *467 - name: tag description: tag parameter in: path @@ -100775,9 +101219,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -100799,9 +101243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *464 - - *465 - - &720 + - *466 + - *467 + - &722 name: release_id description: The unique identifier of the release. in: path @@ -100815,9 +101259,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: *715 + schema: *717 examples: - default: *719 + default: *721 '401': description: Unauthorized x-github: @@ -100835,9 +101279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 requestBody: required: false content: @@ -100901,9 +101345,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *717 examples: - default: *719 + default: *721 '404': description: Not Found if the discussion category name is invalid content: @@ -100924,9 +101368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 responses: '204': description: Response @@ -100946,9 +101390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - *17 - *19 responses: @@ -100958,7 +101402,7 @@ paths: application/json: schema: type: array - items: *716 + items: *718 examples: default: value: @@ -101040,9 +101484,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: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - name: name in: query required: true @@ -101068,7 +101512,7 @@ paths: description: Response for successful upload content: application/json: - schema: *716 + schema: *718 examples: response-for-successful-upload: value: @@ -101123,9 +101567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101149,9 +101593,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 '404': *6 @@ -101172,9 +101616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *464 - - *465 - - *720 + - *466 + - *467 + - *722 requestBody: required: true content: @@ -101204,16 +101648,16 @@ paths: description: Reaction exists content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '201': description: Reaction created content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 '422': *15 x-github: githubCloudOnly: false @@ -101235,10 +101679,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *464 - - *465 - - *720 - - *456 + - *466 + - *467 + - *722 + - *458 responses: '204': description: Response @@ -101262,9 +101706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *464 - - *465 - - *523 + - *466 + - *467 + - *525 - *17 - *19 responses: @@ -101281,7 +101725,7 @@ paths: oneOf: - allOf: - *165 - - &721 + - &723 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101302,67 +101746,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *721 + - *723 - allOf: - *167 - - *721 + - *723 - allOf: - *168 - - *721 + - *723 - allOf: - - *722 - - *721 + - *724 + - *723 - allOf: - *169 - - *721 + - *723 - allOf: - *170 - - *721 + - *723 - allOf: - *171 - - *721 + - *723 - allOf: - *172 - - *721 + - *723 - allOf: - *173 - - *721 + - *723 - allOf: - *174 - - *721 + - *723 - allOf: - *175 - - *721 + - *723 - allOf: - *176 - - *721 + - *723 - allOf: - *177 - - *721 + - *723 - allOf: - *178 - - *721 + - *723 - allOf: - *179 - - *721 + - *723 - allOf: - *180 - - *721 + - *723 - allOf: - *181 - - *721 + - *723 - allOf: - *182 - - *721 + - *723 - allOf: - *183 - - *721 + - *723 - allOf: - *184 - - *721 + - *723 - allOf: + - *725 - *723 - - *721 examples: default: value: @@ -101401,8 +101845,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: includes_parents @@ -101413,7 +101857,7 @@ paths: schema: type: boolean default: true - - *724 + - *726 responses: '200': description: Response @@ -101468,8 +101912,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 requestBody: description: Request body required: true @@ -101498,7 +101942,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *725 + items: *727 required: - name - enforcement @@ -101531,7 +101975,7 @@ paths: application/json: schema: *185 examples: - default: &734 + default: &736 value: id: 42 name: super cool ruleset @@ -101578,12 +102022,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *464 - - *465 - - *726 - - *101 - - *727 + - *466 + - *467 - *728 + - *101 + - *729 + - *730 - *17 - *19 responses: @@ -101591,9 +102035,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: *730 + default: *732 '404': *6 '500': *40 x-github: @@ -101614,17 +102058,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *464 - - *465 - - *731 + - *466 + - *467 + - *733 responses: '200': description: Response content: application/json: - schema: *732 + schema: *734 examples: - default: *733 + default: *735 '404': *6 '500': *40 x-github: @@ -101652,8 +102096,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101675,7 +102119,7 @@ paths: application/json: schema: *185 examples: - default: *734 + default: *736 '404': *6 '500': *40 put: @@ -101693,8 +102137,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101728,7 +102172,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *725 + items: *727 examples: default: value: @@ -101758,7 +102202,7 @@ paths: application/json: schema: *185 examples: - default: *734 + default: *736 '404': *6 '500': *40 delete: @@ -101776,8 +102220,8 @@ paths: category: repos subcategory: rules parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101800,8 +102244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 - name: ruleset_id @@ -101819,7 +102263,7 @@ paths: type: array items: *189 examples: - default: *416 + default: *418 '404': *6 '500': *40 x-github: @@ -101838,8 +102282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *464 - - *465 + - *466 + - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101857,7 +102301,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *419 examples: default: value: @@ -101912,21 +102356,21 @@ 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: - - *464 - - *465 - - *418 - - *419 + - *466 + - *467 - *420 - *421 + - *422 + - *423 - *106 - *19 - *17 - - *735 - - *736 - - *422 - - *423 + - *737 + - *738 - *424 - *425 + - *426 + - *427 responses: '200': description: Response @@ -101934,7 +102378,7 @@ paths: application/json: schema: type: array - items: &740 + items: &742 type: object properties: number: *123 @@ -101953,8 +102397,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *737 - resolution: *738 + state: *739 + resolution: *740 resolved_at: type: string format: date-time @@ -102050,7 +102494,7 @@ paths: pull request. ' - oneOf: *739 + oneOf: *741 nullable: true has_more_locations: type: boolean @@ -102199,16 +102643,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: - - *464 - - *465 - - *552 - - *425 + - *466 + - *467 + - *554 + - *427 responses: '200': description: Response content: application/json: - schema: *740 + schema: *742 examples: default: value: @@ -102260,9 +102704,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 requestBody: required: true content: @@ -102270,8 +102714,8 @@ paths: schema: type: object properties: - state: *737 - resolution: *738 + state: *739 + resolution: *740 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102289,7 +102733,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *742 examples: default: value: @@ -102364,9 +102808,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: - - *464 - - *465 - - *552 + - *466 + - *467 + - *554 - *19 - *17 responses: @@ -102377,7 +102821,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &920 + items: &924 type: object properties: type: @@ -102403,8 +102847,6 @@ paths: example: commit details: oneOf: - - *741 - - *742 - *743 - *744 - *745 @@ -102416,6 +102858,8 @@ paths: - *751 - *752 - *753 + - *754 + - *755 examples: default: value: @@ -102501,8 +102945,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102510,14 +102954,14 @@ paths: schema: type: object properties: - reason: &755 + reason: &757 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *754 + placeholder_id: *756 required: - reason - placeholder_id @@ -102534,7 +102978,7 @@ paths: schema: type: object properties: - reason: *755 + reason: *757 expire_at: type: string format: date-time @@ -102580,8 +103024,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: - - *464 - - *465 + - *466 + - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -102596,7 +103040,7 @@ paths: properties: incremental_scans: type: array - items: &756 + items: &758 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102622,15 +103066,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *756 + items: *758 backfill_scans: type: array - items: *756 + items: *758 custom_pattern_backfill_scans: type: array items: allOf: - - *756 + - *758 - type: object properties: pattern_name: @@ -102700,8 +103144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *464 - - *465 + - *466 + - *467 - *106 - name: sort description: The property to sort the results by. @@ -102745,9 +103189,9 @@ paths: application/json: schema: type: array - items: *757 + items: *759 examples: - default: *758 + default: *760 '400': *14 '404': *6 x-github: @@ -102770,8 +103214,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -102844,7 +103288,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 required: - login - type @@ -102931,9 +103375,9 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: &760 + default: &762 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103166,8 +103610,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: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -103271,7 +103715,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: default: value: @@ -103418,17 +103862,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '200': description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: *760 + default: *762 '403': *29 '404': *6 x-github: @@ -103452,9 +103896,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 requestBody: required: true content: @@ -103527,7 +103971,7 @@ paths: login: type: string description: The username of the user credited. - type: *430 + type: *432 required: - login - type @@ -103613,17 +104057,17 @@ paths: description: Response content: application/json: - schema: *757 + schema: *759 examples: - default: *760 - add_credit: *760 + default: *762 + add_credit: *762 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *252 + schema: *255 examples: invalid_state_transition: value: @@ -103654,9 +104098,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '202': *39 '400': *14 @@ -103683,17 +104127,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: - - *464 - - *465 - - *759 + - *466 + - *467 + - *761 responses: '202': description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 '400': *14 '422': *15 '403': *29 @@ -103719,8 +104163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -103819,8 +104263,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103829,7 +104273,7 @@ paths: application/json: schema: type: array - items: &761 + items: &763 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103862,8 +104306,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -103939,8 +104383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -104036,8 +104480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104191,8 +104635,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: - - *464 - - *465 + - *466 + - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104202,7 +104646,7 @@ paths: application/json: schema: type: array - items: *761 + items: *763 examples: default: value: @@ -104235,8 +104679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *464 - - *465 + - *466 + - *467 - name: sha in: path required: true @@ -104290,7 +104734,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *764 examples: default: value: @@ -104344,8 +104788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104357,7 +104801,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -104377,14 +104821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &763 + schema: &765 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104452,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: false content: @@ -104479,7 +104923,7 @@ paths: description: Response content: application/json: - schema: *763 + schema: *765 examples: default: value: @@ -104506,8 +104950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -104527,8 +104971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104607,8 +105051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -104616,7 +105060,7 @@ paths: application/json: schema: type: array - items: &764 + items: &766 title: Tag protection description: Tag protection type: object @@ -104668,8 +105112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104692,7 +105136,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *766 examples: default: value: @@ -104723,8 +105167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *464 - - *465 + - *466 + - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104761,8 +105205,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -104798,8 +105242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *464 - - *465 + - *466 + - *467 - *17 - *19 responses: @@ -104809,9 +105253,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - default: *376 + default: *379 headers: Link: *43 '404': *6 @@ -104831,8 +105275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 - *19 - *17 responses: @@ -104840,7 +105284,7 @@ paths: description: Response content: application/json: - schema: &765 + schema: &767 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104852,7 +105296,7 @@ paths: required: - names examples: - default: &766 + default: &768 value: names: - octocat @@ -104875,8 +105319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -104907,9 +105351,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *767 examples: - default: *766 + default: *768 '404': *6 '422': *7 x-github: @@ -104930,9 +105374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *464 - - *465 - - &767 + - *466 + - *467 + - &769 name: per description: The time frame to display results for. in: query @@ -104961,7 +105405,7 @@ paths: example: 128 clones: type: array - items: &768 + items: &770 title: Traffic type: object properties: @@ -105048,8 +105492,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105139,8 +105583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *464 - - *465 + - *466 + - *467 responses: '200': description: Response @@ -105200,9 +105644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *464 - - *465 - - *767 + - *466 + - *467 + - *769 responses: '200': description: Response @@ -105221,7 +105665,7 @@ paths: example: 3782 views: type: array - items: *768 + items: *770 required: - uniques - count @@ -105298,8 +105742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *464 - - *465 + - *466 + - *467 requestBody: required: true content: @@ -105335,7 +105779,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -105573,8 +106017,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105597,8 +106041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105620,8 +106064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -105647,8 +106091,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *464 - - *465 + - *466 + - *467 - name: ref in: path required: true @@ -105740,9 +106184,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105783,7 +106227,7 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: default: value: @@ -105893,7 +106337,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &776 + - &778 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -105902,7 +106346,7 @@ paths: schema: type: string example: members - - &781 + - &783 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -105913,7 +106357,7 @@ paths: default: 1 format: int32 example: 1 - - &782 + - &784 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -105955,7 +106399,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &771 + items: &773 allOf: - type: object required: @@ -106030,7 +106474,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: &783 + meta: &785 type: object description: The metadata associated with the creation/updates to the user. @@ -106090,30 +106534,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &772 + '400': &774 description: Bad request content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '401': *770 - '403': &773 + schema: *771 + '401': *772 + '403': &775 description: Permission denied - '429': &774 + '429': &776 description: Too many requests content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '500': &775 + schema: *771 + '500': &777 description: Internal server error content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 + schema: *771 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106137,7 +106581,7 @@ paths: required: true content: application/json: - schema: &779 + schema: &781 type: object required: - schemas @@ -106197,9 +106641,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *771 + schema: *773 examples: - group: &777 + group: &779 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106218,13 +106662,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': *772 - '401': *770 - '403': *773 - '409': &780 + '400': *774 + '401': *772 + '403': *775 + '409': &782 description: Duplicate record detected - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106241,7 +106685,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: - - &778 + - &780 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106249,22 +106693,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *776 + - *778 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *771 + schema: *773 examples: - default: *777 - '400': *772 - '401': *770 - '403': *773 + default: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106283,13 +106727,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: *779 + schema: *781 examples: group: summary: Group @@ -106315,17 +106759,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - group: *777 - groupWithMembers: *777 - '400': *772 - '401': *770 - '403': *773 + group: *779 + groupWithMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106349,13 +106793,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: - - *778 + - *780 - *41 requestBody: required: true content: application/json: - schema: &790 + schema: &792 type: object required: - Operations @@ -106415,17 +106859,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *771 + schema: *773 examples: - updateGroup: *777 - addMembers: *777 - '400': *772 - '401': *770 - '403': *773 + updateGroup: *779 + addMembers: *779 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106441,17 +106885,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: - - *778 + - *780 - *41 responses: '204': description: Group was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106485,8 +106929,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *781 - - *782 + - *783 + - *784 - *41 responses: '200': @@ -106519,7 +106963,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &785 + items: &787 allOf: - type: object required: @@ -106598,7 +107042,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &784 + roles: &786 type: array description: The roles assigned to the user. items: @@ -106654,7 +107098,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *783 + meta: *785 startIndex: type: integer description: A starting index for the returned page @@ -106691,11 +107135,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *772 - '401': *770 - '403': *773 - '429': *774 - '500': *775 + '400': *774 + '401': *772 + '403': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106719,7 +107163,7 @@ paths: required: true content: application/json: - schema: &788 + schema: &790 type: object required: - schemas @@ -106801,9 +107245,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *784 + roles: *786 examples: - user: &789 + user: &791 summary: User value: schemas: @@ -106850,9 +107294,9 @@ paths: description: User has been created content: application/scim+json: - schema: *785 + schema: *787 examples: - user: &786 + user: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106878,13 +107322,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: *786 - '400': *772 - '401': *770 - '403': *773 - '409': *780 - '429': *774 - '500': *775 + enterpriseOwner: *788 + '400': *774 + '401': *772 + '403': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106901,7 +107345,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: - - &787 + - &789 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -106914,15 +107358,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *785 + schema: *787 examples: - default: *786 - '400': *772 - '401': *770 - '403': *773 + default: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106944,30 +107388,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *788 + schema: *790 examples: - user: *789 + user: *791 responses: '200': description: User was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - user: *786 - '400': *772 - '401': *770 - '403': *773 + user: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107002,13 +107446,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: - - *787 + - *789 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *792 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107048,18 +107492,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *785 + schema: *787 examples: - userMultiValuedProperties: *786 - userSingleValuedProperties: *786 - disableUser: *786 - '400': *772 - '401': *770 - '403': *773 + userMultiValuedProperties: *788 + userSingleValuedProperties: *788 + disableUser: *788 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '409': *780 - '429': *774 - '500': *775 + '409': *782 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107079,17 +107523,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: - - *787 + - *789 - *41 responses: '204': description: User was deleted, no content - '400': *772 - '401': *770 - '403': *773 + '400': *774 + '401': *772 + '403': *775 '404': *6 - '429': *774 - '500': *775 + '429': *776 + '500': *777 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107176,7 +107620,7 @@ paths: example: 1 Resources: type: array - items: &791 + items: &793 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107407,22 +107851,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': &792 + '404': &794 description: Resource not found content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '403': &793 + schema: *771 + '403': &795 description: Forbidden content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 - '429': *774 + schema: *771 + '400': *774 + '429': *776 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107448,9 +107892,9 @@ paths: description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: &794 + default: &796 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107473,17 +107917,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': *792 - '403': *793 - '500': *775 + '404': *794 + '403': *795 + '500': *777 '409': description: Conflict content: application/json: - schema: *769 + schema: *771 application/scim+json: - schema: *769 - '400': *772 + schema: *771 + '400': *774 requestBody: required: true content: @@ -107581,17 +108025,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 - '404': *792 - '403': *793 + default: *796 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -107615,18 +108059,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 + '404': *794 + '403': *795 requestBody: required: true content: @@ -107739,19 +108183,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *787 + - *789 responses: '200': description: Response content: application/scim+json: - schema: *791 + schema: *793 examples: - default: *794 + default: *796 '304': *37 - '404': *792 - '403': *793 - '400': *772 + '404': *794 + '403': *795 + '400': *774 '429': description: Response content: @@ -107842,12 +108286,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *787 + - *789 responses: '204': description: Response - '404': *792 - '403': *793 + '404': *794 + '403': *795 '304': *37 x-github: githubCloudOnly: true @@ -107962,7 +108406,7 @@ paths: html_url: type: string format: uri - repository: *277 + repository: *280 score: type: number file_size: @@ -107980,7 +108424,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &795 + text_matches: &797 title: Search Result Text Matches type: array items: @@ -108143,7 +108587,7 @@ paths: enum: - author-date - committer-date - - &796 + - &798 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 @@ -108214,7 +108658,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true comment_count: type: integer @@ -108234,7 +108678,7 @@ paths: url: type: string format: uri - verification: *643 + verification: *645 required: - author - committer @@ -108253,7 +108697,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *521 + properties: *523 nullable: true parents: type: array @@ -108266,12 +108710,12 @@ paths: type: string sha: type: string - repository: *277 + repository: *280 score: type: number node_id: type: string - text_matches: *795 + text_matches: *797 required: - sha - node_id @@ -108464,7 +108908,7 @@ paths: - interactions - created - updated - - *796 + - *798 - *17 - *19 - name: advanced_search @@ -108561,11 +109005,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: type: string state_reason: @@ -108582,8 +109026,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *399 - required: *400 + properties: *401 + required: *402 nullable: true comments: type: integer @@ -108597,7 +109041,7 @@ paths: type: string format: date-time nullable: true - text_matches: *795 + text_matches: *797 pull_request: type: object properties: @@ -108630,7 +109074,7 @@ paths: type: string score: type: number - author_association: *210 + author_association: *213 draft: type: boolean repository: *74 @@ -108641,7 +109085,7 @@ paths: timeline_url: type: string format: uri - type: *361 + type: *364 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -108651,9 +109095,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 - reactions: *211 + properties: *211 + required: *212 + reactions: *214 required: - assignee - closed_at @@ -108822,7 +109266,7 @@ paths: enum: - created - updated - - *796 + - *798 - *17 - *19 responses: @@ -108866,7 +109310,7 @@ paths: nullable: true score: type: number - text_matches: *795 + text_matches: *797 required: - id - node_id @@ -108952,7 +109396,7 @@ paths: - forks - help-wanted-issues - updated - - *796 + - *798 - *17 - *19 responses: @@ -109171,8 +109615,8 @@ paths: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true permissions: type: object @@ -109191,7 +109635,7 @@ paths: - admin - pull - push - text_matches: *795 + text_matches: *797 temp_clone_token: type: string allow_merge_commit: @@ -109492,7 +109936,7 @@ paths: type: string format: uri nullable: true - text_matches: *795 + text_matches: *797 related: type: array nullable: true @@ -109685,7 +110129,7 @@ paths: - followers - repositories - joined - - *796 + - *798 - *17 - *19 responses: @@ -109789,7 +110233,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *795 + text_matches: *797 blog: type: string nullable: true @@ -109868,7 +110312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &800 + - &802 name: team_id description: The unique identifier of the team. in: path @@ -109880,9 +110324,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -109909,7 +110353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -109972,16 +110416,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '201': description: Response content: application/json: - schema: *445 + schema: *447 examples: - default: *446 + default: *448 '404': *6 '422': *15 '403': *29 @@ -110009,7 +110453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *800 + - *802 responses: '204': description: Response @@ -110040,7 +110484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *800 + - *802 - *106 - *17 - *19 @@ -110051,9 +110495,9 @@ paths: application/json: schema: type: array - items: *447 + items: *449 examples: - default: *801 + default: *803 headers: Link: *43 x-github: @@ -110082,7 +110526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *800 + - *802 requestBody: required: true content: @@ -110116,9 +110560,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: triggersNotification: true githubCloudOnly: false @@ -110145,16 +110589,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110179,8 +110623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: false content: @@ -110203,9 +110647,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *802 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110230,8 +110674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 responses: '204': description: Response @@ -110260,8 +110704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *800 - - *449 + - *802 + - *451 - *106 - *17 - *19 @@ -110272,9 +110716,9 @@ paths: application/json: schema: type: array - items: *450 + items: *452 examples: - default: *803 + default: *805 headers: Link: *43 x-github: @@ -110303,8 +110747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: true content: @@ -110326,9 +110770,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: triggersNotification: true githubCloudOnly: false @@ -110355,17 +110799,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 responses: '200': description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *451 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110390,9 +110834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 requestBody: required: true content: @@ -110414,9 +110858,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: - default: *804 + default: *806 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110441,9 +110885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 responses: '204': description: Response @@ -110472,9 +110916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -110500,9 +110944,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -110531,9 +110975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *800 - - *449 - - *452 + - *802 + - *451 + - *454 requestBody: required: true content: @@ -110565,9 +111009,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110593,8 +111037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -110620,9 +111064,9 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: - default: *455 + default: *457 headers: Link: *43 x-github: @@ -110651,8 +111095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *800 - - *449 + - *802 + - *451 requestBody: required: true content: @@ -110684,9 +111128,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110710,7 +111154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -110720,9 +111164,9 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: - default: *359 + default: *362 headers: Link: *43 x-github: @@ -110748,7 +111192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *800 + - *802 - name: role description: Filters members returned by their role in the team. in: query @@ -110771,7 +111215,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '404': *6 @@ -110799,7 +111243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110836,7 +111280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110876,7 +111320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *800 + - *802 - *138 responses: '204': @@ -110913,16 +111357,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: - - *800 + - *802 - *138 responses: '200': description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-user-is-a-team-maintainer: *805 + response-if-user-is-a-team-maintainer: *807 '404': *6 x-github: githubCloudOnly: false @@ -110955,7 +111399,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: - - *800 + - *802 - *138 requestBody: required: false @@ -110981,9 +111425,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: - response-if-users-membership-with-team-is-now-pending: *806 + response-if-users-membership-with-team-is-now-pending: *808 '403': description: Forbidden if team synchronization is set up '422': @@ -111017,7 +111461,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: - - *800 + - *802 - *138 responses: '204': @@ -111046,7 +111490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111056,9 +111500,9 @@ paths: application/json: schema: type: array - items: *462 + items: *464 examples: - default: *807 + default: *809 headers: Link: *43 '404': *6 @@ -111084,16 +111528,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *800 - - *463 + - *802 + - *465 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: - default: *808 + default: *810 '404': description: Not Found if project is not managed by this team x-github: @@ -111117,8 +111561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *800 - - *463 + - *802 + - *465 requestBody: required: false content: @@ -111185,8 +111629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *800 - - *463 + - *802 + - *465 responses: '204': description: Response @@ -111213,7 +111657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111223,9 +111667,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '404': *6 @@ -111255,15 +111699,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *809 + schema: *811 examples: alternative-response-with-extra-repository-information: value: @@ -111414,9 +111858,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 requestBody: required: false content: @@ -111466,9 +111910,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: - - *800 - - *464 - - *465 + - *802 + - *466 + - *467 responses: '204': description: Response @@ -111497,15 +111941,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: - - *800 + - *802 responses: '200': description: Response content: application/json: - schema: *466 + schema: *468 examples: - default: *467 + default: *469 '403': *29 '404': *6 x-github: @@ -111532,7 +111976,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: - - *800 + - *802 requestBody: required: true content: @@ -111589,7 +112033,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: default: value: @@ -111620,7 +112064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *800 + - *802 - *17 - *19 responses: @@ -111630,9 +112074,9 @@ paths: application/json: schema: type: array - items: *304 + items: *307 examples: - response-if-child-teams-exist: *810 + response-if-child-teams-exist: *812 headers: Link: *43 '404': *6 @@ -111665,7 +112109,7 @@ paths: application/json: schema: oneOf: - - &812 + - &814 title: Private User description: Private User type: object @@ -111868,7 +112312,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *811 + - *813 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112021,7 +112465,7 @@ paths: description: Response content: application/json: - schema: *812 + schema: *814 examples: default: value: @@ -112100,7 +112544,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 '304': *37 '404': *6 '403': *29 @@ -112224,9 +112668,9 @@ paths: type: integer codespaces: type: array - items: *366 + items: *369 examples: - default: *367 + default: *370 '304': *37 '500': *40 '401': *25 @@ -112365,17 +112809,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -112419,7 +112863,7 @@ paths: type: integer secrets: type: array - items: &813 + items: &815 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112459,7 +112903,7 @@ paths: - visibility - selected_repositories_url examples: - default: *575 + default: *577 headers: Link: *43 x-github: @@ -112529,13 +112973,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '200': description: Response content: application/json: - schema: *813 + schema: *815 examples: default: value: @@ -112565,7 +113009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 requestBody: required: true content: @@ -112610,7 +113054,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -112638,7 +113082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *287 + - *290 responses: '204': description: Response @@ -112663,7 +113107,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 responses: '200': description: Response @@ -112679,9 +113123,9 @@ paths: type: integer repositories: type: array - items: *277 + items: *280 examples: - default: *814 + default: *816 '401': *25 '403': *29 '404': *6 @@ -112706,7 +113150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *287 + - *290 requestBody: required: true content: @@ -112760,7 +113204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -112793,7 +113237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *287 + - *290 - name: repository_id in: path required: true @@ -112825,15 +113269,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '304': *37 '500': *40 '401': *25 @@ -112859,7 +113303,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: - - *368 + - *371 requestBody: required: false content: @@ -112889,9 +113333,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '401': *25 '403': *29 '404': *6 @@ -112913,7 +113357,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: - - *368 + - *371 responses: '202': *39 '304': *37 @@ -112942,13 +113386,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: - - *368 + - *371 responses: '202': description: Response content: application/json: - schema: &815 + schema: &817 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112989,7 +113433,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &816 + default: &818 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113021,7 +113465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *368 + - *371 - name: export_id in: path required: true @@ -113034,9 +113478,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *817 examples: - default: *816 + default: *818 '404': *6 x-github: githubCloudOnly: false @@ -113057,7 +113501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *368 + - *371 responses: '200': description: Response @@ -113073,9 +113517,9 @@ paths: type: integer machines: type: array - items: *817 + items: *819 examples: - default: *818 + default: *820 '304': *37 '500': *40 '401': *25 @@ -113104,7 +113548,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: - - *368 + - *371 requestBody: required: true content: @@ -113154,13 +113598,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *477 + repository: *479 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *573 - required: *574 + properties: *575 + required: *576 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113934,15 +114378,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '304': *37 '500': *40 '400': *14 @@ -113974,15 +114418,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: - - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *572 + default: *574 '500': *40 '401': *25 '403': *29 @@ -114012,9 +114456,9 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: &829 + default: &831 value: - id: 197 name: hello_docker @@ -114115,7 +114559,7 @@ paths: application/json: schema: type: array - items: &819 + items: &821 title: Email description: Email type: object @@ -114180,9 +114624,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: &831 + default: &833 value: - email: octocat@github.com verified: true @@ -114257,7 +114701,7 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: default: value: @@ -114367,7 +114811,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114400,7 +114844,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 '304': *37 @@ -114513,7 +114957,7 @@ paths: application/json: schema: type: array - items: &820 + items: &822 title: GPG Key description: A unique encryption key type: object @@ -114644,7 +115088,7 @@ paths: - subkeys - revoked examples: - default: &845 + default: &847 value: - id: 3 name: Octocat's GPG Key @@ -114729,9 +115173,9 @@ paths: description: Response content: application/json: - schema: *820 + schema: *822 examples: - default: &821 + default: &823 value: id: 3 name: Octocat's GPG Key @@ -114788,7 +115232,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: - - &822 + - &824 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114800,9 +115244,9 @@ paths: description: Response content: application/json: - schema: *820 + schema: *822 examples: - default: *821 + default: *823 '404': *6 '304': *37 '403': *29 @@ -114825,7 +115269,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: - - *822 + - *824 responses: '204': description: Response @@ -115016,7 +115460,7 @@ paths: type: array items: *74 examples: - default: *272 + default: *275 headers: Link: *43 '404': *6 @@ -115041,7 +115485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *271 + - *274 responses: '204': description: Response @@ -115067,7 +115511,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *271 + - *274 responses: '204': description: Response @@ -115101,12 +115545,12 @@ paths: application/json: schema: anyOf: - - *356 + - *359 - type: object properties: {} additionalProperties: false examples: - default: *357 + default: *360 '204': description: Response when there are no restrictions x-github: @@ -115130,7 +115574,7 @@ paths: required: true content: application/json: - schema: *654 + schema: *656 examples: default: value: @@ -115141,7 +115585,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -115222,7 +115666,7 @@ paths: - closed - all default: open - - *364 + - *367 - name: sort description: What to sort results by. in: query @@ -115235,7 +115679,7 @@ paths: - comments default: created - *106 - - *213 + - *216 - *17 - *19 responses: @@ -115245,9 +115689,9 @@ paths: application/json: schema: type: array - items: *223 + items: *226 examples: - default: *365 + default: *368 headers: Link: *43 '404': *6 @@ -115280,7 +115724,7 @@ paths: application/json: schema: type: array - items: &823 + items: &825 title: Key description: Key type: object @@ -115381,9 +115825,9 @@ paths: description: Response content: application/json: - schema: *823 + schema: *825 examples: - default: &824 + default: &826 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115416,15 +115860,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: - - *683 + - *685 responses: '200': description: Response content: application/json: - schema: *823 + schema: *825 examples: - default: *824 + default: *826 '404': *6 '304': *37 '403': *29 @@ -115447,7 +115891,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: - - *683 + - *685 responses: '204': description: Response @@ -115480,7 +115924,7 @@ paths: application/json: schema: type: array - items: &825 + items: &827 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115537,7 +115981,7 @@ paths: - id - type - login - plan: *227 + plan: *230 required: - billing_cycle - next_billing_date @@ -115548,7 +115992,7 @@ paths: - account - plan examples: - default: &826 + default: &828 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115610,9 +116054,9 @@ paths: application/json: schema: type: array - items: *825 + items: *827 examples: - default: *826 + default: *828 headers: Link: *43 '304': *37 @@ -115652,7 +116096,7 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: default: value: @@ -115760,7 +116204,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -115843,7 +116287,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -115911,7 +116355,7 @@ paths: application/json: schema: type: array - items: *371 + items: *374 examples: default: value: @@ -116164,7 +116608,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -116344,7 +116788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *372 + - *375 - name: exclude in: query required: false @@ -116357,7 +116801,7 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: default: value: @@ -116551,7 +116995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *372 + - *375 responses: '302': description: Response @@ -116577,7 +117021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *372 + - *375 responses: '204': description: Response @@ -116606,8 +117050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *372 - - *827 + - *375 + - *829 responses: '204': description: Response @@ -116631,7 +117075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *372 + - *375 - *17 - *19 responses: @@ -116641,9 +117085,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '404': *6 @@ -116680,7 +117124,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 '304': *37 @@ -116722,7 +117166,7 @@ paths: - docker - nuget - container - - *828 + - *830 - *19 - *17 responses: @@ -116732,10 +117176,10 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 - '400': *830 + default: *831 + '400': *832 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116755,16 +117199,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: - - *379 - - *380 + - *382 + - *383 responses: '200': description: Response content: application/json: - schema: *377 + schema: *380 examples: - default: &846 + default: &848 value: id: 40201 name: octo-name @@ -116877,8 +117321,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: - - *379 - - *380 + - *382 + - *383 responses: '204': description: Response @@ -116908,8 +117352,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: - - *379 - - *380 + - *382 + - *383 - name: token description: package token schema: @@ -116941,8 +117385,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: - - *379 - - *380 + - *382 + - *383 - *19 - *17 - name: state @@ -116962,7 +117406,7 @@ paths: application/json: schema: type: array - items: *381 + items: *384 examples: default: value: @@ -117011,15 +117455,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -117055,9 +117499,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '204': description: Response @@ -117087,9 +117531,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: - - *379 - - *380 - *382 + - *383 + - *385 responses: '204': description: Response @@ -117145,7 +117589,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -117217,9 +117661,9 @@ paths: application/json: schema: type: array - items: *819 + items: *821 examples: - default: *831 + default: *833 headers: Link: *43 '304': *37 @@ -117332,7 +117776,7 @@ paths: type: array items: *74 examples: - default: &838 + default: &840 summary: Default response value: - id: 1296269 @@ -117636,9 +118080,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *479 examples: - default: *479 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117676,9 +118120,9 @@ paths: application/json: schema: type: array - items: *656 + items: *658 examples: - default: *832 + default: *834 headers: Link: *43 '304': *37 @@ -117701,7 +118145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *360 + - *363 responses: '204': description: Response @@ -117724,7 +118168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *360 + - *363 responses: '204': description: Response @@ -117757,7 +118201,7 @@ paths: application/json: schema: type: array - items: &833 + items: &835 title: Social account description: Social media account type: object @@ -117772,7 +118216,7 @@ paths: - provider - url examples: - default: &834 + default: &836 value: - provider: twitter url: https://twitter.com/github @@ -117834,9 +118278,9 @@ paths: application/json: schema: type: array - items: *833 + items: *835 examples: - default: *834 + default: *836 '422': *15 '304': *37 '404': *6 @@ -117923,7 +118367,7 @@ paths: application/json: schema: type: array - items: &835 + items: &837 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117943,7 +118387,7 @@ paths: - title - created_at examples: - default: &849 + default: &853 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118009,9 +118453,9 @@ paths: description: Response content: application/json: - schema: *835 + schema: *837 examples: - default: &836 + default: &838 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118042,7 +118486,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: - - &837 + - &839 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118054,9 +118498,9 @@ paths: description: Response content: application/json: - schema: *835 + schema: *837 examples: - default: *836 + default: *838 '404': *6 '304': *37 '403': *29 @@ -118079,7 +118523,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: - - *837 + - *839 responses: '204': description: Response @@ -118108,7 +118552,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: - - &850 + - &854 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 @@ -118133,11 +118577,11 @@ paths: type: array items: *74 examples: - default-response: *838 + default-response: *840 application/vnd.github.v3.star+json: schema: type: array - items: &851 + items: &855 title: Starred Repository description: Starred Repository type: object @@ -118293,8 +118737,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response if this repository is starred by you @@ -118322,8 +118766,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -118347,8 +118791,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: - - *464 - - *465 + - *466 + - *467 responses: '204': description: Response @@ -118381,9 +118825,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 '304': *37 @@ -118420,7 +118864,7 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: default: value: @@ -118498,7 +118942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *229 + - *232 responses: '200': description: Response @@ -118506,10 +118950,10 @@ paths: application/json: schema: oneOf: - - *812 - - *811 + - *814 + - *813 examples: - default-response: &840 + default-response: &842 summary: Default response value: login: octocat @@ -118544,7 +118988,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &841 + response-with-git-hub-plan-information: &843 summary: Response with GitHub plan information value: login: octocat @@ -118604,7 +119048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *839 + - *841 - *17 responses: '200': @@ -118615,7 +119059,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: example: ; rel="next" @@ -118653,11 +119097,11 @@ paths: application/json: schema: oneOf: - - *812 - - *811 + - *814 + - *813 examples: - default-response: *840 - response-with-git-hub-plan-information: *841 + default-response: *842 + response-with-git-hub-plan-information: *843 '404': *6 x-github: githubCloudOnly: false @@ -118707,8 +119151,8 @@ paths: required: - subject_digests examples: - default: *842 - withPredicateType: *843 + default: *844 + withPredicateType: *845 responses: '200': description: Response @@ -118761,7 +119205,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *844 + default: *846 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118966,12 +119410,12 @@ paths: initiator: type: string examples: - default: *517 + default: *519 '201': description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -119005,9 +119449,9 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 + default: *831 '403': *29 '401': *25 x-github: @@ -119040,7 +119484,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119113,7 +119557,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119200,7 +119644,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -119270,7 +119714,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119301,7 +119745,7 @@ paths: type: array items: *4 examples: - default: *203 + default: *206 headers: Link: *43 x-github: @@ -119348,7 +119792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *138 - - *213 + - *216 - *17 - *19 responses: @@ -119358,9 +119802,9 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: - default: *215 + default: *218 headers: Link: *43 '422': *15 @@ -119391,9 +119835,9 @@ paths: application/json: schema: type: array - items: *820 + items: *822 examples: - default: *845 + default: *847 headers: Link: *43 x-github: @@ -119497,7 +119941,7 @@ paths: application/json: schema: *22 examples: - default: *653 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119582,7 +120026,7 @@ paths: type: array items: *69 examples: - default: *240 + default: *243 headers: Link: *43 x-github: @@ -119621,7 +120065,7 @@ paths: - docker - nuget - container - - *828 + - *830 - *138 - *19 - *17 @@ -119632,12 +120076,12 @@ paths: application/json: schema: type: array - items: *377 + items: *380 examples: - default: *829 + default: *831 '403': *29 '401': *25 - '400': *830 + '400': *832 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119657,17 +120101,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 responses: '200': description: Response content: application/json: - schema: *377 + schema: *380 examples: - default: *846 + default: *848 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119688,8 +120132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 responses: '204': @@ -119722,8 +120166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *379 - - *380 + - *382 + - *383 - *138 - name: token description: package token @@ -119756,8 +120200,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: - - *379 - - *380 + - *382 + - *383 - *138 responses: '200': @@ -119766,7 +120210,7 @@ paths: application/json: schema: type: array - items: *381 + items: *384 examples: default: value: @@ -119824,16 +120268,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: - - *379 - - *380 - *382 + - *383 + - *385 - *138 responses: '200': description: Response content: application/json: - schema: *381 + schema: *384 examples: default: value: @@ -119868,10 +120312,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *379 - - *380 - - *138 - *382 + - *383 + - *138 + - *385 responses: '204': description: Response @@ -119903,10 +120347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *379 - - *380 - - *138 - *382 + - *383 + - *138 + - *385 responses: '204': description: Response @@ -119953,7 +120397,7 @@ paths: application/json: schema: type: array - items: *393 + items: *396 examples: default: value: @@ -120028,9 +120472,9 @@ paths: application/json: schema: type: array - items: *394 + items: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -120052,16 +120496,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *396 + - *399 - *138 responses: '200': description: Response content: application/json: - schema: *394 + schema: *397 examples: - default: *395 + default: *398 headers: Link: *43 '304': *37 @@ -120083,7 +120527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *396 + - *399 - *138 - *17 - *104 @@ -120095,9 +120539,9 @@ paths: application/json: schema: type: array - items: *397 + items: *400 examples: - default: *398 + default: *849 headers: Link: *43 '304': *37 @@ -120119,17 +120563,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *396 - - *847 + - *399 + - *850 - *138 responses: '200': description: Response content: application/json: - schema: *397 + schema: *400 examples: - default: *398 + default: *851 headers: Link: *43 '304': *37 @@ -120152,7 +120596,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: - - *396 + - *399 - *138 - *104 - *105 @@ -120185,9 +120629,9 @@ paths: application/json: schema: type: array - items: *404 + items: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -120209,7 +120653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *396 + - *399 requestBody: required: true description: Details of the item to add to the project. @@ -120246,10 +120690,10 @@ paths: description: Response content: application/json: - schema: *848 + schema: *852 examples: - issue: *403 - pull_request: *403 + issue: *405 + pull_request: *405 '304': *37 '403': *29 '401': *25 @@ -120269,9 +120713,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: - - *396 + - *399 - *138 - - *406 + - *408 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120291,9 +120735,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 headers: Link: *43 '304': *37 @@ -120314,9 +120758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *396 + - *399 - *138 - - *406 + - *408 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120386,13 +120830,13 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - text_field: *405 - number_field: *405 - date_field: *405 - single_select_field: *405 - iteration_field: *405 + text_field: *407 + number_field: *407 + date_field: *407 + single_select_field: *407 + iteration_field: *407 '401': *25 '403': *29 '404': *6 @@ -120412,9 +120856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *396 + - *399 - *138 - - *406 + - *408 responses: '204': description: Response @@ -120451,7 +120895,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120526,7 +120970,7 @@ paths: application/json: schema: type: array - items: *235 + items: *238 examples: default: value: @@ -120632,9 +121076,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -120664,9 +121108,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120694,9 +121138,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120718,10 +121162,10 @@ paths: parameters: - *138 - *196 - - *243 + - *198 - *197 - - *245 - - *246 + - *247 + - *200 responses: '200': description: Response when getting a billing premium request usage report @@ -120857,9 +121301,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120881,7 +121325,7 @@ paths: parameters: - *138 - *196 - - *247 + - *248 - *197 responses: '200': @@ -120959,6 +121403,141 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - *138 + - *196 + - *198 + - *197 + - *251 + - *200 + - *252 + responses: + '200': + description: Response when getting a billing usage summary report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *190 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -120981,9 +121560,9 @@ paths: application/json: schema: type: array - items: *833 + items: *835 examples: - default: *834 + default: *836 headers: Link: *43 x-github: @@ -121013,9 +121592,9 @@ paths: application/json: schema: type: array - items: *835 + items: *837 examples: - default: *849 + default: *853 headers: Link: *43 x-github: @@ -121040,7 +121619,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *850 + - *854 - *106 - *17 - *19 @@ -121052,11 +121631,11 @@ paths: schema: anyOf: - type: array - items: *851 + items: *855 - type: array items: *74 examples: - default-response: *838 + default-response: *840 headers: Link: *43 x-github: @@ -121085,9 +121664,9 @@ paths: application/json: schema: type: array - items: *277 + items: *280 examples: - default: *383 + default: *386 headers: Link: *43 x-github: @@ -121215,7 +121794,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &852 + enterprise: &856 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121273,7 +121852,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &853 + installation: &857 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121292,7 +121871,7 @@ x-webhooks: required: - id - node_id - organization: &854 + organization: &858 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121352,13 +121931,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &855 + repository: &859 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: &892 + properties: &896 id: description: Unique identifier of the repository example: 42 @@ -121378,8 +121957,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *224 - required: *225 + properties: *227 + required: *228 nullable: true organization: title: Simple User @@ -122041,7 +122620,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &893 + required: &897 - archive_url - assignees_url - blobs_url @@ -122192,10 +122771,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -122271,11 +122850,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: &856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: &860 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) @@ -122498,11 +123077,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: *856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -122685,11 +123264,11 @@ x-webhooks: - everyone required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - rule: *856 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + rule: *860 sender: *4 required: - action @@ -122760,7 +123339,7 @@ x-webhooks: required: true content: application/json: - schema: &859 + schema: &863 title: Exemption request cancellation event type: object properties: @@ -122768,11 +123347,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: &857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: &861 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123005,7 +123584,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &858 + items: &862 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123113,7 +123692,7 @@ x-webhooks: required: true content: application/json: - schema: &860 + schema: &864 title: Exemption request completed event type: object properties: @@ -123121,11 +123700,11 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -123195,7 +123774,7 @@ x-webhooks: required: true content: application/json: - schema: &861 + schema: &865 title: Exemption request created event type: object properties: @@ -123203,11 +123782,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 sender: *4 required: - action @@ -123277,7 +123856,7 @@ x-webhooks: required: true content: application/json: - schema: &862 + schema: &866 title: Exemption response dismissed event type: object properties: @@ -123285,12 +123864,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 - exemption_response: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -123362,7 +123941,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &867 title: Exemption response submitted event type: object properties: @@ -123370,12 +123949,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - exemption_request: *857 - exemption_response: *858 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + exemption_request: *861 + exemption_response: *862 sender: *4 required: - action @@ -123448,7 +124027,7 @@ x-webhooks: required: true content: application/json: - schema: *859 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123515,7 +124094,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123582,7 +124161,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123649,7 +124228,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123717,7 +124296,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123795,7 +124374,7 @@ x-webhooks: type: string enum: - completed - check_run: &865 + check_run: &869 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123848,8 +124427,8 @@ x-webhooks: type: string pull_requests: type: array - items: *534 - repository: *277 + items: *536 + repository: *280 status: example: completed type: string @@ -123886,7 +124465,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *864 + deployment: *868 details_url: example: https://example.com type: string @@ -123936,7 +124515,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *534 + items: *536 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -123971,10 +124550,10 @@ x-webhooks: - output - app - pull_requests - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124367,11 +124946,11 @@ x-webhooks: type: string enum: - created - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -124767,11 +125346,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 requested_action: description: The action requested by the user. type: object @@ -125176,11 +125755,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *865 - installation: *853 - enterprise: *852 - organization: *854 - repository: *855 + check_run: *869 + installation: *857 + enterprise: *856 + organization: *858 + repository: *859 sender: *4 required: - check_run @@ -126157,10 +126736,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -126830,10 +127409,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127497,10 +128076,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -127666,7 +128245,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127811,20 +128390,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &866 + commit_oid: &870 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: *852 - installation: *853 - organization: *854 - ref: &867 + enterprise: *856 + installation: *857 + organization: *858 + ref: &871 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: *855 + repository: *859 sender: *4 required: - action @@ -127989,7 +128568,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128219,12 +128798,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128319,7 +128898,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + 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 @@ -128490,12 +129069,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128661,7 +129240,7 @@ x-webhooks: required: - login - id - dismissed_comment: *547 + dismissed_comment: *549 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128827,12 +129406,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -128932,7 +129511,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *547 + 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 @@ -129100,16 +129679,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 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: *855 + repository: *859 sender: *4 required: - action @@ -129206,7 +129785,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *547 + 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 @@ -129346,12 +129925,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *866 - enterprise: *852 - installation: *853 - organization: *854 - ref: *867 - repository: *855 + commit_oid: *870 + enterprise: *856 + installation: *857 + organization: *858 + ref: *871 + repository: *859 sender: *4 required: - action @@ -129608,10 +130187,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -129691,18 +130270,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *854 - pusher_type: &868 + organization: *858 + pusher_type: &872 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &869 + ref: &873 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129712,7 +130291,7 @@ x-webhooks: enum: - tag - branch - repository: *855 + repository: *859 sender: *4 required: - ref @@ -129795,9 +130374,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -129882,9 +130461,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -129962,9 +130541,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130042,9 +130621,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -130121,10 +130700,10 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - repository: *855 - organization: *854 + enterprise: *856 + installation: *857 + repository: *859 + organization: *858 sender: *4 new_property_values: type: array @@ -130209,18 +130788,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - pusher_type: *868 - ref: *869 + enterprise: *856 + installation: *857 + organization: *858 + pusher_type: *872 + ref: *873 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *855 + repository: *859 sender: *4 required: - ref @@ -130304,11 +130883,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130392,11 +130971,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130480,11 +131059,11 @@ x-webhooks: type: string enum: - created - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130566,11 +131145,11 @@ x-webhooks: type: string enum: - dismissed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130652,11 +131231,11 @@ x-webhooks: type: string enum: - fixed - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130739,11 +131318,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130825,11 +131404,11 @@ x-webhooks: type: string enum: - reopened - alert: *603 - installation: *853 - organization: *854 - enterprise: *852 - repository: *855 + alert: *605 + installation: *857 + organization: *858 + enterprise: *856 + repository: *859 sender: *4 required: - action @@ -130906,9 +131485,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - key: &870 + enterprise: *856 + installation: *857 + key: &874 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130944,8 +131523,8 @@ x-webhooks: - verified - created_at - read_only - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131022,11 +131601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - key: *870 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + key: *874 + organization: *858 + repository: *859 sender: *4 required: - action @@ -131587,12 +132166,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: &874 + workflow: &878 title: Workflow type: object nullable: true @@ -132318,13 +132897,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *609 + deployment: *611 pull_requests: type: array - items: *704 - repository: *855 - organization: *854 - installation: *853 + items: *706 + repository: *859 + organization: *858 + installation: *857 sender: *4 responses: '200': @@ -132395,7 +132974,7 @@ x-webhooks: type: string enum: - approved - approver: &871 + approver: &875 type: object properties: avatar_url: @@ -132438,11 +133017,11 @@ x-webhooks: type: string comment: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - reviewers: &872 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: &876 type: array items: type: object @@ -132521,7 +133100,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &873 + workflow_job_run: &877 type: object properties: conclusion: @@ -133252,18 +133831,18 @@ x-webhooks: type: string enum: - rejected - approver: *871 + approver: *875 comment: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - reviewers: *872 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + reviewers: *876 sender: *4 since: type: string - workflow_job_run: *873 + workflow_job_run: *877 workflow_job_runs: type: array items: @@ -133967,13 +134546,13 @@ x-webhooks: type: string enum: - requested - enterprise: *852 + enterprise: *856 environment: type: string - installation: *853 - organization: *854 - repository: *855 - requestor: &879 + installation: *857 + organization: *858 + repository: *859 + requestor: &883 title: User type: object nullable: true @@ -135872,12 +136451,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Deployment Workflow Run type: object @@ -136557,7 +137136,7 @@ x-webhooks: type: string enum: - answered - answer: &877 + answer: &881 type: object properties: author_association: @@ -136714,7 +137293,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &875 + discussion: &879 title: Discussion description: A Discussion in a repository. type: object @@ -137000,7 +137579,7 @@ x-webhooks: - id labels: type: array - items: *666 + items: *668 required: - repository_url - category @@ -137022,10 +137601,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137152,11 +137731,11 @@ x-webhooks: - from required: - category - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137239,11 +137818,11 @@ x-webhooks: type: string enum: - closed - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137325,7 +137904,7 @@ x-webhooks: type: string enum: - created - comment: &876 + comment: &880 type: object properties: author_association: @@ -137482,11 +138061,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137569,12 +138148,12 @@ x-webhooks: type: string enum: - deleted - comment: *876 - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + comment: *880 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137669,12 +138248,12 @@ x-webhooks: - from required: - body - comment: *876 - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + comment: *880 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137758,11 +138337,11 @@ x-webhooks: type: string enum: - created - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137844,11 +138423,11 @@ x-webhooks: type: string enum: - deleted - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -137948,11 +138527,11 @@ x-webhooks: type: string required: - from - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138034,10 +138613,10 @@ x-webhooks: type: string enum: - labeled - discussion: *875 - enterprise: *852 - installation: *853 - label: &878 + discussion: *879 + enterprise: *856 + installation: *857 + label: &882 title: Label type: object properties: @@ -138069,8 +138648,8 @@ x-webhooks: - color - default - description - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138153,11 +138732,11 @@ x-webhooks: type: string enum: - locked - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138239,11 +138818,11 @@ x-webhooks: type: string enum: - pinned - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138325,11 +138904,11 @@ x-webhooks: type: string enum: - reopened - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138414,16 +138993,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *875 - new_repository: *855 + new_discussion: *879 + new_repository: *859 required: - new_discussion - new_repository - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138506,10 +139085,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *875 - old_answer: *877 - organization: *854 - repository: *855 + discussion: *879 + old_answer: *881 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138591,12 +139170,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *875 - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138679,11 +139258,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138765,11 +139344,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *875 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + discussion: *879 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -138838,7 +139417,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138901,7 +139480,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138967,7 +139546,7 @@ x-webhooks: required: true content: application/json: - schema: *859 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139033,7 +139612,7 @@ x-webhooks: required: true content: application/json: - schema: *860 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139099,7 +139678,7 @@ x-webhooks: required: true content: application/json: - schema: *861 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139165,7 +139744,7 @@ x-webhooks: required: true content: application/json: - schema: *862 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139231,7 +139810,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139298,7 +139877,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *852 + enterprise: *856 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139958,9 +140537,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - forkee @@ -140106,9 +140685,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pages: description: The pages that were updated. type: array @@ -140145,7 +140724,7 @@ x-webhooks: - action - sha - html_url - repository: *855 + repository: *859 sender: *4 required: - pages @@ -140221,10 +140800,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: &880 + organization: *858 + repositories: &884 description: An array of repository objects that the installation can access. type: array @@ -140250,8 +140829,8 @@ x-webhooks: - name - full_name - private - repository: *855 - requester: *879 + repository: *859 + requester: *883 sender: *4 required: - action @@ -140326,11 +140905,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140406,11 +140985,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140486,10 +141065,10 @@ x-webhooks: type: string enum: - added - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories_added: &881 + organization: *858 + repositories_added: &885 description: An array of repository objects, which were added to the installation. type: array @@ -140535,15 +141114,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *855 - repository_selection: &882 + repository: *859 + repository_selection: &886 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *879 + requester: *883 sender: *4 required: - action @@ -140622,10 +141201,10 @@ x-webhooks: type: string enum: - removed - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories_added: *881 + organization: *858 + repositories_added: *885 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140652,9 +141231,9 @@ x-webhooks: - name - full_name - private - repository: *855 - repository_selection: *882 - requester: *879 + repository: *859 + repository_selection: *886 + requester: *883 sender: *4 required: - action @@ -140733,11 +141312,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -140916,10 +141495,10 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 target_type: type: string @@ -140998,11 +141577,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *852 + enterprise: *856 installation: *22 - organization: *854 - repositories: *880 - repository: *855 + organization: *858 + repositories: *884 + repository: *859 requester: nullable: true sender: *4 @@ -141126,8 +141705,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *208 - required: *209 + properties: *211 + required: *212 reactions: title: Reactions type: object @@ -141254,8 +141833,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142049,8 +142628,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142066,7 +142645,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -142399,8 +142978,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -142480,7 +143059,7 @@ x-webhooks: type: string enum: - deleted - comment: &883 + comment: &887 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142645,8 +143224,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143436,8 +144015,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143453,7 +144032,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -143788,8 +144367,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -143869,7 +144448,7 @@ x-webhooks: type: string enum: - edited - changes: &912 + changes: &916 description: The changes to the comment. type: object properties: @@ -143881,9 +144460,9 @@ x-webhooks: type: string required: - from - comment: *883 - enterprise: *852 - installation: *853 + comment: *887 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144676,8 +145255,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144693,7 +145272,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -145026,8 +145605,8 @@ x-webhooks: - state - locked - assignee - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145111,15 +145690,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145207,15 +145786,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 + blocking_issue: *226 blocking_issue_repo: *74 - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145302,15 +145881,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *853 - organization: *854 - repository: *855 + blocking_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145398,15 +145977,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *223 + blocked_issue: *226 blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *223 - installation: *853 - organization: *854 - repository: *855 + blocking_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -145491,10 +146070,10 @@ x-webhooks: type: string enum: - assigned - assignee: *879 - enterprise: *852 - installation: *853 - issue: &886 + assignee: *883 + enterprise: *856 + installation: *857 + issue: &890 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146283,11 +146862,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146303,7 +146882,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -146404,8 +146983,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -146485,8 +147064,8 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147280,11 +147859,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147300,7 +147879,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -147536,8 +148115,8 @@ x-webhooks: required: - state - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -147616,8 +148195,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148402,11 +148981,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148422,7 +149001,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -148522,8 +149101,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -148602,8 +149181,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149410,11 +149989,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149430,7 +150009,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -149509,7 +150088,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &884 + milestone: &888 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149647,8 +150226,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -149747,8 +150326,8 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150537,11 +151116,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150554,7 +151133,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -150658,9 +151237,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *878 - organization: *854 - repository: *855 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -150740,8 +151319,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151529,11 +152108,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151546,7 +152125,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -151650,9 +152229,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *878 - organization: *854 - repository: *855 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -151732,8 +152311,8 @@ x-webhooks: type: string enum: - locked - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152545,11 +153124,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152562,7 +153141,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *361 + type: *364 title: description: Title of the issue type: string @@ -152643,8 +153222,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -152723,8 +153302,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153530,11 +154109,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153550,7 +154129,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -153628,9 +154207,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *884 - organization: *854 - repository: *855 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -154498,11 +155077,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154595,7 +155174,7 @@ x-webhooks: required: - login - id - type: *361 + type: *364 required: - id - number @@ -155064,8 +155643,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155854,11 +156433,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155874,7 +156453,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -155974,8 +156553,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -156055,9 +156634,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *852 - installation: *853 - issue: &885 + enterprise: *856 + installation: *857 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156840,11 +157419,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156860,7 +157439,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -156960,8 +157539,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -157040,8 +157619,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157851,11 +158430,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157949,9 +158528,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *361 - organization: *854 - repository: *855 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -158817,11 +159396,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158837,7 +159416,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -159405,11 +159984,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *852 - installation: *853 - issue: *885 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159489,12 +160068,12 @@ x-webhooks: type: string enum: - typed - enterprise: *852 - installation: *853 - issue: *886 - type: *361 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159575,7 +160154,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &915 + assignee: &919 title: User type: object nullable: true @@ -159645,11 +160224,11 @@ x-webhooks: required: - login - id - enterprise: *852 - installation: *853 - issue: *886 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159728,12 +160307,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *852 - installation: *853 - issue: *886 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -159813,8 +160392,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160624,11 +161203,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *797 - issue_dependencies_summary: *798 + sub_issues_summary: *799 + issue_dependencies_summary: *800 issue_field_values: type: array - items: *799 + items: *801 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160644,7 +161223,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *361 + type: *364 updated_at: type: string format: date-time @@ -160722,8 +161301,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160803,11 +161382,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *852 - installation: *853 - issue: *885 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *889 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160886,12 +161465,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *852 - installation: *853 - issue: *886 - type: *361 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + issue: *890 + type: *364 + organization: *858 + repository: *859 sender: *4 required: - action @@ -160971,11 +161550,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161053,11 +161632,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161167,11 +161746,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - label: *878 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + label: *882 + organization: *858 + repository: *859 sender: *4 required: - action @@ -161253,9 +161832,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: &887 + enterprise: *856 + installation: *857 + marketplace_purchase: &891 title: Marketplace Purchase type: object required: @@ -161338,8 +161917,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *854 - previous_marketplace_purchase: &888 + organization: *858 + previous_marketplace_purchase: &892 title: Marketplace Purchase type: object properties: @@ -161419,7 +161998,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161499,10 +162078,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161585,7 +162164,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161667,10 +162246,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161752,7 +162331,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *855 + repository: *859 sender: *4 required: - action @@ -161833,8 +162412,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 marketplace_purchase: title: Marketplace Purchase type: object @@ -161916,9 +162495,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *854 - previous_marketplace_purchase: *888 - repository: *855 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -161998,12 +162577,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *852 - installation: *853 - marketplace_purchase: *887 - organization: *854 - previous_marketplace_purchase: *888 - repository: *855 + enterprise: *856 + installation: *857 + marketplace_purchase: *891 + organization: *858 + previous_marketplace_purchase: *892 + repository: *859 sender: *4 required: - action @@ -162105,11 +162684,11 @@ x-webhooks: type: string required: - to - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162209,11 +162788,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162292,11 +162871,11 @@ x-webhooks: type: string enum: - removed - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162374,11 +162953,11 @@ x-webhooks: type: string enum: - added - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162454,7 +163033,7 @@ x-webhooks: required: - login - id - team: &889 + team: &893 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162677,11 +163256,11 @@ x-webhooks: type: string enum: - removed - enterprise: *852 - installation: *853 - member: *879 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + member: *883 + organization: *858 + repository: *859 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162758,7 +163337,7 @@ x-webhooks: required: - login - id - team: *889 + team: *893 required: - action - scope @@ -162840,8 +163419,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *853 - merge_group: &891 + installation: *857 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162860,15 +163439,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *890 + head_commit: *894 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -162954,10 +163533,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *853 - merge_group: *891 - organization: *854 - repository: *855 + installation: *857 + merge_group: *895 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163030,7 +163609,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 + enterprise: *856 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163139,16 +163718,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *853 - organization: *854 + installation: *857 + organization: *858 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -163229,11 +163808,11 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163312,9 +163891,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - milestone: &894 + enterprise: *856 + installation: *857 + milestone: &898 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163451,8 +164030,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163531,11 +164110,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163645,11 +164224,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - milestone: *884 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *888 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163729,11 +164308,11 @@ x-webhooks: type: string enum: - opened - enterprise: *852 - installation: *853 - milestone: *894 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + milestone: *898 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163812,11 +164391,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *879 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163895,11 +164474,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *879 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + blocked_user: *883 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -163975,7 +164554,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *852 + enterprise: *856 sender: *4 required: - action @@ -164055,8 +164634,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164129,8 +164708,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 sender: *4 required: - action @@ -164202,9 +164781,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 new_property_values: type: array @@ -164292,9 +164871,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - membership: &895 + enterprise: *856 + installation: *857 + membership: &899 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164401,8 +164980,8 @@ x-webhooks: - role - organization_url - user - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164480,11 +165059,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164563,8 +165142,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164680,10 +165259,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 - user: *879 + user: *883 required: - action - invitation @@ -164761,11 +165340,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164852,11 +165431,11 @@ x-webhooks: properties: from: type: string - enterprise: *852 - installation: *853 - membership: *895 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + membership: *899 + organization: *858 + repository: *859 sender: *4 required: - action @@ -164932,9 +165511,9 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -165433,7 +166012,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &896 + items: &900 title: Ruby Gems metadata type: object properties: @@ -165528,7 +166107,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -165604,9 +166183,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 package: description: Information about the package. type: object @@ -165959,7 +166538,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *896 + items: *900 source_url: type: string format: uri @@ -166029,7 +166608,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -166206,12 +166785,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *852 + enterprise: *856 id: type: integer - installation: *853 - organization: *854 - repository: *855 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - id @@ -166288,7 +166867,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &897 + personal_access_token_request: &901 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166434,10 +167013,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *852 - organization: *854 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166514,11 +167093,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *897 - enterprise: *852 - organization: *854 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166594,11 +167173,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *897 - enterprise: *852 - organization: *854 + personal_access_token_request: *901 + enterprise: *856 + organization: *858 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166673,11 +167252,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *897 - organization: *854 - enterprise: *852 + personal_access_token_request: *901 + organization: *858 + enterprise: *856 sender: *4 - installation: *853 + installation: *857 required: - action - personal_access_token_request @@ -166782,7 +167361,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *898 + last_response: *902 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166814,8 +167393,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 zen: description: Random string of GitHub zen. @@ -167060,10 +167639,10 @@ x-webhooks: - from required: - note - enterprise: *852 - installation: *853 - organization: *854 - project_card: &899 + enterprise: *856 + installation: *857 + organization: *858 + project_card: &903 title: Project Card type: object properties: @@ -167182,7 +167761,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -167263,11 +167842,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project_card: *899 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -167347,9 +167926,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 project_card: title: Project Card type: object @@ -167477,8 +168056,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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -167572,11 +168151,11 @@ x-webhooks: - from required: - note - enterprise: *852 - installation: *853 - organization: *854 - project_card: *899 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_card: *903 + repository: *859 sender: *4 required: - action @@ -167670,9 +168249,9 @@ x-webhooks: - from required: - column_id - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 project_card: allOf: - title: Project Card @@ -167862,7 +168441,7 @@ x-webhooks: type: string required: - after_id - repository: *855 + repository: *859 sender: *4 required: - action @@ -167942,10 +168521,10 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - organization: *854 - project: &901 + enterprise: *856 + installation: *857 + organization: *858 + project: &905 title: Project type: object properties: @@ -168069,7 +168648,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -168149,10 +168728,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project_column: &900 + enterprise: *856 + installation: *857 + organization: *858 + project_column: &904 title: Project Column type: object properties: @@ -168191,7 +168770,7 @@ x-webhooks: - name - created_at - updated_at - repository: *855 + repository: *859 sender: *4 required: - action @@ -168270,18 +168849,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168371,11 +168950,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -168455,11 +169034,11 @@ x-webhooks: type: string enum: - moved - enterprise: *852 - installation: *853 - organization: *854 - project_column: *900 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project_column: *904 + repository: *859 sender: *4 required: - action @@ -168539,11 +169118,11 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168623,18 +169202,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - project: *901 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 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: *892 - required: *893 + properties: *896 + required: *897 nullable: true sender: *4 required: @@ -168736,11 +169315,11 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168819,11 +169398,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 - organization: *854 - project: *901 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + project: *905 + repository: *859 sender: *4 required: - action @@ -168904,9 +169483,9 @@ x-webhooks: type: string enum: - closed - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -168987,9 +169566,9 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169070,9 +169649,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169189,9 +169768,9 @@ x-webhooks: type: string to: type: string - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -169274,7 +169853,7 @@ x-webhooks: type: string enum: - archived - changes: &905 + changes: &909 type: object properties: archived_at: @@ -169288,9 +169867,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *853 - organization: *854 - projects_v2_item: &902 + installation: *857 + organization: *858 + projects_v2_item: &906 title: Projects v2 Item description: An item belonging to a project type: object @@ -169308,7 +169887,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *402 + content_type: *404 creator: *4 created_at: type: string @@ -169425,9 +170004,9 @@ x-webhooks: nullable: true to: type: string - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169509,9 +170088,9 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169592,9 +170171,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169700,7 +170279,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &903 + - &907 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169722,7 +170301,7 @@ x-webhooks: required: - id - name - - &904 + - &908 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169756,8 +170335,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *903 - - *904 + - *907 + - *908 required: - field_value - type: object @@ -169773,9 +170352,9 @@ x-webhooks: nullable: true required: - body - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169870,9 +170449,9 @@ x-webhooks: to: type: string nullable: true - installation: *853 - organization: *854 - projects_v2_item: *902 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -169955,10 +170534,10 @@ x-webhooks: type: string enum: - restored - changes: *905 - installation: *853 - organization: *854 - projects_v2_item: *902 + changes: *909 + installation: *857 + organization: *858 + projects_v2_item: *906 sender: *4 required: - action @@ -170040,9 +170619,9 @@ x-webhooks: type: string enum: - reopened - installation: *853 - organization: *854 - projects_v2: *394 + installation: *857 + organization: *858 + projects_v2: *397 sender: *4 required: - action @@ -170123,14 +170702,14 @@ x-webhooks: type: string enum: - created - installation: *853 - organization: *854 - projects_v2_status_update: &908 + installation: *857 + organization: *858 + projects_v2_status_update: &912 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *906 - required: *907 + properties: *910 + required: *911 sender: *4 required: - action @@ -170211,9 +170790,9 @@ x-webhooks: type: string enum: - deleted - installation: *853 - organization: *854 - projects_v2_status_update: *908 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -170349,9 +170928,9 @@ x-webhooks: type: string format: date nullable: true - installation: *853 - organization: *854 - projects_v2_status_update: *908 + installation: *857 + organization: *858 + projects_v2_status_update: *912 sender: *4 required: - action @@ -170422,10 +171001,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - repository @@ -170502,13 +171081,13 @@ x-webhooks: type: string enum: - assigned - assignee: *879 - enterprise: *852 - installation: *853 - number: &909 + assignee: *883 + enterprise: *856 + installation: *857 + number: &913 description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -172791,7 +173370,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -172873,11 +173452,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -175155,7 +175734,7 @@ x-webhooks: - draft reason: type: string - repository: *855 + repository: *859 sender: *4 required: - action @@ -175237,11 +175816,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -177519,7 +178098,7 @@ x-webhooks: - draft reason: type: string - repository: *855 + repository: *859 sender: *4 required: - action @@ -177601,13 +178180,13 @@ x-webhooks: type: string enum: - closed - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: &910 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: &914 allOf: - - *704 + - *706 - type: object properties: allow_auto_merge: @@ -177669,7 +178248,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *855 + repository: *859 sender: *4 required: - action @@ -177750,12 +178329,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -177835,11 +178414,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *852 - milestone: *686 - number: *909 - organization: *854 - pull_request: &911 + enterprise: *856 + milestone: *688 + number: *913 + organization: *858 + pull_request: &915 title: Pull Request type: object properties: @@ -180102,7 +180681,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -180181,11 +180760,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -182467,7 +183046,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *855 + repository: *859 sender: *4 required: - action @@ -182591,12 +183170,12 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -182676,11 +183255,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -184947,7 +185526,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -185027,11 +185606,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *852 - installation: *853 - label: *878 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + label: *882 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -187313,7 +187892,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -187394,10 +187973,10 @@ x-webhooks: type: string enum: - locked - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -189677,7 +190256,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -189757,12 +190336,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *852 - milestone: *686 - number: *909 - organization: *854 - pull_request: *911 - repository: *855 + enterprise: *856 + milestone: *688 + number: *913 + organization: *858 + pull_request: *915 + repository: *859 sender: *4 required: - action @@ -189841,12 +190420,12 @@ x-webhooks: type: string enum: - opened - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -189927,12 +190506,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190012,12 +190591,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *852 - installation: *853 - number: *909 - organization: *854 - pull_request: *910 - repository: *855 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 + pull_request: *914 + repository: *859 sender: *4 required: - action @@ -190383,9 +190962,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -192555,7 +193134,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -192635,7 +193214,7 @@ x-webhooks: type: string enum: - deleted - comment: &913 + comment: &917 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. @@ -192920,9 +193499,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -195080,7 +195659,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -195160,11 +195739,11 @@ x-webhooks: type: string enum: - edited - changes: *912 - comment: *913 - enterprise: *852 - installation: *853 - organization: *854 + changes: *916 + comment: *917 + enterprise: *856 + installation: *857 + organization: *858 pull_request: type: object properties: @@ -197325,7 +197904,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *855 + repository: *859 sender: *4 required: - action @@ -197406,9 +197985,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -199581,7 +200160,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 review: description: The review that was affected. type: object @@ -199828,9 +200407,9 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -201884,8 +202463,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 - review: &914 + repository: *859 + review: &918 description: The review that was affected. type: object properties: @@ -202118,12 +202697,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -204406,7 +204985,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_reviewer: title: User type: object @@ -204490,12 +205069,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -206785,7 +207364,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206977,12 +207556,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -209267,7 +209846,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_reviewer: title: User type: object @@ -209352,12 +209931,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *852 - installation: *853 + enterprise: *856 + installation: *857 number: description: The pull request number. type: integer - organization: *854 + organization: *858 pull_request: title: Pull Request type: object @@ -211633,7 +212212,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211814,9 +212393,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -213991,8 +214570,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 - review: *914 + repository: *859 + review: *918 sender: *4 required: - action @@ -214072,9 +214651,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -216144,7 +216723,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 sender: *4 thread: type: object @@ -216531,9 +217110,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 pull_request: title: Simple Pull Request type: object @@ -218589,7 +219168,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *855 + repository: *859 sender: *4 thread: type: object @@ -218979,10 +219558,10 @@ x-webhooks: type: string before: type: string - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -221253,7 +221832,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -221335,11 +221914,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *915 - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + assignee: *919 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -223622,7 +224201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -223701,11 +224280,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *852 - installation: *853 - label: *878 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + label: *882 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -225978,7 +226557,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -226059,10 +226638,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *852 - installation: *853 - number: *909 - organization: *854 + enterprise: *856 + installation: *857 + number: *913 + organization: *858 pull_request: title: Pull Request type: object @@ -228327,7 +228906,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *855 + repository: *859 sender: *4 required: - action @@ -228527,7 +229106,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *852 + enterprise: *856 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228619,8 +229198,8 @@ x-webhooks: - url - author - committer - installation: *853 - organization: *854 + installation: *857 + organization: *858 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229195,9 +229774,9 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -229643,7 +230222,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *896 + items: *900 summary: type: string tag_name: @@ -229697,7 +230276,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -229775,9 +230354,9 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 registry_package: type: object properties: @@ -230085,7 +230664,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *896 + items: *900 summary: type: string tag_name: @@ -230134,7 +230713,7 @@ x-webhooks: - owner - package_version - registry - repository: *855 + repository: *859 sender: *4 required: - action @@ -230211,10 +230790,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - release: &916 + enterprise: *856 + installation: *857 + organization: *858 + release: &920 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230532,7 +231111,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *855 + repository: *859 sender: *4 required: - action @@ -230609,11 +231188,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -230730,11 +231309,11 @@ x-webhooks: type: boolean required: - to - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -230812,9 +231391,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231136,7 +231715,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *855 + repository: *859 sender: *4 required: - action @@ -231212,10 +231791,10 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - release: &917 + enterprise: *856 + installation: *857 + organization: *858 + release: &921 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231534,7 +232113,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *855 + repository: *859 sender: *4 required: - action @@ -231610,11 +232189,11 @@ x-webhooks: type: string enum: - released - enterprise: *852 - installation: *853 - organization: *854 - release: *916 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *920 + repository: *859 sender: *4 required: - action @@ -231690,11 +232269,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *852 - installation: *853 - organization: *854 - release: *917 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + release: *921 + repository: *859 sender: *4 required: - action @@ -231770,11 +232349,11 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - repository_advisory: *757 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *759 sender: *4 required: - action @@ -231850,11 +232429,11 @@ x-webhooks: type: string enum: - reported - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - repository_advisory: *757 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + repository_advisory: *759 sender: *4 required: - action @@ -231930,10 +232509,10 @@ x-webhooks: type: string enum: - archived - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232010,10 +232589,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232091,10 +232670,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232178,10 +232757,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232293,10 +232872,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232368,10 +232947,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 status: type: string @@ -232452,10 +233031,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232532,10 +233111,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232629,10 +233208,10 @@ x-webhooks: - name required: - repository - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -232712,10 +233291,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 sender: *4 required: @@ -232794,10 +233373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 sender: *4 required: @@ -232876,10 +233455,10 @@ x-webhooks: type: string enum: - edited - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 repository_ruleset: *185 changes: type: object @@ -232941,16 +233520,16 @@ x-webhooks: properties: added: type: array - items: *725 + items: *727 deleted: type: array - items: *725 + items: *727 updated: type: array items: type: object properties: - rule: *725 + rule: *727 changes: type: object properties: @@ -233184,10 +233763,10 @@ x-webhooks: - from required: - owner - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233265,10 +233844,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233346,7 +233925,7 @@ x-webhooks: type: string enum: - create - alert: &918 + alert: &922 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233467,10 +234046,10 @@ x-webhooks: type: string enum: - open - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233676,10 +234255,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233757,11 +234336,11 @@ x-webhooks: type: string enum: - reopen - alert: *918 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *922 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -233960,10 +234539,10 @@ x-webhooks: enum: - fixed - open - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234041,7 +234620,7 @@ x-webhooks: type: string enum: - created - alert: &919 + alert: &923 type: object properties: number: *123 @@ -234159,10 +234738,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234243,11 +234822,11 @@ x-webhooks: type: string enum: - created - alert: *919 - installation: *853 - location: *920 - organization: *854 - repository: *855 + alert: *923 + installation: *857 + location: *924 + organization: *858 + repository: *859 sender: *4 required: - location @@ -234485,11 +235064,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234567,11 +235146,11 @@ x-webhooks: type: string enum: - reopened - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234649,11 +235228,11 @@ x-webhooks: type: string enum: - resolved - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234731,11 +235310,11 @@ x-webhooks: type: string enum: - validated - alert: *919 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + alert: *923 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -234861,10 +235440,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *855 - enterprise: *852 - installation: *853 - organization: *854 + repository: *859 + enterprise: *856 + installation: *857 + organization: *858 sender: *4 required: - action @@ -234942,11 +235521,11 @@ x-webhooks: type: string enum: - published - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - security_advisory: &921 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: &925 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235129,11 +235708,11 @@ x-webhooks: type: string enum: - updated - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 - security_advisory: *921 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 + security_advisory: *925 sender: *4 required: - action @@ -235206,10 +235785,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235393,11 +235972,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *410 - enterprise: *852 - installation: *853 - organization: *854 - repository: *477 + security_and_analysis: *412 + enterprise: *856 + installation: *857 + organization: *858 + repository: *479 sender: *4 required: - changes @@ -235475,12 +236054,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: &922 + sponsorship: &926 type: object properties: created_at: @@ -235781,12 +236360,12 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - sponsorship @@ -235874,12 +236453,12 @@ x-webhooks: type: string required: - from - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -235956,17 +236535,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &923 + effective_date: &927 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: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - sponsorship @@ -236040,7 +236619,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &924 + changes: &928 type: object properties: tier: @@ -236084,13 +236663,13 @@ x-webhooks: - from required: - tier - effective_date: *923 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + effective_date: *927 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -236167,13 +236746,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *924 - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + changes: *928 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - sponsorship: *922 + sponsorship: *926 required: - action - changes @@ -236247,10 +236826,10 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236333,10 +236912,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236756,15 +237335,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *852 + enterprise: *856 id: description: The unique identifier of the status. type: integer - installation: *853 + installation: *857 name: type: string - organization: *854 - repository: *855 + organization: *858 + repository: *859 sender: *4 sha: description: The Commit SHA. @@ -236873,15 +237452,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *853 - organization: *854 - repository: *855 + sub_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -236965,15 +237544,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 + parent_issue: *226 parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 - installation: *853 - organization: *854 - repository: *855 + sub_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237057,15 +237636,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *853 - organization: *854 - repository: *855 + parent_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237149,15 +237728,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *223 + sub_issue: *226 sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *223 - installation: *853 - organization: *854 - repository: *855 + parent_issue: *226 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -237234,12 +237813,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - team: &925 + team: &929 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237462,9 +238041,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -237922,7 +238501,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -237998,9 +238577,9 @@ x-webhooks: type: string enum: - created - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238458,7 +239037,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -238535,9 +239114,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -238995,7 +239574,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -239139,9 +239718,9 @@ x-webhooks: - from required: - permissions - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -239599,7 +240178,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - changes @@ -239677,9 +240256,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *852 - installation: *853 - organization: *854 + enterprise: *856 + installation: *857 + organization: *858 repository: title: Repository description: A git repository @@ -240137,7 +240716,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *925 + team: *929 required: - action - team @@ -240213,10 +240792,10 @@ x-webhooks: type: string enum: - started - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 required: - action @@ -240289,16 +240868,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *852 + enterprise: *856 inputs: type: object nullable: true additionalProperties: true - installation: *853 - organization: *854 + installation: *857 + organization: *858 ref: type: string - repository: *855 + repository: *859 sender: *4 workflow: type: string @@ -240380,10 +240959,10 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -240620,7 +241199,7 @@ x-webhooks: type: string required: - conclusion - deployment: *609 + deployment: *611 required: - action - repository @@ -240699,10 +241278,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: allOf: @@ -240962,7 +241541,7 @@ x-webhooks: required: - status - steps - deployment: *609 + deployment: *611 required: - action - repository @@ -241041,10 +241620,10 @@ x-webhooks: type: string enum: - queued - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -241179,7 +241758,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *609 + deployment: *611 required: - action - repository @@ -241258,10 +241837,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 workflow_job: type: object @@ -241397,7 +241976,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *609 + deployment: *611 required: - action - repository @@ -241477,12 +242056,12 @@ x-webhooks: type: string enum: - completed - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object @@ -242481,12 +243060,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object @@ -243470,12 +244049,12 @@ x-webhooks: type: string enum: - requested - enterprise: *852 - installation: *853 - organization: *854 - repository: *855 + enterprise: *856 + installation: *857 + organization: *858 + repository: *859 sender: *4 - workflow: *874 + workflow: *878 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index dbb5e609d..8d81e376c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -12717,6 +12717,72 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + }, + { + "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -17405,6 +17471,66 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -22683,6 +22809,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -34113,6 +34247,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -34154,6 +34293,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -34382,6 +34522,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -34821,7 +34966,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -90486,7 +90631,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -91508,6 +91653,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -129314,6 +129522,133 @@ } } }, + "billing-usage-summary-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -132746,17 +133081,128 @@ "type": "string", "description": "The unique identifier of the organization." }, - "user": { + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "billing-usage-summary-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { "type": "string", - "description": "The name of the user for the usage report." + "description": "The name of the repository for the usage report." }, "product": { "type": "string", "description": "The product for the usage report." }, - "model": { + "sku": { "type": "string", - "description": "The model for the usage report." + "description": "The SKU for the usage report." }, "usageItems": { "type": "array", @@ -132771,10 +133217,6 @@ "type": "string", "description": "SKU name." }, - "model": { - "type": "string", - "description": "Model name." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -132811,7 +133253,6 @@ "required": [ "product", "sku", - "model", "unitType", "pricePerUnit", "grossQuantity", @@ -136811,12 +137252,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -136874,11 +137325,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -158094,6 +158555,112 @@ } } }, + "billing-usage-summary-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -304257,6 +304824,28 @@ ] } }, + "billing-usage-summary-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "simple-user-items": { "value": [ { @@ -306019,6 +306608,28 @@ ] } }, + "billing-usage-summary-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -309967,6 +310578,122 @@ "is_template": true } }, + "projects-v2-field-items": { + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] + }, + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] + }, "projects-v2-field": { "value": { "id": 12345, @@ -331385,6 +332112,28 @@ ] } }, + "billing-usage-summary-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -333732,6 +334481,33 @@ "type": "integer" } }, + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-cost-center-id": { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -335680,6 +336456,21 @@ } } }, + "billing_usage_summary_report_ghe": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-ghe" + } + } + } + } + }, "forbidden_gist": { "description": "Forbidden Gist", "content": { @@ -335753,6 +336544,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, @@ -336009,6 +336815,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 902d5860e..aad3efe55 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -9064,6 +9064,48 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + - "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12361,6 +12403,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16313,6 +16395,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -24609,6 +24704,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -24654,6 +24758,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -24825,6 +24930,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -25126,7 +25240,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -65409,7 +65523,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -66081,6 +66195,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -93952,6 +94108,100 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems actor: title: Actor description: Actor @@ -96676,6 +96926,85 @@ components: - timePeriod - organization - usageItems + billing-usage-summary-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -99903,11 +100232,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -99956,10 +100297,22 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by @@ -116176,6 +116529,85 @@ components: - grossAmount - discountAmount - netAmount + billing-usage-summary-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -227047,6 +227479,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 simple-user-items: value: - login: octocat @@ -228619,6 +229067,22 @@ components: discountAmount: 0.0 netQuantity: 100 netAmount: 4.0 + billing-usage-summary-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 organization-full: value: login: github @@ -231976,6 +232440,88 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-field-items: + value: + - id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' projects-v2-field: value: id: 12345 @@ -250353,6 +250899,22 @@ components: discountAmount: 0 netAmount: 0.8 repositoryName: user/example + billing-usage-summary-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 check-run-completed: value: action: completed @@ -252467,6 +253029,28 @@ components: required: false schema: type: integer + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + billing-usage-report-cost-center-id: + name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -254039,6 +254623,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_ghe: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-ghe" forbidden_gist: description: Forbidden Gist content: @@ -254084,6 +254677,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. @@ -254245,6 +254847,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index dbb5e609d..8d81e376c 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -12717,6 +12717,72 @@ } } }, + "/enterprises/{enterprise}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + }, + { + "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", @@ -17405,6 +17471,66 @@ } } }, + "/organizations/{org}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -22683,6 +22809,14 @@ "deleted" ], "default": "active" + }, + "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.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "example": "my-github-repo" } }, "required": [ @@ -34113,6 +34247,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -34154,6 +34293,7 @@ "registry_type": "maven_repository", "url": "https://maven.pkg.github.com/organization/", "username": "monalisa", + "replaces_base": true, "encrypted_value": "c2VjcmV0", "key_id": "012345678912345678", "visibility": "private" @@ -34382,6 +34522,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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.", "type": "string", @@ -34821,7 +34966,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -90486,7 +90631,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -91508,6 +91653,69 @@ } } }, + "/users/{username}/settings/billing/usage/summary": { + "get": { + "summary": "Get billing usage summary report for a user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-usage-summary-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-repository" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "$ref": "#/components/parameters/billing-usage-report-sku" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_summary_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -129314,6 +129522,133 @@ } } }, + "billing-usage-summary-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -132746,17 +133081,128 @@ "type": "string", "description": "The unique identifier of the organization." }, - "user": { + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "billing-usage-summary-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "repository": { "type": "string", - "description": "The name of the user for the usage report." + "description": "The name of the repository for the usage report." }, "product": { "type": "string", "description": "The product for the usage report." }, - "model": { + "sku": { "type": "string", - "description": "The model for the usage report." + "description": "The SKU for the usage report." }, "usageItems": { "type": "array", @@ -132771,10 +133217,6 @@ "type": "string", "description": "SKU name." }, - "model": { - "type": "string", - "description": "Model name." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -132811,7 +133253,6 @@ "required": [ "product", "sku", - "model", "unitType", "pricePerUnit", "grossQuantity", @@ -136811,12 +137252,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -136874,11 +137325,21 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string" }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", "enum": [ @@ -158094,6 +158555,112 @@ } } }, + "billing-usage-summary-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "repository": { + "type": "string", + "description": "The name of the repository for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "sku": { + "type": "string", + "description": "The SKU for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -304257,6 +304824,28 @@ ] } }, + "billing-usage-summary-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "simple-user-items": { "value": [ { @@ -306019,6 +306608,28 @@ ] } }, + "billing-usage-summary-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -309967,6 +310578,122 @@ "is_template": true } }, + "projects-v2-field-items": { + "value": [ + { + "id": 12345, + "node_id": "PVTF_lADOABCD1234567890", + "name": "Priority", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_1", + "name": "Low", + "color": "GREEN", + "description": "Low priority items" + }, + { + "id": "option_2", + "name": "Medium", + "color": "YELLOW", + "description": "Medium priority items" + }, + { + "id": "option_3", + "name": "High", + "color": "RED", + "description": "High priority items" + } + ], + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z" + }, + { + "id": 67891, + "node_id": "PVTF_lADOABCD9876543210", + "name": "Status", + "data_type": "single_select", + "project_url": "https://api.github.com/projects/67890", + "options": [ + { + "id": "option_4", + "name": "Todo", + "color": "GRAY", + "description": "Items to be worked on" + }, + { + "id": "option_5", + "name": "In Progress", + "color": "BLUE", + "description": "Items currently being worked on" + }, + { + "id": "option_6", + "name": "Done", + "color": "GREEN", + "description": "Completed items" + } + ], + "created_at": "2022-04-29T10:30:00Z", + "updated_at": "2022-04-29T10:30:00Z" + }, + { + "id": 24680, + "node_id": "PVTF_lADOABCD2468024680", + "name": "Team notes", + "data_type": "text", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-05-15T08:00:00Z", + "updated_at": "2022-05-15T08:00:00Z" + }, + { + "id": 13579, + "node_id": "PVTF_lADOABCD1357913579", + "name": "Story points", + "data_type": "number", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-01T14:30:00Z", + "updated_at": "2022-06-01T14:30:00Z" + }, + { + "id": 98765, + "node_id": "PVTF_lADOABCD9876598765", + "name": "Due date", + "data_type": "date", + "project_url": "https://api.github.com/projects/67890", + "created_at": "2022-06-10T09:15:00Z", + "updated_at": "2022-06-10T09:15:00Z" + }, + { + "id": 11223, + "node_id": "PVTF_lADOABCD1122311223", + "name": "Sprint", + "data_type": "iteration", + "project_url": "https://api.github.com/projects/67890", + "configuration": { + "duration": 14, + "start_day": 1, + "iterations": [ + { + "id": "iter_1", + "title": "Sprint 1", + "start_date": "2022-07-01", + "duration": 14 + }, + { + "id": "iter_2", + "title": "Sprint 2", + "start_date": "2022-07-15", + "duration": 14 + } + ] + }, + "created_at": "2022-06-20T16:45:00Z", + "updated_at": "2022-06-20T16:45:00Z" + } + ] + }, "projects-v2-field": { "value": { "id": 12345, @@ -331385,6 +332112,28 @@ ] } }, + "billing-usage-summary-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Actions", + "sku": "actions_linux", + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossQuantity": 1000, + "grossAmount": 8.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 1000, + "netAmount": 8.0 + } + ] + } + }, "check-run-completed": { "value": { "action": "completed", @@ -333732,6 +334481,33 @@ "type": "integer" } }, + "billing-usage-report-repository": { + "name": "repository", + "description": "The repository name to query for usage in the format owner/repository.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-sku": { + "name": "sku", + "description": "The SKU to query for usage.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-cost-center-id": { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -335680,6 +336456,21 @@ } } }, + "billing_usage_summary_report_ghe": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-ghe" + } + } + } + } + }, "forbidden_gist": { "description": "Forbidden Gist", "content": { @@ -335753,6 +336544,21 @@ } } }, + "billing_usage_summary_report_org": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-org" + } + } + } + } + }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, @@ -336009,6 +336815,21 @@ } } } + }, + "billing_usage_summary_report_user": { + "description": "Response when getting a billing usage summary report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-summary-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-summary-report-user" + } + } + } + } } }, "headers": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 902d5860e..aad3efe55 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -9064,6 +9064,48 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + - "$ref": "#/components/parameters/billing-usage-report-cost-center-id" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12361,6 +12403,46 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -16313,6 +16395,19 @@ paths: - eol - deleted default: active + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + example: my-github-repo required: - name - digest @@ -24609,6 +24704,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -24654,6 +24758,7 @@ paths: registry_type: maven_repository url: https://maven.pkg.github.com/organization/ username: monalisa + replaces_base: true encrypted_value: c2VjcmV0 key_id: '012345678912345678' visibility: private @@ -24825,6 +24930,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -25126,7 +25240,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -65409,7 +65523,7 @@ paths: "$ref": "#/components/schemas/projects-v2-field" examples: default: - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" headers: Link: "$ref": "#/components/headers/link" @@ -66081,6 +66195,48 @@ paths: enabledForGitHubApps: true category: billing subcategory: enhanced-billing + "/users/{username}/settings/billing/usage/summary": + get: + summary: Get billing usage summary report for a user + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a summary report of usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. + tags: + - billing + operationId: billing/get-github-billing-usage-summary-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-repository" + - "$ref": "#/components/parameters/billing-usage-report-product" + - "$ref": "#/components/parameters/billing-usage-report-sku" + responses: + '200': + "$ref": "#/components/responses/billing_usage_summary_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -93952,6 +94108,100 @@ components: - discountAmount - netAmount - organizationName + billing-usage-summary-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + organization: + type: string + description: The name of the organization for the usage report. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems actor: title: Actor description: Actor @@ -96676,6 +96926,85 @@ components: - timePeriod - organization - usageItems + billing-usage-summary-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -99903,11 +100232,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -99956,10 +100297,22 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by @@ -116176,6 +116529,85 @@ components: - grossAmount - discountAmount - netAmount + billing-usage-summary-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + repository: + type: string + description: The name of the repository for the usage report. + product: + type: string + description: The product for the usage report. + sku: + type: string + description: The SKU for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -227047,6 +227479,22 @@ components: netAmount: 0.8 organizationName: GitHub repositoryName: github/example + billing-usage-summary-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 simple-user-items: value: - login: octocat @@ -228619,6 +229067,22 @@ components: discountAmount: 0.0 netQuantity: 100 netAmount: 4.0 + billing-usage-summary-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 organization-full: value: login: github @@ -231976,6 +232440,88 @@ components: created_at: '2025-07-11T16:19:28Z' updated_at: '2025-07-11T16:19:28Z' is_template: true + projects-v2-field-items: + value: + - id: 12345 + node_id: PVTF_lADOABCD1234567890 + name: Priority + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_1 + name: Low + color: GREEN + description: Low priority items + - id: option_2 + name: Medium + color: YELLOW + description: Medium priority items + - id: option_3 + name: High + color: RED + description: High priority items + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + - id: 67891 + node_id: PVTF_lADOABCD9876543210 + name: Status + data_type: single_select + project_url: https://api.github.com/projects/67890 + options: + - id: option_4 + name: Todo + color: GRAY + description: Items to be worked on + - id: option_5 + name: In Progress + color: BLUE + description: Items currently being worked on + - id: option_6 + name: Done + color: GREEN + description: Completed items + created_at: '2022-04-29T10:30:00Z' + updated_at: '2022-04-29T10:30:00Z' + - id: 24680 + node_id: PVTF_lADOABCD2468024680 + name: Team notes + data_type: text + project_url: https://api.github.com/projects/67890 + created_at: '2022-05-15T08:00:00Z' + updated_at: '2022-05-15T08:00:00Z' + - id: 13579 + node_id: PVTF_lADOABCD1357913579 + name: Story points + data_type: number + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-01T14:30:00Z' + updated_at: '2022-06-01T14:30:00Z' + - id: 98765 + node_id: PVTF_lADOABCD9876598765 + name: Due date + data_type: date + project_url: https://api.github.com/projects/67890 + created_at: '2022-06-10T09:15:00Z' + updated_at: '2022-06-10T09:15:00Z' + - id: 11223 + node_id: PVTF_lADOABCD1122311223 + name: Sprint + data_type: iteration + project_url: https://api.github.com/projects/67890 + configuration: + duration: 14 + start_day: 1 + iterations: + - id: iter_1 + title: Sprint 1 + start_date: '2022-07-01' + duration: 14 + - id: iter_2 + title: Sprint 2 + start_date: '2022-07-15' + duration: 14 + created_at: '2022-06-20T16:45:00Z' + updated_at: '2022-06-20T16:45:00Z' projects-v2-field: value: id: 12345 @@ -250353,6 +250899,22 @@ components: discountAmount: 0 netAmount: 0.8 repositoryName: user/example + billing-usage-summary-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Actions + sku: actions_linux + unitType: minutes + pricePerUnit: 0.008 + grossQuantity: 1000 + grossAmount: 8.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 1000 + netAmount: 8.0 check-run-completed: value: action: completed @@ -252467,6 +253029,28 @@ components: required: false schema: type: integer + billing-usage-report-repository: + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + billing-usage-report-sku: + name: sku + description: The SKU to query for usage. + in: query + required: false + schema: + type: string + billing-usage-report-cost-center-id: + name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -254039,6 +254623,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_ghe: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-ghe" forbidden_gist: description: Forbidden Gist content: @@ -254084,6 +254677,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" + billing_usage_summary_report_org: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-org" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-org" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. @@ -254245,6 +254847,15 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report-user" + billing_usage_summary_report_user: + description: Response when getting a billing usage summary report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-summary-report-user" + examples: + default: + "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json index c006af9c1..af9c58e82 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json @@ -126038,12 +126038,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -126365,12 +126375,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -126515,6 +126535,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml index 27d8e529f..3f023dea9 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.yaml @@ -34191,12 +34191,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -34375,6 +34389,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json index c006af9c1..af9c58e82 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.json @@ -126038,12 +126038,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -126365,12 +126375,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -126515,6 +126535,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", diff --git a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml index 27d8e529f..3f023dea9 100644 --- a/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml +++ b/descriptions/ghes-3.16/dereferenced/ghes-3.16.deref.yaml @@ -34191,12 +34191,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -34375,6 +34389,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 diff --git a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json index da87b3cf7..1e236568f 100644 --- a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json +++ b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.json @@ -23361,6 +23361,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", @@ -107935,12 +107940,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ diff --git a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml index 0c5d8316a..a6217c992 100644 --- a/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml +++ b/descriptions/ghes-3.16/ghes-3.16.2022-11-28.yaml @@ -16900,6 +16900,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -78442,11 +78451,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. diff --git a/descriptions/ghes-3.16/ghes-3.16.json b/descriptions/ghes-3.16/ghes-3.16.json index da87b3cf7..1e236568f 100644 --- a/descriptions/ghes-3.16/ghes-3.16.json +++ b/descriptions/ghes-3.16/ghes-3.16.json @@ -23361,6 +23361,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.16/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", @@ -107935,12 +107940,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ diff --git a/descriptions/ghes-3.16/ghes-3.16.yaml b/descriptions/ghes-3.16/ghes-3.16.yaml index 0c5d8316a..a6217c992 100644 --- a/descriptions/ghes-3.16/ghes-3.16.yaml +++ b/descriptions/ghes-3.16/ghes-3.16.yaml @@ -16900,6 +16900,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -78442,11 +78451,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. diff --git a/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.json b/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.json index 5d8a4dd46..5a43ef4cc 100644 --- a/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.json +++ b/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.json @@ -127507,12 +127507,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127834,12 +127844,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127984,6 +128004,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.17/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", diff --git a/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.yaml b/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.yaml index 7cbcb965c..49f1abe63 100644 --- a/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.17/dereferenced/ghes-3.17.2022-11-28.deref.yaml @@ -34886,12 +34886,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -35070,6 +35084,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 diff --git a/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.json b/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.json index 5d8a4dd46..5a43ef4cc 100644 --- a/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.json +++ b/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.json @@ -127507,12 +127507,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127834,12 +127844,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ @@ -127984,6 +128004,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.17/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", diff --git a/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.yaml b/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.yaml index 7cbcb965c..49f1abe63 100644 --- a/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.yaml +++ b/descriptions/ghes-3.17/dereferenced/ghes-3.17.deref.yaml @@ -34886,12 +34886,26 @@ paths: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the + base registry (e.g., npmjs.org for npm, rubygems.org for + rubygems). When `true`, Dependabot will only use this + registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry + for scoped packages but may fall back to the public registry + for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. @@ -35070,6 +35084,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 diff --git a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json index 8b65a1021..0918975c0 100644 --- a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json +++ b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.json @@ -23594,6 +23594,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.17/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", @@ -108887,12 +108892,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ diff --git a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml index c3d5af628..99c511007 100644 --- a/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml +++ b/descriptions/ghes-3.17/ghes-3.17.2022-11-28.yaml @@ -17072,6 +17072,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + 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 @@ -79151,11 +79160,23 @@ components: - python_index - terraform_registry type: string + url: + description: The URL of the private registry. + type: string + format: uri username: description: The username to use when authenticating with the private registry. example: monalisa type: string nullable: true + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false visibility: description: Which type of organization repositories have access to the private registry. diff --git a/descriptions/ghes-3.17/ghes-3.17.json b/descriptions/ghes-3.17/ghes-3.17.json index 8b65a1021..0918975c0 100644 --- a/descriptions/ghes-3.17/ghes-3.17.json +++ b/descriptions/ghes-3.17/ghes-3.17.json @@ -23594,6 +23594,11 @@ "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry should replace the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When set to `true`, Dependabot will only use this registry and will not fall back to the public registry. When set to `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "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-server@3.17/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization) endpoint.", "type": "string", @@ -108887,12 +108892,22 @@ ], "type": "string" }, + "url": { + "description": "The URL of the private registry.", + "type": "string", + "format": "uri" + }, "username": { "description": "The username to use when authenticating with the private registry.", "example": "monalisa", "type": "string", "nullable": true }, + "replaces_base": { + "description": "Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot will only use this registry and will not fall back to the public registry. When `false` (default), Dependabot will use this registry for scoped packages but may fall back to the public registry for other packages.", + "type": "boolean", + "default": false + }, "visibility": { "description": "Which type of organization repositories have access to the private registry.", "enum": [ diff --git a/descriptions/ghes-3.17/ghes-3.17.yaml b/descriptions/ghes-3.17/ghes-3.17.yaml index c3d5af628..99c511007 100644 --- a/descriptions/ghes-3.17/ghes-3.17.yaml +++ b/descriptions/ghes-3.17/ghes-3.17.yaml @@ -17072,6 +17072,15 @@ paths: does not require a username for authentication. type: string nullable: true + replaces_base: + description: Whether this private registry should replace the base + registry (e.g., npmjs.org for npm, rubygems.org for rubygems). + When set to `true`, Dependabot will only use this registry and + will not fall back to the public registry. When set to `false` + (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false encrypted_value: description: The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/b{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}