diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index e2c7d82fa..94467be58 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -7788,6 +7788,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", @@ -12959,6 +13019,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -23015,6 +23085,11 @@ "null" ] }, + "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", @@ -23056,6 +23131,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" @@ -23290,6 +23366,11 @@ "null" ] }, + "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", @@ -23729,7 +23810,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -75726,7 +75807,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -76752,6 +76833,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", @@ -110141,6 +110285,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", @@ -115204,6 +115454,11 @@ ], "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.", "type": [ @@ -115214,6 +115469,11 @@ "monalisa" ] }, + "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": [ @@ -115273,6 +115533,11 @@ ], "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.", "type": "string", @@ -115280,6 +115545,11 @@ "monalisa" ] }, + "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": [ @@ -140416,6 +140686,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).\"", @@ -290264,6 +290640,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", @@ -294747,6 +295145,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, @@ -315890,6 +316404,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", @@ -317981,6 +318517,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", @@ -319599,6 +320153,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": { @@ -319857,6 +320426,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 8a1e6d759..f1dd6a9d2 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -5475,6 +5475,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 @@ -9340,6 +9380,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -16625,6 +16679,15 @@ paths: type: - string - 'null' + 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 @@ -16670,6 +16733,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 @@ -16844,6 +16908,15 @@ paths: type: - string - 'null' + 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 @@ -17145,7 +17218,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" @@ -54796,7 +54869,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" @@ -55471,6 +55544,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 @@ -79622,6 +79737,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 @@ -83511,6 +83705,10 @@ 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. type: @@ -83518,6 +83716,14 @@ components: - 'null' examples: - monalisa + 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. @@ -83567,11 +83773,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. type: string examples: - monalisa + 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 @@ -101586,6 +101804,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: |- @@ -213998,6 +214295,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 @@ -217772,6 +218085,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 @@ -235995,6 +236390,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 @@ -237876,6 +238287,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 @@ -239209,6 +239634,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: @@ -239375,6 +239809,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index e2c7d82fa..94467be58 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -7788,6 +7788,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", @@ -12959,6 +13019,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -23015,6 +23085,11 @@ "null" ] }, + "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", @@ -23056,6 +23131,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" @@ -23290,6 +23366,11 @@ "null" ] }, + "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", @@ -23729,7 +23810,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -75726,7 +75807,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -76752,6 +76833,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", @@ -110141,6 +110285,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", @@ -115204,6 +115454,11 @@ ], "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.", "type": [ @@ -115214,6 +115469,11 @@ "monalisa" ] }, + "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": [ @@ -115273,6 +115533,11 @@ ], "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.", "type": "string", @@ -115280,6 +115545,11 @@ "monalisa" ] }, + "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": [ @@ -140416,6 +140686,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).\"", @@ -290264,6 +290640,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", @@ -294747,6 +295145,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, @@ -315890,6 +316404,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", @@ -317981,6 +318517,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", @@ -319599,6 +320153,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": { @@ -319857,6 +320426,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 8a1e6d759..f1dd6a9d2 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -5475,6 +5475,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 @@ -9340,6 +9380,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -16625,6 +16679,15 @@ paths: type: - string - 'null' + 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 @@ -16670,6 +16733,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 @@ -16844,6 +16908,15 @@ paths: type: - string - 'null' + 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 @@ -17145,7 +17218,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" @@ -54796,7 +54869,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" @@ -55471,6 +55544,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 @@ -79622,6 +79737,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 @@ -83511,6 +83705,10 @@ 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. type: @@ -83518,6 +83716,14 @@ components: - 'null' examples: - monalisa + 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. @@ -83567,11 +83773,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. type: string examples: - monalisa + 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 @@ -101586,6 +101804,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: |- @@ -213998,6 +214295,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 @@ -217772,6 +218085,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 @@ -235995,6 +236390,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 @@ -237876,6 +238287,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 @@ -239209,6 +239634,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: @@ -239375,6 +239809,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 8805de85e..818f8ff31 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -62307,6 +62307,371 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -82371,6 +82736,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -145869,6 +146244,11 @@ ], "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.", "type": [ @@ -145879,6 +146259,11 @@ "monalisa" ] }, + "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": [ @@ -146100,6 +146485,11 @@ "null" ] }, + "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", @@ -146141,6 +146531,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" @@ -146203,6 +146594,11 @@ ], "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.", "type": "string", @@ -146210,6 +146606,11 @@ "monalisa" ] }, + "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": [ @@ -146557,6 +146958,11 @@ ], "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.", "type": [ @@ -146567,6 +146973,11 @@ "monalisa" ] }, + "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": [ @@ -146713,6 +147124,11 @@ "null" ] }, + "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", @@ -150441,35 +150857,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" + } + ] } } } @@ -689233,35 +689734,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" + } + ] } } } @@ -714152,6 +714738,397 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 862fc13d5..4c00cbb86 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &285 + type: &286 type: string description: The type of credit the user is receiving. enum: @@ -1040,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &103 + schema: &105 title: Validation Error Simple description: Validation Error Simple type: object @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &610 + - &611 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1658,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &181 + - &183 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 @@ -1674,7 +1674,7 @@ paths: application/json: schema: type: array - items: &182 + items: &184 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1770,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &183 + default: &185 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1833,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &102 + schema: &104 title: Validation Error description: Validation Error type: object @@ -1905,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &186 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2040,7 +2040,7 @@ paths: - request - response examples: - default: &185 + default: &187 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7736,7 +7736,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &161 type: - object - 'null' @@ -7934,7 +7934,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &163 type: array description: A list of default code security configurations items: @@ -7950,7 +7950,7 @@ paths: default configuration: *41 examples: - default: &162 + default: &164 value: - default_for_new_repos: public configuration: @@ -8281,7 +8281,7 @@ paths: - *40 - *43 responses: - '204': &163 + '204': &165 description: A header with no content is returned. '400': *14 '403': *27 @@ -8408,7 +8408,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &162 value: id: 1325 target_type: organization @@ -8493,7 +8493,7 @@ paths: application/json: schema: type: array - items: &164 + items: &166 type: object description: Repositories associated with a code security configuration and attachment status @@ -8838,7 +8838,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &167 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8932,7 +8932,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &168 + - &170 name: state in: query description: |- @@ -8941,7 +8941,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &169 + - &171 name: severity in: query description: |- @@ -8950,7 +8950,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &170 + - &172 name: ecosystem in: query description: |- @@ -8959,14 +8959,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &171 + - &173 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 - - &172 + - &174 name: epss_percentage in: query description: |- @@ -8978,7 +8978,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 - - &452 + - &453 name: has in: query description: |- @@ -8992,7 +8992,7 @@ paths: type: string enum: - patch - - &173 + - &175 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9002,7 +9002,7 @@ paths: enum: - development - runtime - - &174 + - &176 name: sort in: query description: |- @@ -9028,11 +9028,11 @@ paths: application/json: schema: type: array - items: &175 + items: &177 type: object description: A Dependabot alert. properties: - number: &149 + number: &151 type: integer description: The security alert number. readOnly: true @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &453 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9305,29 +9305,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &152 + url: &154 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &153 + html_url: &155 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &150 + created_at: &152 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: &151 + updated_at: &153 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: &155 + dismissed_at: &157 type: - string - 'null' @@ -9358,7 +9358,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &154 + fixed_at: &156 type: - string - 'null' @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &454 + auto_dismissed_at: &455 type: - string - 'null' @@ -9393,7 +9393,7 @@ paths: - repository additionalProperties: false examples: - default: &176 + default: &178 value: - number: 2 state: dismissed @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &242 + - &243 title: Milestone description: A collection of related issues and pull requests. @@ -10978,7 +10978,7 @@ paths: timeline_url: type: string format: uri - type: &203 + type: &205 title: Issue Type description: The type of issue. type: @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &622 + sub_issues_summary: &623 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &623 + issue_dependencies_summary: &624 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &624 + items: &625 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &500 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &636 + user: &637 title: Public User description: Public User type: object @@ -13695,7 +13695,7 @@ paths: - closed - all default: open - - &206 + - &208 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13746,7 +13746,7 @@ paths: type: array items: *78 examples: - default: &207 + default: &209 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15158,14 +15158,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &307 + - &308 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &308 + - &309 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15227,7 +15227,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &316 + '301': &317 description: Moved permanently content: application/json: @@ -15249,7 +15249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &529 + - &530 name: all description: If `true`, show notifications marked as read. in: query @@ -15257,7 +15257,7 @@ paths: schema: type: boolean default: false - - &530 + - &531 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15267,7 +15267,7 @@ paths: type: boolean default: false - *68 - - &531 + - &532 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: @@ -15299,7 +15299,7 @@ paths: properties: id: type: string - repository: &133 + repository: &135 title: Minimal Repository description: Minimal Repository type: object @@ -15638,7 +15638,7 @@ paths: type: boolean examples: - false - security_and_analysis: &253 + security_and_analysis: &254 type: - object - 'null' @@ -15803,7 +15803,7 @@ paths: - url - subscription_url examples: - default: &532 + default: &533 value: - id: '1' repository: @@ -16682,7 +16682,7 @@ paths: - property_name - value examples: - default: &538 + default: &539 value: - property_name: environment value: production @@ -16732,7 +16732,7 @@ paths: required: - properties examples: - default: &539 + default: &540 value: properties: - property_name: environment @@ -16777,7 +16777,7 @@ paths: required: false schema: type: integer - - &677 + - &100 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 @@ -16801,14 +16801,14 @@ paths: required: false schema: type: string - - &678 + - &680 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &679 + - &101 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16947,7 +16947,7 @@ paths: parameters: - *61 - *98 - - &682 + - &683 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 @@ -17038,6 +17038,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: + - *61 + - *98 + - *100 + - *99 + - &684 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *101 + - &685 + 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': *27 + '500': *96 + '503': *97 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -17064,7 +17210,7 @@ paths: description: Response content: application/json: - schema: &100 + schema: &102 title: Organization Full description: Organization Full type: object @@ -17459,7 +17605,7 @@ paths: - updated_at - archived_at examples: - default-response: &101 + default-response: &103 value: login: github id: 1 @@ -17776,17 +17922,17 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *101 + default: *103 '422': description: Validation failed content: application/json: schema: oneOf: - - *102 - - *103 + - *104 + - *105 '409': *45 x-github: githubCloudOnly: false @@ -17900,7 +18046,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &322 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17976,7 +18122,7 @@ paths: type: integer runners: type: array - items: &104 + items: &106 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18039,7 +18185,7 @@ paths: - size_gb - display_name - source - machine_size_details: &112 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -18148,7 +18294,7 @@ paths: - public_ip_enabled - platform examples: - default: &132 + default: &134 value: total_count: 2 runners: @@ -18286,9 +18432,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: &113 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -18345,7 +18491,7 @@ paths: type: integer images: type: array - items: &105 + items: &107 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -18404,7 +18550,7 @@ paths: - latest_version - state examples: - default: &107 + default: &109 value: total_count: 2 image_versions: @@ -18436,7 +18582,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *61 - - &106 + - &108 name: image_definition_id description: Image definition ID of custom image in: path @@ -18448,7 +18594,7 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: default: value: @@ -18479,7 +18625,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *61 - - *106 + - *108 responses: '204': description: Response @@ -18502,7 +18648,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: - - *106 + - *108 - *61 responses: '200': @@ -18519,7 +18665,7 @@ paths: type: integer image_versions: type: array - items: &108 + items: &110 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -18557,7 +18703,7 @@ paths: - created_on - state_details examples: - default: *107 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18578,8 +18724,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: - *61 - - *106 - - &109 + - *108 + - &111 name: version description: Version of a custom image in: path @@ -18592,7 +18738,7 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: default: value: @@ -18619,8 +18765,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *61 - - *106 - - *109 + - *108 + - *111 responses: '204': description: Response @@ -18657,7 +18803,7 @@ paths: type: integer images: type: array - items: &110 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18697,7 +18843,7 @@ paths: - display_name - source examples: - default: &111 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -18737,9 +18883,9 @@ paths: type: integer images: type: array - items: *110 + items: *112 examples: - default: *111 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18827,7 +18973,7 @@ paths: type: integer machine_specs: type: array - items: *112 + items: *114 examples: default: value: @@ -18897,7 +19043,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *61 - - &114 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18909,9 +19055,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 headers: Link: *52 x-github: @@ -18932,7 +19078,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *61 - - *114 + - *116 requestBody: required: true content: @@ -18976,9 +19122,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18995,15 +19141,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *61 - - *114 + - *116 responses: '202': description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19029,7 +19175,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &115 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19043,7 +19189,7 @@ paths: required: - include_claim_keys examples: - default: &116 + default: &118 value: include_claim_keys: - repo @@ -19070,15 +19216,15 @@ paths: required: true content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &142 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -19117,7 +19263,7 @@ paths: schema: type: object properties: - enabled_repositories: &117 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19130,7 +19276,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: &118 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19138,12 +19284,12 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &328 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: &119 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19185,9 +19331,9 @@ paths: schema: type: object properties: - enabled_repositories: *117 - allowed_actions: *118 - sha_pinning_required: *119 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -19221,7 +19367,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 type: object properties: days: @@ -19263,7 +19409,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &333 type: object properties: days: @@ -19306,7 +19452,7 @@ paths: description: Response content: application/json: - schema: &120 + schema: &122 type: object properties: approval_policy: @@ -19320,7 +19466,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &334 value: approval_policy: first_time_contributors '404': *6 @@ -19351,7 +19497,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -19379,7 +19525,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object required: - run_workflows_from_fork_pull_requests @@ -19405,7 +19551,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &121 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19433,7 +19579,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -19456,7 +19602,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -19506,7 +19652,7 @@ paths: type: array items: *64 examples: - default: &125 + default: &127 value: total_count: 1 repositories: @@ -19691,7 +19837,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *61 - - &122 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -19720,7 +19866,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -19749,7 +19895,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &125 type: object properties: github_owned_allowed: @@ -19771,7 +19917,7 @@ paths: items: type: string examples: - default: &124 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -19804,9 +19950,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19938,7 +20084,7 @@ paths: type: array items: *64 examples: - default: *125 + default: *127 '403': *27 '404': *6 x-github: @@ -20007,7 +20153,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: - *61 - - *122 + - *124 responses: '204': description: No content @@ -20034,7 +20180,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: - *61 - - *122 + - *124 responses: '204': description: No content @@ -20068,17 +20214,17 @@ paths: description: Response content: application/json: - schema: &336 + schema: &337 type: object properties: - default_workflow_permissions: &126 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &127 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20086,7 +20232,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &128 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20119,13 +20265,13 @@ paths: required: false content: application/json: - schema: &337 + schema: &338 type: object properties: - default_workflow_permissions: *126 - can_approve_pull_request_reviews: *127 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20170,7 +20316,7 @@ paths: type: number runner_groups: type: array - items: &129 + items: &131 type: object properties: id: @@ -20360,9 +20506,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &131 + default: &133 value: id: 2 name: octo-runner-group @@ -20398,7 +20544,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *61 - - &130 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20410,7 +20556,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -20447,7 +20593,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *61 - - *130 + - *132 requestBody: required: true content: @@ -20503,9 +20649,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20525,7 +20671,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *61 - - *130 + - *132 responses: '204': description: Response @@ -20549,7 +20695,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 - *17 - *19 responses: @@ -20567,9 +20713,9 @@ paths: type: number runners: type: array - items: *104 + items: *106 examples: - default: *132 + default: *134 headers: Link: *52 x-github: @@ -20592,7 +20738,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: - *61 - - *130 + - *132 - *19 - *17 responses: @@ -20610,9 +20756,9 @@ paths: type: number repositories: type: array - items: *133 + items: *135 examples: - default: &639 + default: &640 value: total_count: 1 repositories: @@ -20865,7 +21011,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: - *61 - - *130 + - *132 requestBody: required: true content: @@ -20910,8 +21056,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: - *61 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20934,8 +21080,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: - *61 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20959,7 +21105,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 - *17 - *19 responses: @@ -20977,7 +21123,7 @@ paths: type: number runners: type: array - items: &135 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -21011,7 +21157,7 @@ paths: type: boolean labels: type: array - items: &138 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21041,7 +21187,7 @@ paths: - busy - labels examples: - default: &136 + default: &138 value: total_count: 2 runners: @@ -21101,7 +21247,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 requestBody: required: true content: @@ -21146,8 +21292,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: - *61 - - *130 - - &134 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21176,8 +21322,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: - *61 - - *130 - - *134 + - *132 + - *136 responses: '204': description: Response @@ -21225,9 +21371,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *52 x-github: @@ -21259,7 +21405,7 @@ paths: application/json: schema: type: array - items: &338 + items: &339 title: Runner Application description: Runner Application type: object @@ -21284,7 +21430,7 @@ paths: - download_url - filename examples: - default: &339 + default: &340 value: - os: osx architecture: x64 @@ -21370,7 +21516,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &341 description: Response content: application/json: @@ -21380,7 +21526,7 @@ paths: - runner - encoded_jit_config properties: - runner: *135 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21443,7 +21589,7 @@ paths: description: Response content: application/json: - schema: &137 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -21485,7 +21631,7 @@ paths: - token - expires_at examples: - default: &341 + default: &342 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21522,9 +21668,9 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: &342 + default: &343 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21550,15 +21696,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &343 + default: &344 value: id: 23 name: MBP @@ -21600,7 +21746,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *61 - - *134 + - *136 responses: '204': description: Response @@ -21627,9 +21773,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 responses: - '200': &139 + '200': &141 description: Response content: application/json: @@ -21643,7 +21789,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -21683,7 +21829,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 requestBody: required: true content: @@ -21707,7 +21853,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21732,7 +21878,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 requestBody: required: true content: @@ -21757,7 +21903,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21782,9 +21928,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: - *61 - - *134 + - *136 responses: - '200': &344 + '200': &345 description: Response content: application/json: @@ -21798,7 +21944,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -21840,8 +21986,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: - *61 - - *134 - - &345 + - *136 + - &346 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21849,7 +21995,7 @@ paths: schema: type: string responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21892,7 +22038,7 @@ paths: type: integer secrets: type: array - items: &140 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21973,7 +22119,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &358 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22008,7 +22154,7 @@ paths: - key_id - key examples: - default: &358 + default: &359 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22034,7 +22180,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *61 - - &141 + - &143 name: secret_name description: The name of the secret. in: path @@ -22046,7 +22192,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -22077,7 +22223,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -22134,7 +22280,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -22161,7 +22307,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -22188,7 +22334,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -22206,9 +22352,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: &145 + default: &147 value: total_count: 1 repositories: @@ -22301,7 +22447,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -22354,7 +22500,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -22388,7 +22534,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -22421,7 +22567,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &326 + - &327 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)." @@ -22445,7 +22591,7 @@ paths: type: integer variables: type: array - items: &143 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -22583,7 +22729,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -22609,7 +22755,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *61 - - &144 + - &146 name: name description: The name of the variable. in: path @@ -22621,7 +22767,7 @@ paths: description: Response content: application/json: - schema: *143 + schema: *145 examples: default: value: @@ -22652,7 +22798,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *61 - - *144 + - *146 requestBody: required: true content: @@ -22715,7 +22861,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *61 - - *144 + - *146 responses: '204': description: Response @@ -22742,7 +22888,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *61 - - *144 + - *146 - *19 - *17 responses: @@ -22760,9 +22906,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22789,7 +22935,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *61 - - *144 + - *146 requestBody: required: true content: @@ -22839,7 +22985,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *61 - - *144 + - *146 - name: repository_id in: path required: true @@ -22874,7 +23020,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *61 - - *144 + - *146 - name: repository_id in: path required: true @@ -22963,6 +23109,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -23157,12 +23317,12 @@ paths: required: - subject_digests examples: - default: &666 + default: &667 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &667 + withPredicateType: &668 value: subject_digests: - sha256:abc123 @@ -23221,7 +23381,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &668 + default: &669 value: attestations_subject_digests: - sha256:abc: @@ -23570,7 +23730,7 @@ paths: initiator: type: string examples: - default: &371 + default: &372 value: attestations: - bundle: @@ -23789,7 +23949,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &146 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23815,7 +23975,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23846,7 +24006,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &167 + items: &169 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23923,7 +24083,7 @@ paths: parent: anyOf: - type: 'null' - - &218 + - &220 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24059,7 +24219,7 @@ paths: - string - 'null' format: date-time - state: *146 + state: *148 contact_link: description: The contact link of the campaign. type: @@ -24282,9 +24442,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: &148 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24367,9 +24527,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '404': *6 '422': description: Unprocessable Entity @@ -24447,7 +24607,7 @@ paths: - string - 'null' format: uri - state: *146 + state: *148 examples: default: value: @@ -24457,9 +24617,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '400': description: Bad Request content: @@ -24526,17 +24686,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &396 + - &397 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: &156 + schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &397 + - &398 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 @@ -24544,7 +24704,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &159 type: - string - 'null' @@ -24560,7 +24720,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -24583,7 +24743,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -24604,18 +24764,18 @@ paths: items: type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: &401 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &160 type: - string - 'null' @@ -24625,13 +24785,13 @@ paths: - dismissed - fixed - - fixed_at: *154 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: &402 + dismissed_at: *157 + dismissed_reason: &403 type: - string - 'null' @@ -24642,14 +24802,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &403 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &404 + rule: &405 type: object properties: id: @@ -24710,26 +24870,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &405 + tool: &406 type: object properties: - name: *156 + name: *158 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &406 + guid: *159 + most_recent_instance: &407 type: object properties: - ref: &398 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24740,13 +24900,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &418 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: *158 + state: *160 commit_sha: type: string message: @@ -25252,7 +25412,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *161 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25395,7 +25555,7 @@ paths: application/json: schema: *41 examples: - default: *160 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25423,9 +25583,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: *162 + default: *164 '304': *35 '403': *27 '404': *6 @@ -25477,7 +25637,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -25512,7 +25672,7 @@ paths: application/json: schema: *41 examples: - default: *160 + default: *162 '304': *35 '403': *27 '404': *6 @@ -25796,7 +25956,7 @@ paths: - *61 - *43 responses: - '204': *163 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -25934,7 +26094,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *162 '403': *27 '404': *6 x-github: @@ -25987,13 +26147,13 @@ paths: application/json: schema: type: array - items: *164 + items: *166 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *167 '403': *27 '404': *6 x-github: @@ -26033,7 +26193,7 @@ paths: type: integer codespaces: type: array - items: &208 + items: &210 type: object title: Codespace description: A codespace. @@ -26064,11 +26224,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *133 + repository: *135 machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26355,7 +26515,7 @@ paths: - pulls_url - recent_folders examples: - default: &209 + default: &211 value: total_count: 3 codespaces: @@ -26979,7 +27139,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &168 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27020,7 +27180,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -27058,7 +27218,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27093,7 +27253,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27117,15 +27277,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *166 + schema: *168 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27153,7 +27313,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -27208,7 +27368,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -27235,7 +27395,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -27261,7 +27421,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -27279,9 +27439,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -27304,7 +27464,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -27355,7 +27515,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -27389,7 +27549,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -27592,7 +27752,7 @@ paths: currently being billed. seats: type: array - items: &211 + items: &213 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27610,7 +27770,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *167 + - *169 - *53 type: - 'null' @@ -28123,7 +28283,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28438,7 +28598,7 @@ paths: - date additionalProperties: true examples: - default: &290 + default: &291 value: - date: '2024-06-24' total_active_users: 24 @@ -28540,7 +28700,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &291 + '422': &292 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28568,11 +28728,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *61 - - *168 - - *169 - *170 - *171 - *172 + - *173 + - *174 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28610,8 +28770,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *173 - - *174 + - *175 + - *176 - *46 - *38 - *39 @@ -28623,9 +28783,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '304': *35 '400': *14 '403': *27 @@ -28669,7 +28829,7 @@ paths: type: integer secrets: type: array - items: &177 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28748,7 +28908,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28767,7 +28927,7 @@ paths: - key_id - key examples: - default: &458 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28791,13 +28951,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: default: value: @@ -28826,7 +28986,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -28885,7 +29045,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -28910,7 +29070,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -28935,7 +29095,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -28953,9 +29113,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28977,7 +29137,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -29028,7 +29188,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -29060,7 +29220,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -29098,7 +29258,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 title: Package description: A software package type: object @@ -29151,7 +29311,7 @@ paths: repository: anyOf: - type: 'null' - - *133 + - *135 created_at: type: string format: date-time @@ -29169,7 +29329,7 @@ paths: - created_at - updated_at examples: - default: &221 + default: &223 value: - id: 197 name: hello_docker @@ -29339,7 +29499,7 @@ paths: application/json: schema: type: array - items: &200 + items: &202 title: Organization Invitation description: Organization Invitation type: object @@ -29393,7 +29553,7 @@ paths: - invitation_teams_url - node_id examples: - default: &201 + default: &203 value: - id: 1 login: monalisa @@ -29460,7 +29620,7 @@ paths: application/json: schema: type: array - items: &178 + items: &180 title: Org Hook description: Org Hook type: object @@ -29645,9 +29805,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: &179 + default: &181 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29695,7 +29855,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *61 - - &180 + - &182 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. @@ -29708,9 +29868,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -29738,7 +29898,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *61 - - *180 + - *182 requestBody: required: false content: @@ -29784,7 +29944,7 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: default: value: @@ -29826,7 +29986,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *61 - - *180 + - *182 responses: '204': description: Response @@ -29854,7 +30014,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *61 - - *180 + - *182 responses: '200': description: Response @@ -29885,7 +30045,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *61 - - *180 + - *182 requestBody: required: false content: @@ -29936,9 +30096,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *17 - - *181 + - *183 responses: '200': description: Response @@ -29946,9 +30106,9 @@ paths: application/json: schema: type: array - items: *182 + items: *184 examples: - default: *183 + default: *185 '400': *14 '422': *15 x-github: @@ -29974,16 +30134,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 '400': *14 '422': *15 x-github: @@ -30009,7 +30169,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *16 responses: '202': *37 @@ -30039,7 +30199,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *61 - - *180 + - *182 responses: '204': description: Response @@ -30062,7 +30222,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *61 - - &190 + - &192 name: actor_type in: path description: The type of the actor @@ -30075,14 +30235,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &191 + - &193 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &186 + - &188 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`.' @@ -30090,7 +30250,7 @@ paths: required: true schema: type: string - - &187 + - &189 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) @@ -30185,12 +30345,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *61 - - *186 - - *187 + - *188 + - *189 - *19 - *17 - *46 - - &196 + - &198 name: sort description: The property to sort the results by. in: query @@ -30270,14 +30430,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *61 - - *186 - - *187 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: &188 + schema: &190 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30293,7 +30453,7 @@ paths: type: integer format: int64 examples: - default: &189 + default: &191 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30314,23 +30474,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *61 - - &192 + - &194 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *186 - - *187 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -30349,18 +30509,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *61 - - *186 - - *187 - - *190 - - *191 + - *188 + - *189 + - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -30378,9 +30538,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *61 - - *186 - - *187 - - &193 + - *188 + - *189 + - &195 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30393,7 +30553,7 @@ paths: description: Response content: application/json: - schema: &194 + schema: &196 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30409,7 +30569,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &197 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30446,18 +30606,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *61 - - *192 - - *186 - - *187 - - *193 + - *194 + - *188 + - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -30475,19 +30635,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *61 - - *190 - - *191 - - *186 - - *187 + - *192 - *193 + - *188 + - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -30505,13 +30665,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *61 - - *192 - - *186 - - *187 + - *194 + - *188 + - *189 - *19 - *17 - *46 - - *196 + - *198 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30595,7 +30755,7 @@ paths: application/json: schema: *20 examples: - default: &496 + default: &497 value: id: 1 account: @@ -30761,12 +30921,12 @@ paths: application/json: schema: anyOf: - - &198 + - &200 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &197 + limit: &199 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30794,7 +30954,7 @@ paths: properties: {} additionalProperties: false examples: - default: &199 + default: &201 value: limit: collaborators_only origin: organization @@ -30823,13 +30983,13 @@ paths: required: true content: application/json: - schema: &497 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *197 + limit: *199 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30854,9 +31014,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '422': *15 x-github: githubCloudOnly: false @@ -30932,9 +31092,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 '404': *6 @@ -31011,7 +31171,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -31066,7 +31226,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *61 - - &202 + - &204 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31097,7 +31257,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *61 - - *202 + - *204 - *17 - *19 responses: @@ -31107,9 +31267,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: &219 + default: &221 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31152,7 +31312,7 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: default: value: @@ -31240,9 +31400,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: - default: &204 + default: &206 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31275,7 +31435,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *61 - - &205 + - &207 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31331,9 +31491,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: - default: *204 + default: *206 '404': *6 '422': *7 x-github: @@ -31358,7 +31518,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *61 - - *205 + - *207 responses: '204': description: Response @@ -31421,7 +31581,7 @@ paths: - closed - all default: open - - *206 + - *208 - name: type description: Can be the name of an issue type. in: query @@ -31452,7 +31612,7 @@ paths: type: array items: *78 examples: - default: *207 + default: *209 headers: Link: *52 '404': *6 @@ -31611,9 +31771,9 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: - default: *209 + default: *211 '304': *35 '500': *96 '401': *23 @@ -31640,7 +31800,7 @@ paths: parameters: - *61 - *57 - - &210 + - &212 name: codespace_name in: path required: true @@ -31675,15 +31835,15 @@ paths: parameters: - *61 - *57 - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31863,7 +32023,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -31939,7 +32099,7 @@ paths: description: Response content: application/json: - schema: &212 + schema: &214 title: Org Membership description: Org Membership type: object @@ -32008,7 +32168,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &213 + response-if-user-has-an-active-admin-membership-with-organization: &215 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32105,9 +32265,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - response-if-user-already-had-membership-with-organization: *213 + response-if-user-already-had-membership-with-organization: *215 '422': *15 '403': *27 x-github: @@ -32179,7 +32339,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Migration description: A migration. type: object @@ -32517,7 +32677,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32696,7 +32856,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *61 - - &215 + - &217 name: migration_id description: The unique identifier of the migration. in: path @@ -32724,7 +32884,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32894,7 +33054,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *61 - - *215 + - *217 responses: '302': description: Response @@ -32916,7 +33076,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *61 - - *215 + - *217 responses: '204': description: Response @@ -32940,8 +33100,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *61 - - *215 - - &651 + - *217 + - &652 name: repo_name description: repo_name parameter in: path @@ -32969,7 +33129,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *61 - - *215 + - *217 - *17 - *19 responses: @@ -32979,9 +33139,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: &226 + default: &228 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33134,7 +33294,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &217 + items: &219 title: Organization Role description: Organization roles type: object @@ -33311,7 +33471,7 @@ paths: parameters: - *61 - *62 - - &216 + - &218 name: role_id description: The unique identifier of the role. in: path @@ -33348,7 +33508,7 @@ paths: parameters: - *61 - *62 - - *216 + - *218 responses: '204': description: Response @@ -33401,7 +33561,7 @@ paths: parameters: - *61 - *57 - - *216 + - *218 responses: '204': description: Response @@ -33433,7 +33593,7 @@ paths: parameters: - *61 - *57 - - *216 + - *218 responses: '204': description: Response @@ -33462,13 +33622,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *61 - - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33519,7 +33679,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *61 - - *216 + - *218 - *17 - *19 responses: @@ -33598,7 +33758,7 @@ paths: parent: anyOf: - type: 'null' - - *218 + - *220 type: description: The ownership type of the team type: string @@ -33631,7 +33791,7 @@ paths: - type - parent examples: - default: *219 + default: *221 headers: Link: *52 '404': @@ -33661,7 +33821,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *61 - - *216 + - *218 - *17 - *19 responses: @@ -33690,7 +33850,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *218 + items: *220 name: type: - string @@ -34000,7 +34160,7 @@ paths: - nuget - container - *61 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34036,12 +34196,12 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34063,7 +34223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &222 + - &224 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 @@ -34081,7 +34241,7 @@ paths: - docker - nuget - container - - &223 + - &225 name: package_name description: The name of the package. in: path @@ -34094,7 +34254,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *222 examples: default: value: @@ -34146,8 +34306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 responses: '204': @@ -34180,8 +34340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 - name: token description: package token @@ -34214,8 +34374,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: - - *222 - - *223 + - *224 + - *225 - *61 - *19 - *17 @@ -34236,7 +34396,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Package Version description: A version of a software package type: object @@ -34371,10 +34531,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 - - &225 + - &227 name: package_version_id description: Unique identifier of the package version. in: path @@ -34386,7 +34546,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -34422,10 +34582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *222 - - *223 - - *61 + - *224 - *225 + - *61 + - *227 responses: '204': description: Response @@ -34457,10 +34617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *222 - - *223 - - *61 + - *224 - *225 + - *61 + - *227 responses: '204': description: Response @@ -34490,7 +34650,7 @@ paths: - *61 - *17 - *19 - - &227 + - &229 name: sort description: The property by which to sort the results. in: query @@ -34501,7 +34661,7 @@ paths: - created_at default: created_at - *46 - - &228 + - &230 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34513,7 +34673,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &229 + - &231 name: repository description: The name of the repository to use to filter the results. in: query @@ -34522,7 +34682,7 @@ paths: type: string examples: - Hello-World - - &230 + - &232 name: permission description: The permission to use to filter the results. in: query @@ -34531,7 +34691,7 @@ paths: type: string examples: - issues_read - - &231 + - &233 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) @@ -34541,7 +34701,7 @@ paths: schema: type: string format: date-time - - &232 + - &234 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) @@ -34551,7 +34711,7 @@ paths: schema: type: string format: date-time - - &233 + - &235 name: token_id description: The ID of the token in: query @@ -34827,7 +34987,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34868,9 +35028,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -34896,14 +35056,14 @@ paths: - *61 - *17 - *19 - - *227 - - *46 - - *228 - *229 + - *46 - *230 - *231 - *232 - *233 + - *234 + - *235 responses: '500': *96 '422': *15 @@ -35144,7 +35304,7 @@ paths: responses: '500': *96 '404': *6 - '204': *163 + '204': *165 '403': *27 '422': *15 x-github: @@ -35185,9 +35345,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -35229,7 +35389,7 @@ paths: type: integer configurations: type: array - items: &234 + items: &236 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35258,6 +35418,10 @@ 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. @@ -35266,6 +35430,16 @@ paths: - 'null' examples: - monalisa + 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. @@ -35358,6 +35532,15 @@ paths: type: - string - 'null' + 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 @@ -35403,6 +35586,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 @@ -35453,12 +35637,25 @@ 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. type: string examples: - monalisa + 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 @@ -35488,7 +35685,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &235 + org-private-registry-with-selected-visibility: &237 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35580,15 +35777,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -35610,7 +35807,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -35648,6 +35845,15 @@ paths: type: - string - 'null' + 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 @@ -35707,7 +35913,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -35753,7 +35959,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Project description: Projects are a way to organize columns and cards of work. @@ -35935,7 +36141,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -35973,7 +36179,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &313 + '410': &314 description: Gone content: application/json: @@ -36016,7 +36222,7 @@ paths: application/json: schema: type: array - items: &237 + items: &239 title: Projects v2 Project description: A projects v2 project type: object @@ -36090,7 +36296,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &730 + - &733 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36175,7 +36381,7 @@ paths: - deleted_at - deleted_by examples: - default: &238 + default: &240 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36278,7 +36484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &239 + - &241 name: project_number description: The project's number. in: path @@ -36291,9 +36497,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -36315,7 +36521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *239 + - *241 - *61 - *17 - *38 @@ -36327,7 +36533,7 @@ paths: application/json: schema: type: array - items: &240 + items: &242 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36477,9 +36683,9 @@ paths: - updated_at - project_url examples: - default: &241 + default: &672 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -36499,6 +36705,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: *52 '304': *35 @@ -36520,8 +36786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *239 - - &671 + - *241 + - &673 name: field_id description: The unique identifier of the field. in: path @@ -36534,9 +36800,30 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: &674 + 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: *52 '304': *35 @@ -36559,7 +36846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *239 + - *241 - *61 - 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) @@ -36592,7 +36879,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Projects v2 Item description: An item belonging to a project type: object @@ -36609,7 +36896,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &244 + content_type: &245 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36666,7 +36953,7 @@ paths: - updated_at - archived_at examples: - default: &247 + default: &248 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37361,7 +37648,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *239 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -37398,7 +37685,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &675 title: Projects v2 Item description: An item belonging to a project type: object @@ -37412,7 +37699,7 @@ paths: content: oneOf: - *78 - - &441 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -37532,7 +37819,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 active_lock_reason: type: - string @@ -37587,7 +37874,7 @@ paths: type: - array - 'null' - items: *167 + items: *169 head: type: object properties: @@ -37631,7 +37918,7 @@ paths: _links: type: object properties: - comments: &243 + comments: &244 title: Link description: Hypermedia Link type: object @@ -37640,13 +37927,13 @@ paths: type: string required: - href - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -37657,7 +37944,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &541 + auto_merge: &542 title: Auto merge description: The status of auto merging a pull request. type: @@ -37759,7 +38046,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *244 + content_type: *245 creator: *4 created_at: type: string @@ -37796,7 +38083,7 @@ paths: - updated_at - archived_at examples: - issue: &245 + issue: &246 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37851,7 +38138,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: *245 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -37871,9 +38158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *239 + - *241 - *61 - - &248 + - &249 name: item_id description: The unique identifier of the project item. in: path @@ -37899,9 +38186,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -37922,9 +38209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *239 + - *241 - *61 - - *248 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37997,13 +38284,13 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - text_field: *247 - number_field: *247 - date_field: *247 - single_select_field: *247 - iteration_field: *247 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -38023,9 +38310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *239 + - *241 - *61 - - *248 + - *249 responses: '204': description: Response @@ -38057,7 +38344,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38133,7 +38420,7 @@ paths: - property_name - value_type examples: - default: &250 + default: &251 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38192,7 +38479,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *249 + items: *250 minItems: 1 maxItems: 100 required: @@ -38222,9 +38509,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 '403': *27 '404': *6 x-github: @@ -38246,7 +38533,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &251 + - &252 name: custom_property_name description: The custom property name in: path @@ -38258,9 +38545,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: &252 + default: &253 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38295,7 +38582,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *251 + - *252 requestBody: required: true content: @@ -38373,9 +38660,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *252 + default: *253 '403': *27 '404': *6 x-github: @@ -38399,9 +38686,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *251 + - *252 responses: - '204': *163 + '204': *165 '403': *27 '404': *6 x-github: @@ -38722,9 +39009,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -38927,7 +39214,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &316 title: Full Repository description: Full Repository type: object @@ -39392,7 +39679,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &446 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39422,7 +39709,7 @@ paths: - key - name - html_url - security_and_analysis: *253 + security_and_analysis: *254 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39506,7 +39793,7 @@ paths: - network_count - subscribers_count examples: - default: &317 + default: &318 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40027,7 +40314,7 @@ paths: - *61 - *17 - *19 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40046,7 +40333,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40081,7 +40368,7 @@ paths: source: type: string description: The name of the source - enforcement: &256 + enforcement: &257 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40094,7 +40381,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &257 + items: &258 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40165,7 +40452,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &254 + - &255 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40189,7 +40476,7 @@ paths: match. items: type: string - - &258 + - &259 title: Organization ruleset conditions type: object description: |- @@ -40203,7 +40490,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40237,7 +40524,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40259,7 +40546,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40272,7 +40559,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &255 + items: &256 title: Repository ruleset property targeting definition type: object @@ -40305,7 +40592,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *255 + items: *256 required: - repository_property type: @@ -40313,12 +40600,12 @@ paths: - object rules: type: array - items: &565 + items: &566 title: Repository Rule type: object description: A repository rule. oneOf: - - &259 + - &260 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40330,7 +40617,7 @@ paths: type: string enum: - creation - - &260 + - &261 title: update description: Only allow users with bypass permission to update matching refs. @@ -40351,7 +40638,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &261 + - &262 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40363,7 +40650,7 @@ paths: type: string enum: - deletion - - &262 + - &263 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40375,7 +40662,7 @@ paths: type: string enum: - required_linear_history - - &562 + - &563 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40453,7 +40740,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &263 + - &264 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40477,7 +40764,7 @@ paths: type: string required: - required_deployment_environments - - &264 + - &265 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40489,7 +40776,7 @@ paths: type: string enum: - required_signatures - - &265 + - &266 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40551,7 +40838,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &266 + - &267 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40599,7 +40886,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &267 + - &268 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40611,7 +40898,7 @@ paths: type: string enum: - non_fast_forward - - &268 + - &269 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40647,7 +40934,7 @@ paths: required: - operator - pattern - - &269 + - &270 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40683,7 +40970,7 @@ paths: required: - operator - pattern - - &270 + - &271 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40719,7 +41006,7 @@ paths: required: - operator - pattern - - &271 + - &272 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40755,7 +41042,7 @@ paths: required: - operator - pattern - - &272 + - &273 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40791,7 +41078,7 @@ paths: required: - operator - pattern - - &273 + - &274 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40816,7 +41103,7 @@ paths: type: string required: - restricted_file_paths - - &274 + - &275 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40840,7 +41127,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &275 + - &276 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40863,7 +41150,7 @@ paths: type: string required: - restricted_file_extensions - - &276 + - &277 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40888,7 +41175,7 @@ paths: maximum: 100 required: - max_file_size - - &277 + - &278 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40938,7 +41225,7 @@ paths: - repository_id required: - workflows - - &278 + - &279 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40999,7 +41286,7 @@ paths: - tool required: - code_scanning_tools - - &563 + - &564 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41097,21 +41384,20 @@ paths: - push - repository default: branch - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *258 + items: *258 + conditions: *259 rules: type: array description: An array of rules within the ruleset. - items: &281 + items: &282 title: Repository Rule type: object description: A repository rule. oneOf: - - *259 - *260 - *261 - *262 @@ -41131,6 +41417,7 @@ paths: - *276 - *277 - *278 + - *279 required: - name - enforcement @@ -41168,9 +41455,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &280 + default: &281 value: id: 21 name: super cool ruleset @@ -41225,7 +41512,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &566 + - &567 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 @@ -41240,7 +41527,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -41256,14 +41543,14 @@ paths: - week - month default: day - - &568 + - &569 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 - - &569 + - &570 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41283,7 +41570,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -41339,7 +41626,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -41383,7 +41670,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &572 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41399,7 +41686,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -41506,7 +41793,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -41579,9 +41866,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '404': *6 '500': *96 put: @@ -41625,16 +41912,16 @@ paths: - tag - push - repository - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *258 + items: *258 + conditions: *259 rules: description: An array of rules within the ruleset. type: array - items: *281 + items: *282 examples: default: value: @@ -41669,9 +41956,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '404': *6 '500': *96 delete: @@ -41728,7 +42015,7 @@ paths: application/json: schema: type: array - items: &282 + items: &283 title: Ruleset version type: object description: The historical version of a ruleset @@ -41752,7 +42039,7 @@ paths: type: string format: date-time examples: - default: &576 + default: &577 value: - version_id: 3 actor: @@ -41805,9 +42092,9 @@ paths: description: Response content: application/json: - schema: &577 + schema: &578 allOf: - - *282 + - *283 - type: object required: - state @@ -41877,7 +42164,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &578 + - &579 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41888,7 +42175,7 @@ paths: enum: - open - resolved - - &579 + - &580 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41898,7 +42185,7 @@ paths: required: false schema: type: string - - &580 + - &581 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41907,7 +42194,7 @@ paths: required: false schema: type: string - - &581 + - &582 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. @@ -41922,7 +42209,7 @@ paths: - *46 - *19 - *17 - - &582 + - &583 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 @@ -41932,7 +42219,7 @@ paths: required: false schema: type: string - - &583 + - &584 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 @@ -41942,7 +42229,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41951,7 +42238,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41960,7 +42247,7 @@ paths: schema: type: boolean default: false - - &586 + - &587 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41969,7 +42256,7 @@ paths: schema: type: boolean default: false - - &587 + - &588 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41988,27 +42275,27 @@ paths: items: type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &588 + state: &589 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: &589 + resolution: &590 type: - string - 'null' @@ -42115,14 +42402,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &590 + - &591 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &592 + - &593 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42179,7 +42466,7 @@ paths: - blob_url - commit_sha - commit_url - - &593 + - &594 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. @@ -42240,7 +42527,7 @@ paths: - page_url - commit_sha - commit_url - - &594 + - &595 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42255,7 +42542,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &595 + - &596 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42270,7 +42557,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &596 + - &597 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42285,7 +42572,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &597 + - &598 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42300,7 +42587,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &598 + - &599 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42315,7 +42602,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &599 + - &600 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42330,7 +42617,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &600 + - &601 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. @@ -42345,7 +42632,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &601 + - &602 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. @@ -42360,7 +42647,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &602 + - &603 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. @@ -42375,7 +42662,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &603 + - &604 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. @@ -42390,7 +42677,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &604 + - &605 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 @@ -42630,7 +42917,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &284 + pattern_config_version: &285 type: - string - 'null' @@ -42640,7 +42927,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &283 + items: &284 type: object properties: token_type: @@ -42709,7 +42996,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *283 + items: *284 examples: default: value: @@ -42766,7 +43053,7 @@ paths: schema: type: object properties: - pattern_config_version: *284 + pattern_config_version: *285 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42792,7 +43079,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *284 + custom_pattern_version: *285 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42890,7 +43177,7 @@ paths: application/json: schema: type: array - items: &608 + items: &609 description: A repository security advisory. type: object properties: @@ -43134,7 +43421,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 credits_detailed: type: - array @@ -43145,7 +43432,7 @@ paths: type: object properties: user: *4 - type: *285 + type: *286 state: type: string description: The state of the user's acceptance of the @@ -43171,7 +43458,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *167 + items: *169 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43209,7 +43496,7 @@ paths: - private_fork additionalProperties: false examples: - default: &609 + default: &610 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43596,9 +43883,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43683,7 +43970,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &676 type: object properties: total_minutes_used: @@ -43753,7 +44040,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &674 + default: &677 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43789,7 +44076,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &678 type: object properties: total_gigabytes_bandwidth_used: @@ -43807,7 +44094,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &676 + default: &679 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43839,7 +44126,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &681 type: object properties: days_left_in_billing_cycle: @@ -43857,7 +44144,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &681 + default: &682 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44007,9 +44294,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44078,7 +44365,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -44101,7 +44388,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -44142,7 +44429,7 @@ paths: type: integer network_configurations: type: array - items: &286 + items: &287 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44267,9 +44554,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: &287 + default: &288 value: id: 123456789ABCDEF name: My network configuration @@ -44298,7 +44585,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &288 + - &289 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44310,9 +44597,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 headers: Link: *52 x-github: @@ -44334,7 +44621,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *288 + - *289 requestBody: required: true content: @@ -44373,9 +44660,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44395,7 +44682,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *288 + - *289 responses: '204': description: Response @@ -44540,13 +44827,13 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: - default: *290 + default: *291 '500': *96 '403': *27 '404': *6 - '422': *291 + '422': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44574,9 +44861,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 headers: Link: *52 '403': *27 @@ -44670,7 +44957,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44744,7 +45031,7 @@ paths: parent: anyOf: - type: 'null' - - *218 + - *220 members_count: type: integer examples: @@ -45069,7 +45356,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &294 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45146,9 +45433,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -45233,16 +45520,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -45312,7 +45599,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45423,7 +45710,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -45532,9 +45819,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: author: login: octocat @@ -45608,7 +45895,7 @@ paths: parameters: - *61 - *62 - - &296 + - &297 name: discussion_number description: The number that identifies the discussion. in: path @@ -45620,9 +45907,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45646,7 +45933,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: false content: @@ -45669,9 +45956,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &627 + default: &628 value: author: login: octocat @@ -45743,7 +46030,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 responses: '204': description: Response @@ -45771,7 +46058,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 - *46 - *17 - *19 @@ -45782,7 +46069,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45862,7 +46149,7 @@ paths: - updated_at - url examples: - default: &628 + default: &629 value: - author: login: octocat @@ -45932,7 +46219,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: true content: @@ -45954,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &298 + default: &299 value: author: login: octocat @@ -46024,8 +46311,8 @@ paths: parameters: - *61 - *62 - - *296 - - &299 + - *297 + - &300 name: comment_number description: The number that identifies the comment. in: path @@ -46037,9 +46324,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46063,8 +46350,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 requestBody: required: true content: @@ -46086,9 +46373,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &629 + default: &630 value: author: login: octocat @@ -46154,8 +46441,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 responses: '204': description: Response @@ -46183,8 +46470,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 - 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. @@ -46210,7 +46497,7 @@ paths: application/json: schema: type: array - items: &300 + items: &301 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46254,7 +46541,7 @@ paths: - content - created_at examples: - default: &302 + default: &303 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46306,8 +46593,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 requestBody: required: true content: @@ -46340,9 +46627,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *301 examples: - default: &301 + default: &302 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46371,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46398,9 +46685,9 @@ paths: parameters: - *61 - *62 - - *296 - - *299 - - &303 + - *297 + - *300 + - &304 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46434,7 +46721,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 - 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. @@ -46460,9 +46747,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -46490,7 +46777,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: true content: @@ -46522,16 +46809,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46556,8 +46843,8 @@ paths: parameters: - *61 - *62 - - *296 - - *303 + - *297 + - *304 responses: '204': description: Response @@ -46592,9 +46879,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 x-github: @@ -46678,7 +46965,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: Team Membership description: Team Membership type: object @@ -46706,7 +46993,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &630 + response-if-user-is-a-team-maintainer: &631 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46769,9 +47056,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-users-membership-with-team-is-now-pending: &631 + response-if-users-membership-with-team-is-now-pending: &632 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46844,7 +47131,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Team Project description: A team's access to a project. type: object @@ -46913,7 +47200,7 @@ paths: - updated_at - permissions examples: - default: &632 + default: &633 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46978,7 +47265,7 @@ paths: parameters: - *61 - *62 - - &306 + - &307 name: project_id description: The unique identifier of the project. in: path @@ -46990,9 +47277,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: &633 + default: &634 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47056,7 +47343,7 @@ paths: parameters: - *61 - *62 - - *306 + - *307 requestBody: required: false content: @@ -47125,7 +47412,7 @@ paths: parameters: - *61 - *62 - - *306 + - *307 responses: '204': description: Response @@ -47163,9 +47450,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -47196,14 +47483,14 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &634 + schema: &635 title: Team Repository description: A team's access to a repository. type: object @@ -47846,8 +48133,8 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 requestBody: required: false content: @@ -47894,8 +48181,8 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 responses: '204': description: Response @@ -47930,9 +48217,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - response-if-child-teams-exist: &635 + response-if-child-teams-exist: &636 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48059,7 +48346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &309 + - &310 name: column_id description: The unique identifier of the column. in: path @@ -48071,7 +48358,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &311 title: Project Column description: Project columns contain cards of work. type: object @@ -48125,7 +48412,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &312 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48160,7 +48447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *309 + - *310 requestBody: required: true content: @@ -48185,9 +48472,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '304': *35 '403': *27 '401': *23 @@ -48212,7 +48499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *309 + - *310 responses: '204': description: Response @@ -48241,7 +48528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *309 + - *310 requestBody: required: true content: @@ -48302,15 +48589,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &312 + default: &313 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48367,7 +48654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *306 + - *307 requestBody: required: false content: @@ -48416,9 +48703,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *312 + default: *313 '404': description: Not Found if the authenticated user does not have access to the project @@ -48439,7 +48726,7 @@ paths: items: type: string '401': *23 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -48462,7 +48749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *306 + - *307 responses: '204': description: Delete Success @@ -48483,7 +48770,7 @@ paths: items: type: string '401': *23 - '410': *313 + '410': *314 '404': *6 x-github: githubCloudOnly: false @@ -48507,7 +48794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *306 + - *307 - 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 @@ -48564,7 +48851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *306 + - *307 - *57 requestBody: required: false @@ -48619,7 +48906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *306 + - *307 - *57 responses: '204': @@ -48651,7 +48938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *306 + - *307 - *57 responses: '200': @@ -48749,7 +49036,7 @@ paths: resources: type: object properties: - core: &314 + core: &315 title: Rate Limit type: object properties: @@ -48766,21 +49053,21 @@ paths: - remaining - reset - used - graphql: *314 - search: *314 - code_search: *314 - source_import: *314 - integration_manifest: *314 - code_scanning_upload: *314 - actions_runner_registration: *314 - scim: *314 - dependency_snapshots: *314 - dependency_sbom: *314 - code_scanning_autofix: *314 + graphql: *315 + search: *315 + code_search: *315 + source_import: *315 + integration_manifest: *315 + code_scanning_upload: *315 + actions_runner_registration: *315 + scim: *315 + dependency_snapshots: *315 + dependency_sbom: *315 + code_scanning_autofix: *315 required: - core - search - rate: *314 + rate: *315 required: - rate - resources @@ -48885,14 +49172,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *315 + schema: *316 examples: default-response: summary: Default response @@ -49393,7 +49680,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *316 + '301': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49411,8 +49698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -49660,10 +49947,10 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 - '307': &318 + default: *318 + '307': &319 description: Temporary Redirect content: application/json: @@ -49692,8 +49979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -49715,7 +50002,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *318 + '307': *319 '404': *6 '409': *45 x-github: @@ -49739,11 +50026,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 - - &349 + - &350 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49766,7 +50053,7 @@ paths: type: integer artifacts: type: array - items: &319 + items: &320 title: Artifact description: An artifact type: object @@ -49861,7 +50148,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &351 value: total_count: 2 artifacts: @@ -49922,9 +50209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *307 - *308 - - &320 + - *309 + - &321 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49936,7 +50223,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -49974,9 +50261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *307 - *308 - - *320 + - *309 + - *321 responses: '204': description: Response @@ -50000,9 +50287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *307 - *308 - - *320 + - *309 + - *321 - name: archive_format in: path required: true @@ -50016,7 +50303,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': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50039,14 +50326,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default: value: @@ -50072,11 +50359,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 - - &322 + - &323 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 @@ -50110,7 +50397,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Repository actions caches description: Repository actions caches type: object @@ -50160,7 +50447,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &325 value: total_count: 1 actions_caches: @@ -50192,23 +50479,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: - - *307 - *308 + - *309 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *323 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50228,8 +50515,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: - - *307 - *308 + - *309 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50260,9 +50547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *307 - *308 - - &325 + - *309 + - &326 name: job_id description: The unique identifier of the job. in: path @@ -50274,7 +50561,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &354 title: Job description: Information of a job execution in a workflow run type: object @@ -50621,9 +50908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *307 - *308 - - *325 + - *309 + - *326 responses: '302': description: Response @@ -50651,9 +50938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *307 - *308 - - *325 + - *309 + - *326 requestBody: required: false content: @@ -50675,7 +50962,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50699,8 +50986,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: - - *307 - *308 + - *309 responses: '200': description: Status response @@ -50750,8 +51037,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -50785,7 +51072,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50814,8 +51101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -50833,7 +51120,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &356 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50854,7 +51141,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &357 value: total_count: 2 secrets: @@ -50887,9 +51174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *307 - *308 - - *326 + - *309 + - *327 - *19 responses: '200': @@ -50906,7 +51193,7 @@ paths: type: integer variables: type: array - items: &359 + items: &360 title: Actions Variable type: object properties: @@ -50940,7 +51227,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &361 value: total_count: 2 variables: @@ -50973,8 +51260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -50983,12 +51270,12 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &329 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *118 - selected_actions_url: *327 - sha_pinning_required: *119 + allowed_actions: *120 + selected_actions_url: *328 + sha_pinning_required: *121 required: - enabled examples: @@ -51016,8 +51303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51028,9 +51315,9 @@ paths: schema: type: object properties: - enabled: *328 - allowed_actions: *118 - sha_pinning_required: *119 + enabled: *329 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -51060,14 +51347,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: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: access_level: @@ -51084,7 +51371,7 @@ paths: required: - access_level examples: - default: &330 + default: &331 value: access_level: organization x-github: @@ -51108,15 +51395,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: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 responses: '204': description: Response @@ -51140,14 +51427,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -51171,8 +51458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Empty response for successful settings update @@ -51182,7 +51469,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *333 examples: default: summary: Set retention days @@ -51206,16 +51493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *120 + schema: *122 examples: - default: *333 + default: *334 '404': *6 x-github: enabledForGitHubApps: true @@ -51234,8 +51521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51245,7 +51532,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -51269,16 +51556,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: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: *121 + default: *123 '403': *27 '404': *6 x-github: @@ -51298,15 +51585,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: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *335 + schema: *336 examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -51330,16 +51617,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *124 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51358,8 +51645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51367,9 +51654,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51391,16 +51678,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51421,8 +51708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Success response @@ -51433,9 +51720,9 @@ paths: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51462,8 +51749,8 @@ paths: in: query schema: type: string - - *307 - *308 + - *309 - *17 - *19 responses: @@ -51481,9 +51768,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *52 x-github: @@ -51507,8 +51794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -51516,9 +51803,9 @@ paths: application/json: schema: type: array - items: *338 + items: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51540,8 +51827,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -51584,7 +51871,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *341 '404': *6 '422': *7 '409': *45 @@ -51615,16 +51902,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *307 - *308 + - *309 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51652,16 +51939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *307 - *308 + - *309 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51683,17 +51970,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *343 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51714,9 +52001,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: '204': description: Response @@ -51742,11 +52029,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: - '200': *139 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -51768,9 +52055,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: - - *307 - *308 - - *134 + - *309 + - *136 requestBody: required: true content: @@ -51794,7 +52081,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51818,9 +52105,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: - - *307 - *308 - - *134 + - *309 + - *136 requestBody: required: true content: @@ -51845,7 +52132,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51869,11 +52156,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: - '200': *344 + '200': *345 '404': *6 x-github: githubCloudOnly: false @@ -51900,12 +52187,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: - - *307 - *308 - - *134 - - *345 + - *309 + - *136 + - *346 responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51931,9 +52218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *307 - *308 - - &363 + - *309 + - &364 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. @@ -51941,7 +52228,7 @@ paths: required: false schema: type: string - - &364 + - &365 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51949,7 +52236,7 @@ paths: required: false schema: type: string - - &365 + - &366 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51958,7 +52245,7 @@ paths: required: false schema: type: string - - &366 + - &367 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 @@ -51985,7 +52272,7 @@ paths: - pending - *17 - *19 - - &367 + - &368 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)." @@ -51994,7 +52281,7 @@ paths: schema: type: string format: date-time - - &346 + - &347 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52003,13 +52290,13 @@ paths: schema: type: boolean default: false - - &368 + - &369 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &370 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52032,7 +52319,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &348 title: Workflow Run description: An invocation of a workflow type: object @@ -52149,7 +52436,7 @@ paths: type: - array - 'null' - items: &388 + items: &389 title: Pull Request Minimal type: object properties: @@ -52276,7 +52563,7 @@ paths: head_commit: anyOf: - type: 'null' - - &392 + - &393 title: Simple Commit description: A commit. type: object @@ -52350,8 +52637,8 @@ paths: - timestamp - author - committer - repository: *133 - head_repository: *133 + repository: *135 + head_repository: *135 head_repository_id: type: integer examples: @@ -52391,7 +52678,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &371 value: total_count: 1 workflow_runs: @@ -52627,24 +52914,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *307 - *308 - - &348 + - *309 + - &349 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &351 + default: &352 value: id: 30433642 name: Build @@ -52885,9 +53172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '204': description: Response @@ -52910,9 +53197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -53040,15 +53327,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: - - *307 - *308 - - *348 + - *309 + - *349 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53075,12 +53362,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *307 - *308 - - *348 + - *309 + - *349 - *17 - *19 - - *349 + - *350 responses: '200': description: Response @@ -53096,9 +53383,9 @@ paths: type: integer artifacts: type: array - items: *319 + items: *320 examples: - default: *350 + default: *351 headers: Link: *52 x-github: @@ -53122,25 +53409,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *307 - *308 - - *348 - - &352 + - *309 + - *349 + - &353 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53163,10 +53450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *307 - *308 - - *348 - - *352 + - *309 + - *349 + - *353 - *17 - *19 responses: @@ -53184,9 +53471,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *354 examples: - default: &354 + default: &355 value: total_count: 1 jobs: @@ -53299,10 +53586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *307 - *308 - - *348 - - *352 + - *309 + - *349 + - *353 responses: '302': description: Response @@ -53330,15 +53617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53365,9 +53652,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: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: true content: @@ -53434,15 +53721,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53469,9 +53756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 - 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 @@ -53501,9 +53788,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *52 x-github: @@ -53528,9 +53815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '302': description: Response @@ -53557,9 +53844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '204': description: Response @@ -53586,9 +53873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -53657,7 +53944,7 @@ paths: items: type: object properties: - type: &466 + type: &467 type: string description: The type of reviewer. enum: @@ -53668,7 +53955,7 @@ paths: reviewer: anyOf: - *4 - - *167 + - *169 required: - environment - wait_timer @@ -53743,9 +54030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: true content: @@ -53795,7 +54082,7 @@ paths: application/json: schema: type: array - items: &461 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53907,7 +54194,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53963,9 +54250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: false content: @@ -53987,7 +54274,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54010,9 +54297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: false content: @@ -54034,7 +54321,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54066,9 +54353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -54205,8 +54492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -54224,9 +54511,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *356 examples: - default: *356 + default: *357 headers: Link: *52 x-github: @@ -54251,16 +54538,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54282,17 +54569,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &479 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54318,9 +54605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -54351,7 +54638,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54377,9 +54664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -54404,9 +54691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *307 - *308 - - *326 + - *309 + - *327 - *19 responses: '200': @@ -54423,9 +54710,9 @@ paths: type: integer variables: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *52 x-github: @@ -54448,8 +54735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -54476,7 +54763,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54501,17 +54788,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: &480 + default: &481 value: name: USERNAME value: octocat @@ -54537,9 +54824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 requestBody: required: true content: @@ -54581,9 +54868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 responses: '204': description: Response @@ -54608,8 +54895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -54627,7 +54914,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &362 title: Workflow description: A GitHub Actions workflow type: object @@ -54745,9 +55032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *307 - *308 - - &362 + - *309 + - &363 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54762,7 +55049,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: default: value: @@ -54795,9 +55082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54822,9 +55109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54875,9 +55162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54904,19 +55191,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *307 - *308 - - *362 + - *309 - *363 - *364 - *365 - *366 + - *367 - *17 - *19 - - *367 - - *346 - *368 + - *347 - *369 + - *370 responses: '200': description: Response @@ -54932,9 +55219,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *348 examples: - default: *370 + default: *371 headers: Link: *52 x-github: @@ -54966,9 +55253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '200': description: Response @@ -55029,8 +55316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *307 - *308 + - *309 - *46 - *17 - *38 @@ -55198,8 +55485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -55236,8 +55523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *307 - *308 + - *309 - name: assignee in: path required: true @@ -55273,8 +55560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -55386,8 +55673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *307 - *308 + - *309 - *17 - *38 - *39 @@ -55444,7 +55731,7 @@ paths: initiator: type: string examples: - default: *371 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55464,8 +55751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -55473,7 +55760,7 @@ paths: application/json: schema: type: array - items: &372 + items: &373 title: Autolink reference description: An autolink reference. type: object @@ -55532,8 +55819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -55572,9 +55859,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: id: 1 key_prefix: TICKET- @@ -55605,9 +55892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *307 - *308 - - &374 + - *309 + - &375 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55619,9 +55906,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 '404': *6 x-github: githubCloudOnly: false @@ -55641,9 +55928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *307 - *308 - - *374 + - *309 + - *375 responses: '204': description: Response @@ -55667,8 +55954,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: - - *307 - *308 + - *309 responses: '200': description: Response if Dependabot is enabled @@ -55718,8 +56005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -55740,8 +56027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -55761,8 +56048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *307 - *308 + - *309 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55800,7 +56087,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &377 title: Branch Protection description: Branch Protection type: object @@ -55843,7 +56130,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &380 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55860,7 +56147,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &382 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55882,7 +56169,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *167 + items: *169 apps: description: The list of apps with review dismissal access. @@ -55914,7 +56201,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *167 + items: *169 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55944,7 +56231,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &379 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56007,7 +56294,7 @@ paths: type: string teams: type: array - items: *167 + items: *169 apps: type: array items: @@ -56237,9 +56524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *307 - *308 - - &377 + - *309 + - &378 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). @@ -56253,14 +56540,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &388 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &437 + commit: &438 title: Commit description: Commit type: object @@ -56299,7 +56586,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &376 title: Git User description: Metaproperties for Git author/committer information. @@ -56320,7 +56607,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 message: type: string examples: @@ -56344,7 +56631,7 @@ paths: required: - sha - url - verification: &486 + verification: &487 title: Verification type: object properties: @@ -56380,14 +56667,14 @@ paths: author: oneOf: - *4 - - *142 + - *144 type: - 'null' - object committer: oneOf: - *4 - - *142 + - *144 type: - 'null' - object @@ -56424,7 +56711,7 @@ paths: type: integer files: type: array - items: &448 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -56520,7 +56807,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *377 protection_url: type: string format: uri @@ -56629,7 +56916,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *316 + '301': *317 '404': *6 x-github: githubCloudOnly: false @@ -56651,15 +56938,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -56853,9 +57140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -57115,7 +57402,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &385 title: Status Check Policy description: Status Check Policy type: object @@ -57196,7 +57483,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 apps: type: array items: *5 @@ -57214,7 +57501,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 apps: type: array items: *5 @@ -57274,7 +57561,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *379 required_conversation_resolution: type: object properties: @@ -57386,9 +57673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57413,17 +57700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &380 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57445,17 +57732,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57474,9 +57761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57501,17 +57788,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &382 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57607,9 +57894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -57707,9 +57994,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *382 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -57730,9 +58017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57759,17 +58046,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &383 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57792,17 +58079,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *383 + default: *384 '404': *6 x-github: githubCloudOnly: false @@ -57822,9 +58109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57849,17 +58136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57885,9 +58172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -57939,9 +58226,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *6 '422': *15 x-github: @@ -57963,9 +58250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57989,9 +58276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58025,9 +58312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58094,9 +58381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58160,9 +58447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: content: application/json: @@ -58228,15 +58515,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -58327,9 +58614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -58352,9 +58639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58364,7 +58651,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &387 value: - id: 1 slug: octoapp @@ -58421,9 +58708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58457,7 +58744,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58478,9 +58765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58514,7 +58801,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58535,9 +58822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58571,7 +58858,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58593,9 +58880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58603,9 +58890,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '404': *6 x-github: githubCloudOnly: false @@ -58625,9 +58912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58663,9 +58950,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58686,9 +58973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58724,9 +59011,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58747,9 +59034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: content: application/json: @@ -58784,9 +59071,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58808,9 +59095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58844,9 +59131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58904,9 +59191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58964,9 +59251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -59026,9 +59313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -59050,7 +59337,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -59166,8 +59453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -59446,7 +59733,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59581,8 +59868,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &691 + items: *389 + deployment: &694 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59869,9 +60156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *307 - *308 - - &390 + - *309 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -59883,9 +60170,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &391 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59985,9 +60272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *307 - *308 - - *390 + - *309 + - *391 requestBody: required: true content: @@ -60227,9 +60514,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60249,9 +60536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *307 - *308 - - *390 + - *309 + - *391 - *17 - *19 responses: @@ -60361,15 +60648,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *307 - *308 - - *390 + - *309 + - *391 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -60407,8 +60694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -60430,7 +60717,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &393 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60512,12 +60799,12 @@ paths: type: - array - 'null' - items: *388 + items: *389 app: anyOf: - type: 'null' - *5 - repository: *133 + repository: *135 created_at: type: - string @@ -60528,7 +60815,7 @@ paths: - string - 'null' format: date-time - head_commit: *392 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -60556,7 +60843,7 @@ paths: - check_runs_url - pull_requests examples: - default: &394 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60847,9 +61134,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60868,8 +61155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -60930,7 +61217,7 @@ paths: required: - app_id - setting - repository: *133 + repository: *135 examples: default: value: @@ -61178,9 +61465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *307 - *308 - - &395 + - *309 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61192,9 +61479,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61217,17 +61504,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *307 - *308 - - *395 - - &443 + - *309 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &444 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61266,9 +61553,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *390 examples: - default: &445 + default: &446 value: total_count: 1 check_runs: @@ -61370,15 +61657,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *307 - *308 - - *395 + - *309 + - *396 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -61405,21 +61692,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *307 - *308 - - *396 + - *309 - *397 + - *398 - *19 - *17 - - &414 + - &415 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: *398 - - &415 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61444,13 +61731,13 @@ paths: be returned. in: query required: false - schema: *399 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *400 + schema: *401 responses: '200': description: Response @@ -61461,24 +61748,24 @@ paths: items: type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: *401 - state: *158 - fixed_at: *154 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: *402 - dismissed_comment: *403 - rule: *404 - tool: *405 - most_recent_instance: *406 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -61601,7 +61888,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &407 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61628,9 +61915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *307 - *308 - - &408 + - *309 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61638,30 +61925,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *149 + schema: *151 responses: '200': description: Response content: application/json: - schema: &409 + schema: &410 type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: *401 - state: *158 - fixed_at: *154 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -61723,8 +62010,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *405 - most_recent_instance: *406 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -61820,7 +62107,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -61840,9 +62127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: true content: @@ -61857,8 +62144,8 @@ paths: enum: - open - dismissed - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61877,7 +62164,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -61953,7 +62240,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &413 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61980,15 +62267,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: - - *307 - *308 - - *408 + - *309 + - *409 responses: '200': description: Response content: application/json: - schema: &410 + schema: &411 type: object properties: status: @@ -62015,13 +62302,13 @@ paths: - description - started_at examples: - default: &411 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &412 + '400': &413 description: Bad Request content: application/json: @@ -62032,7 +62319,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': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62057,29 +62344,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: - - *307 - *308 - - *408 + - *309 + - *409 responses: '200': description: OK content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '202': description: Accepted content: application/json: - schema: *410 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *412 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62111,9 +62398,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: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: false content: @@ -62159,8 +62446,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *412 - '403': *413 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity @@ -62184,13 +62471,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 - *19 - *17 - - *414 - *415 + - *416 responses: '200': description: Response @@ -62198,7 +62485,7 @@ paths: application/json: schema: type: array - items: *406 + items: *407 examples: default: value: @@ -62237,7 +62524,7 @@ paths: end_column: 50 classifications: - source - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62271,25 +62558,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *307 - *308 - - *396 + - *309 - *397 + - *398 - *19 - *17 - - *415 + - *416 - 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: *398 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62311,23 +62598,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *398 - commit_sha: &427 + ref: *399 + commit_sha: &428 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: *416 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *418 error: type: string examples: @@ -62352,8 +62639,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *405 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -62415,7 +62702,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62451,8 +62738,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: - - *307 - *308 + - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62465,7 +62752,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -62519,7 +62806,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *407 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed @@ -62606,8 +62893,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: - - *307 - *308 + - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62663,7 +62950,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': *413 + '403': *414 '404': *6 '503': *97 x-github: @@ -62685,8 +62972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -62694,7 +62981,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -62806,7 +63093,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': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62835,8 +63122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *307 - *308 + - *309 - name: language in: path description: The language of the CodeQL database. @@ -62848,7 +63135,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -62880,9 +63167,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': &450 + '302': &451 description: Found - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62904,8 +63191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *307 - *308 + - *309 - name: language in: path description: The language of the CodeQL database. @@ -62915,7 +63202,7 @@ paths: responses: '204': description: Response - '403': *413 + '403': *414 '404': *6 '503': *97 x-github: @@ -62943,8 +63230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -62953,7 +63240,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63032,7 +63319,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63042,7 +63329,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *421 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63090,7 +63377,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63132,7 +63419,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63164,7 +63451,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63179,7 +63466,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: *422 + items: *423 required: - repository_count - repositories @@ -63202,8 +63489,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63219,7 +63506,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &425 summary: Default response value: id: 1 @@ -63371,10 +63658,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission @@ -63402,8 +63689,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: - - *307 - *308 + - *309 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63415,9 +63702,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *97 x-github: @@ -63440,7 +63727,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: - - *307 + - *308 - name: repo in: path description: The name of the controller repository. @@ -63475,7 +63762,7 @@ paths: type: object properties: repository: *51 - analysis_status: *426 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63600,8 +63887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -63694,7 +63981,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -63715,8 +64002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -63785,7 +64072,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -63810,7 +64097,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *413 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63881,8 +64168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -63890,7 +64177,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -63950,7 +64237,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -63964,7 +64251,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': *413 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63987,8 +64274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *307 - *308 + - *309 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64036,7 +64323,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': *407 + '403': *408 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64061,8 +64348,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: - - *307 - *308 + - *309 responses: '200': description: Response @@ -64118,7 +64405,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': *163 + '204': *165 '304': *35 '403': *27 '404': *6 @@ -64143,8 +64430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *307 - *308 + - *309 - 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 @@ -64272,8 +64559,8 @@ paths: parameters: - *17 - *19 - - *307 - *308 + - *309 responses: '200': description: Response @@ -64289,7 +64576,7 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: default: value: @@ -64587,8 +64874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -64652,17 +64939,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -64691,8 +64978,8 @@ paths: parameters: - *17 - *19 - - *307 - *308 + - *309 responses: '200': description: Response @@ -64756,8 +65043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *307 - *308 + - *309 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64794,9 +65081,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &642 + default: &643 value: total_count: 2 machines: @@ -64836,8 +65123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *307 - *308 + - *309 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64924,8 +65211,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: - - *307 - *308 + - *309 - 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 @@ -64994,8 +65281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -65013,7 +65300,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65034,7 +65321,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *52 x-github: @@ -65057,16 +65344,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65086,17 +65373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65116,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -65146,7 +65433,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -65170,9 +65457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -65200,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *307 - *308 + - *309 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65239,7 +65526,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -65432,8 +65719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 responses: '204': @@ -65480,8 +65767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 requestBody: required: false @@ -65508,7 +65795,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65520,7 +65807,7 @@ paths: format: int64 examples: - 42 - repository: *133 + repository: *135 invitee: anyOf: - type: 'null' @@ -65696,7 +65983,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *102 + schema: *104 '403': *27 x-github: triggersNotification: true @@ -65736,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 responses: '204': @@ -65769,8 +66056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *307 - *308 + - *309 - *57 responses: '200': @@ -65791,7 +66078,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -65845,8 +66132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -65856,7 +66143,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -65914,7 +66201,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65973,17 +66260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &440 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66040,8 +66327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -66064,7 +66351,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66115,8 +66402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -66138,8 +66425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66166,9 +66453,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -66189,8 +66476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -66223,16 +66510,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -66254,10 +66541,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -66306,8 +66593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *307 - *308 + - *309 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66363,9 +66650,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66459,9 +66746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *307 - *308 - - &438 + - *309 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -66533,9 +66820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *307 - *308 - - *438 + - *309 + - *439 - *17 - *19 responses: @@ -66545,9 +66832,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *439 + default: *440 headers: Link: *52 x-github: @@ -66575,9 +66862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *307 - *308 - - *438 + - *309 + - *439 requestBody: required: true content: @@ -66612,9 +66899,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *440 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66642,9 +66929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *307 - *308 - - *438 + - *309 + - *439 - *17 - *19 responses: @@ -66654,9 +66941,9 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: &540 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67193,11 +67480,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *307 - *308 + - *309 - *19 - *17 - - &442 + - &443 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)" @@ -67212,9 +67499,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67327,11 +67614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *307 - *308 - - *442 + - *309 - *443 - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67365,9 +67652,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *390 examples: - default: *445 + default: *446 headers: Link: *52 x-github: @@ -67392,9 +67679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67402,7 +67689,7 @@ paths: schema: type: integer example: 1 - - *443 + - *444 - *17 - *19 responses: @@ -67420,7 +67707,7 @@ paths: type: integer check_suites: type: array - items: *393 + items: *394 examples: default: value: @@ -67620,9 +67907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - *17 - *19 responses: @@ -67693,7 +67980,7 @@ paths: type: string total_count: type: integer - repository: *133 + repository: *135 commit_url: type: string format: uri @@ -67824,9 +68111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - *17 - *19 responses: @@ -67836,7 +68123,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Status description: The status of a commit. type: object @@ -67917,7 +68204,7 @@ paths: site_admin: false headers: Link: *52 - '301': *316 + '301': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67945,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -67979,11 +68266,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *446 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &447 + - &448 title: Community Health File type: object properties: @@ -68003,19 +68290,19 @@ paths: contributing: anyOf: - type: 'null' - - *447 + - *448 readme: anyOf: - type: 'null' - - *447 + - *448 issue_template: anyOf: - type: 'null' - - *447 + - *448 pull_request_template: anyOf: - type: 'null' - - *447 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68144,8 +68431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *307 - *308 + - *309 - *19 - *17 - name: basehead @@ -68193,8 +68480,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *437 - merge_base_commit: *437 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68218,10 +68505,10 @@ paths: - 6 commits: type: array - items: *437 + items: *438 files: type: array - items: *448 + items: *449 required: - url - html_url @@ -68507,8 +68794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -68661,7 +68948,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &449 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -68798,7 +69085,7 @@ paths: - size - type - url - - &553 + - &554 title: Content File description: Content File type: object @@ -69016,7 +69303,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *449 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69085,7 +69372,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *450 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69108,8 +69395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -69204,7 +69491,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: File Commit description: File Commit type: object @@ -69360,7 +69647,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: example-for-creating-a-file: value: @@ -69414,7 +69701,7 @@ paths: schema: oneOf: - *3 - - &481 + - &482 description: Repository rule violation was detected type: object properties: @@ -69435,7 +69722,7 @@ paths: items: type: object properties: - placeholder_id: &605 + placeholder_id: &606 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69467,8 +69754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -69529,7 +69816,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -69584,8 +69871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *307 - *308 + - *309 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69709,22 +69996,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *307 - *308 - - *168 - - *169 + - *309 - *170 - *171 + - *172 + - *173 - 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 - - *172 - - *452 - - *173 - *174 + - *453 + - *175 + - *176 - *46 - name: per_page description: The number of results per page (max 100). For more information, @@ -69743,11 +70030,11 @@ paths: application/json: schema: type: array - items: &455 + items: &456 type: object description: A Dependabot alert. properties: - number: *149 + number: *151 state: type: string description: The state of the Dependabot alert. @@ -69793,13 +70080,13 @@ paths: - direct - transitive - - security_advisory: *453 + security_advisory: *454 security_vulnerability: *50 - url: *152 - html_url: *153 - created_at: *150 - updated_at: *151 - dismissed_at: *155 + url: *154 + html_url: *155 + created_at: *152 + updated_at: *153 + dismissed_at: *157 dismissed_by: anyOf: - type: 'null' @@ -69823,8 +70110,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *454 + fixed_at: *156 + auto_dismissed_at: *455 required: - number - state @@ -70054,9 +70341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *307 - *308 - - &456 + - *309 + - &457 name: alert_number in: path description: |- @@ -70065,13 +70352,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *149 + schema: *151 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70184,9 +70471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *307 - *308 - - *456 + - *309 + - *457 requestBody: required: true content: @@ -70231,7 +70518,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70360,8 +70647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -70379,7 +70666,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70433,16 +70720,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70462,15 +70749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -70496,9 +70783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -70526,7 +70813,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70550,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -70574,8 +70861,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: - - *307 - *308 + - *309 - 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 @@ -70749,8 +71036,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: - - *307 - *308 + - *309 responses: '200': description: Response @@ -71010,8 +71297,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -71094,7 +71381,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71133,7 +71420,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71147,7 +71434,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *460 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71280,8 +71567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *307 - *308 + - *309 - name: sha description: The SHA recorded at creation time. in: query @@ -71322,9 +71609,9 @@ paths: application/json: schema: type: array - items: *461 + items: *462 examples: - default: *462 + default: *463 headers: Link: *52 x-github: @@ -71390,8 +71677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -71473,7 +71760,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: simple-example: summary: Simple example @@ -71546,9 +71833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *307 - *308 - - &463 + - *309 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -71560,7 +71847,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -71625,9 +71912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *307 - *308 - - *463 + - *309 + - *464 responses: '204': description: Response @@ -71649,9 +71936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *307 - *308 - - *463 + - *309 + - *464 - *17 - *19 responses: @@ -71661,7 +71948,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -71825,9 +72112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *307 - *308 - - *463 + - *309 + - *464 requestBody: required: true content: @@ -71902,9 +72189,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: &465 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71960,9 +72247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *307 - *308 - - *463 + - *309 + - *464 - name: status_id in: path required: true @@ -71973,9 +72260,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72000,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -72058,8 +72345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -72077,7 +72364,7 @@ paths: - 5 environments: type: array - items: &467 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72139,7 +72426,7 @@ paths: type: string examples: - wait_timer - wait_timer: &469 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72181,11 +72468,11 @@ paths: items: type: object properties: - type: *466 + type: *467 reviewer: anyOf: - *4 - - *167 + - *169 required: - id - node_id @@ -72208,7 +72495,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &471 type: - object - 'null' @@ -72325,9 +72612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *307 - *308 - - &468 + - *309 + - &469 name: environment_name in: path required: true @@ -72340,9 +72627,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: &471 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72426,9 +72713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: false content: @@ -72438,7 +72725,7 @@ paths: - object - 'null' properties: - wait_timer: *469 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72457,14 +72744,14 @@ paths: items: type: object properties: - type: *466 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -72484,9 +72771,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *471 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72510,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *307 - *308 - - *468 + - *309 + - *469 responses: '204': description: Default response @@ -72537,9 +72824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *307 - *308 - - *468 + - *309 + - *469 - *17 - *19 responses: @@ -72558,7 +72845,7 @@ paths: - 2 branch_policies: type: array - items: &472 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72619,9 +72906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: true content: @@ -72669,9 +72956,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - example-wildcard: &473 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72713,10 +73000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - &474 + - *309 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -72728,9 +73015,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72749,10 +73036,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - *474 + - *309 + - *469 + - *475 requestBody: required: true content: @@ -72781,9 +73068,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72802,10 +73089,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - *474 + - *309 + - *469 + - *475 responses: '204': description: Response @@ -72830,9 +73117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *468 + - *469 + - *309 - *308 - - *307 responses: '200': description: List of deployment protection rules @@ -72849,7 +73136,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &475 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -72871,7 +73158,7 @@ paths: for the environment. examples: - true - app: &476 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72974,9 +73261,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: - - *468 + - *469 + - *309 - *308 - - *307 requestBody: content: application/json: @@ -72997,9 +73284,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *476 examples: - default: &477 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73034,9 +73321,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: - - *468 + - *469 + - *309 - *308 - - *307 - *19 - *17 responses: @@ -73056,7 +73343,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *477 examples: default: value: @@ -73091,10 +73378,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *307 - *308 - - *468 - - &478 + - *309 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73106,9 +73393,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *477 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,10 +73416,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *468 + - *469 + - *309 - *308 - - *307 - - *478 + - *479 responses: '204': description: Response @@ -73158,9 +73445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *307 - *308 - - *468 + - *309 + - *469 - *17 - *19 responses: @@ -73178,9 +73465,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *356 examples: - default: *356 + default: *357 headers: Link: *52 x-github: @@ -73205,17 +73492,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *307 - *308 - - *468 + - *309 + - *469 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73237,18 +73524,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73270,10 +73557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 requestBody: required: true content: @@ -73304,7 +73591,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -73330,10 +73617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 responses: '204': description: Default response @@ -73358,10 +73645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *307 - *308 - - *468 - - *326 + - *309 + - *469 + - *327 - *19 responses: '200': @@ -73378,9 +73665,9 @@ paths: type: integer variables: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *52 x-github: @@ -73403,9 +73690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: true content: @@ -73432,7 +73719,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -73457,18 +73744,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *307 - *308 - - *468 - - *144 + - *309 + - *469 + - *146 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73489,10 +73776,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *307 - *308 - - *144 - - *468 + - *309 + - *146 + - *469 requestBody: required: true content: @@ -73534,10 +73821,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *307 - *308 - - *144 - - *468 + - *309 + - *146 + - *469 responses: '204': description: Response @@ -73559,8 +73846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -73628,8 +73915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *307 - *308 + - *309 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73651,7 +73938,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -73788,8 +74075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -73822,9 +74109,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 '400': *14 '422': *15 '403': *27 @@ -73845,8 +74132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -73905,8 +74192,8 @@ paths: application/json: schema: oneOf: - - *102 - - *481 + - *104 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73931,8 +74218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *307 - *308 + - *309 - name: file_sha in: path required: true @@ -74032,8 +74319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74142,7 +74429,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74369,15 +74656,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *307 - *308 - - *438 + - *309 + - *439 responses: '200': description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -74433,9 +74720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *307 - *308 - - &483 + - *309 + - &484 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. @@ -74452,7 +74739,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -74528,17 +74815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74567,8 +74854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74597,9 +74884,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74625,9 +74912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 requestBody: required: true content: @@ -74656,9 +74943,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *15 '409': *45 x-github: @@ -74676,9 +74963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 responses: '204': description: Response @@ -74733,8 +75020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74801,7 +75088,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -74857,7 +75144,7 @@ paths: - sha - type - url - verification: *486 + verification: *487 required: - sha - url @@ -74867,7 +75154,7 @@ paths: - tag - message examples: - default: &488 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74940,8 +75227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *307 - *308 + - *309 - name: tag_sha in: path required: true @@ -74952,9 +75239,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '404': *6 '409': *45 x-github: @@ -74978,8 +75265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -75053,7 +75340,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75155,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *307 - *308 + - *309 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75179,7 +75466,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default-response: summary: Default response @@ -75238,8 +75525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -75249,7 +75536,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75312,7 +75599,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &722 + last_response: &725 title: Hook Response type: object properties: @@ -75389,8 +75676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -75443,9 +75730,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: &491 + default: &492 value: type: Repository id: 12345678 @@ -75493,17 +75780,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -75523,9 +75810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 requestBody: required: true content: @@ -75570,9 +75857,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '422': *15 '404': *6 x-github: @@ -75593,9 +75880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75619,9 +75906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '200': description: Response @@ -75648,9 +75935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *307 - *308 - - *180 + - *309 + - *182 requestBody: required: false content: @@ -75694,11 +75981,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *17 - - *181 + - *183 responses: '200': description: Response @@ -75706,9 +75993,9 @@ paths: application/json: schema: type: array - items: *182 + items: *184 examples: - default: *183 + default: *185 '400': *14 '422': *15 x-github: @@ -75727,18 +76014,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 '400': *14 '422': *15 x-github: @@ -75757,9 +76044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *16 responses: '202': *37 @@ -75782,9 +76069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75809,9 +76096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75834,8 +76121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response if immutable releases are enabled @@ -75883,10 +76170,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -75904,10 +76191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -75962,14 +76249,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &492 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76076,7 +76363,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &496 value: vcs: subversion use_lfs: true @@ -76092,7 +76379,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': &493 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76121,8 +76408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -76170,7 +76457,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -76195,7 +76482,7 @@ paths: type: string '422': *15 '404': *6 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76223,8 +76510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -76276,7 +76563,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-1: summary: Example 1 @@ -76324,7 +76611,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': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76347,12 +76634,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *307 - *308 + - *309 responses: '204': description: Response - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76378,9 +76665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *307 - *308 - - &663 + - *309 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76394,7 +76681,7 @@ paths: application/json: schema: type: array - items: &494 + items: &495 title: Porter Author description: Porter Author type: object @@ -76448,7 +76735,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': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76473,8 +76760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *307 - *308 + - *309 - name: author_id in: path required: true @@ -76504,7 +76791,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: default: value: @@ -76517,7 +76804,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76541,8 +76828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76583,7 +76870,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76611,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -76639,11 +76926,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *495 + default: *496 '422': *15 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76666,8 +76953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76675,8 +76962,8 @@ paths: application/json: schema: *20 examples: - default: *496 - '301': *316 + default: *497 + '301': *317 '404': *6 x-github: githubCloudOnly: false @@ -76696,8 +76983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76705,12 +76992,12 @@ paths: application/json: schema: anyOf: - - *198 + - *200 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &499 value: limit: collaborators_only origin: repository @@ -76735,13 +77022,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *497 + schema: *498 examples: default: summary: Example request body @@ -76753,9 +77040,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *498 + default: *499 '409': description: Response x-github: @@ -76777,8 +77064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -76801,8 +77088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -76812,9 +77099,9 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -76945,9 +77232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *307 - *308 - - *202 + - *309 + - *204 requestBody: required: false content: @@ -76976,7 +77263,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77107,9 +77394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *307 - *308 - - *202 + - *309 + - *204 responses: '204': description: Response @@ -77140,8 +77427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *307 - *308 + - *309 - 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 @@ -77189,7 +77476,7 @@ paths: required: false schema: type: string - - *206 + - *208 - name: sort description: What to sort results by. in: query @@ -77214,7 +77501,7 @@ paths: type: array items: *78 examples: - default: &506 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77362,7 +77649,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *316 + '301': *317 '422': *15 '404': *6 x-github: @@ -77391,8 +77678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -77484,7 +77771,7 @@ paths: application/json: schema: *78 examples: - default: &503 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -77640,7 +77927,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *313 + '410': *314 x-github: triggersNotification: true githubCloudOnly: false @@ -77668,8 +77955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *307 - *308 + - *309 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77690,9 +77977,9 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: &505 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77750,17 +78037,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77814,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -77838,9 +78125,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -77858,8 +78145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -77880,8 +78167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77908,9 +78195,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -77931,8 +78218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -77965,16 +78252,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -77996,10 +78283,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -78019,8 +78306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -78030,7 +78317,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Issue Event description: Issue Event type: object @@ -78110,7 +78397,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *167 + requested_team: *169 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78369,8 +78656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *307 - *308 + - *309 - name: event_id in: path required: true @@ -78381,7 +78668,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -78574,7 +78861,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *313 + '410': *314 '403': *27 x-github: githubCloudOnly: false @@ -78608,9 +78895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *307 - *308 - - &504 + - *309 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -78624,10 +78911,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '404': *6 - '410': *313 + '410': *314 '304': *35 x-github: githubCloudOnly: false @@ -78652,9 +78939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -78775,13 +79062,13 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '422': *15 '503': *97 '403': *27 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78799,9 +79086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -78829,7 +79116,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78845,9 +79132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: content: application/json: @@ -78874,7 +79161,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78896,9 +79183,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: - - *307 - *308 - - *504 + - *309 + - *505 - name: assignee in: path required: true @@ -78938,9 +79225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *68 - *17 - *19 @@ -78951,13 +79238,13 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: *505 + default: *506 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78986,9 +79273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -79010,16 +79297,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -79047,9 +79334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79061,12 +79348,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79094,9 +79381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -79120,15 +79407,15 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *316 + '301': *317 '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -79159,9 +79446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79175,13 +79462,13 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 x-github: triggersNotification: true githubCloudOnly: false @@ -79207,9 +79494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79221,12 +79508,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79243,9 +79530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79259,7 +79546,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &509 + - &510 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79308,7 +79595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79436,7 +79723,7 @@ paths: - performed_via_github_app - assignee - assigner - - &511 + - &512 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79482,7 +79769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &513 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79528,7 +79815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &514 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79577,7 +79864,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &515 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79606,7 +79893,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *167 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -79619,7 +79906,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79648,7 +79935,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *167 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -79661,7 +79948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &517 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79717,7 +80004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Locked Issue Event description: Locked Issue Event type: object @@ -79762,7 +80049,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79823,7 +80110,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79884,7 +80171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79945,7 +80232,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80038,7 +80325,7 @@ paths: color: red headers: Link: *52 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80055,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80067,7 +80354,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80122,7 +80409,7 @@ paths: - color - default examples: - default: &508 + default: &509 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80140,9 +80427,9 @@ paths: default: false headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80159,9 +80446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80220,12 +80507,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *316 + default: *509 + '301': *317 '404': *6 - '410': *313 + '410': *314 '422': *15 x-github: githubCloudOnly: false @@ -80242,9 +80529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80304,12 +80591,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *316 + default: *509 + '301': *317 '404': *6 - '410': *313 + '410': *314 '422': *15 x-github: githubCloudOnly: false @@ -80326,15 +80613,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '204': description: Response - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80353,9 +80640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - name: name in: path required: true @@ -80368,7 +80655,7 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: default: value: @@ -80379,9 +80666,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80401,9 +80688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80432,7 +80719,7 @@ paths: '204': description: Response '403': *27 - '410': *313 + '410': *314 '404': *6 '422': *15 x-github: @@ -80450,9 +80737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '204': description: Response @@ -80482,9 +80769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '200': description: Response @@ -80492,10 +80779,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80512,9 +80799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - 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. @@ -80540,13 +80827,13 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80564,9 +80851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80598,16 +80885,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -80629,10 +80916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *307 - *308 - - *504 - - *303 + - *309 + - *505 + - *304 responses: '204': description: Response @@ -80661,9 +80948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80687,7 +80974,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80720,9 +81007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80734,11 +81021,11 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80766,9 +81053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80797,14 +81084,14 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -80824,9 +81111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80859,7 +81146,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '403': *27 '404': *6 '422': *7 @@ -80881,9 +81168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80898,7 +81185,6 @@ paths: description: Timeline Event type: object anyOf: - - *509 - *510 - *511 - *512 @@ -80911,6 +81197,7 @@ paths: - *519 - *520 - *521 + - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81239,7 +81526,7 @@ paths: type: string comments: type: array - items: &542 + items: &543 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81477,7 +81764,7 @@ paths: type: string comments: type: array - items: *436 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81752,7 +82039,7 @@ paths: headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81769,8 +82056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -81780,7 +82067,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81848,8 +82135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -81885,9 +82172,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: id: 1 key: ssh-rsa AAA... @@ -81921,9 +82208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *307 - *308 - - &524 + - *309 + - &525 name: key_id description: The unique identifier of the key. in: path @@ -81935,9 +82222,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -81955,9 +82242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *307 - *308 - - *524 + - *309 + - *525 responses: '204': description: Response @@ -81977,8 +82264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -81988,9 +82275,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 '404': *6 @@ -82011,8 +82298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82048,9 +82335,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &525 + default: &526 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82082,8 +82369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82094,9 +82381,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82113,8 +82400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82153,7 +82440,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -82179,8 +82466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82206,8 +82493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -82246,9 +82533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *307 - *308 - - *414 + - *309 + - *415 responses: '200': description: Response @@ -82395,8 +82682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82461,8 +82748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82496,9 +82783,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *437 + schema: *438 examples: - default: *526 + default: *527 '204': description: Response when already merged '404': @@ -82523,8 +82810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *307 - *308 + - *309 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82565,7 +82852,7 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: default: value: @@ -82621,8 +82908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82662,9 +82949,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82723,9 +83010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *307 - *308 - - &528 + - *309 + - &529 name: milestone_number description: The number that identifies the milestone. in: path @@ -82737,9 +83024,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -82756,9 +83043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 requestBody: required: false content: @@ -82796,9 +83083,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82814,9 +83101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 responses: '204': description: Response @@ -82837,9 +83124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 - *17 - *19 responses: @@ -82849,9 +83136,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 x-github: @@ -82870,12 +83157,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *307 - *308 - - *529 + - *309 - *530 - - *68 - *531 + - *68 + - *532 - *17 - *19 responses: @@ -82887,7 +83174,7 @@ paths: type: array items: *90 examples: - default: *532 + default: *533 headers: Link: *52 x-github: @@ -82911,8 +83198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -82970,14 +83257,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &533 + schema: &534 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83121,7 +83408,7 @@ paths: - custom_404 - public examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83162,8 +83449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83218,9 +83505,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '422': *15 '409': *45 x-github: @@ -83243,8 +83530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83344,8 +83631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -83371,8 +83658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -83382,7 +83669,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Page Build description: Page Build type: object @@ -83474,8 +83761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *307 - *308 + - *309 responses: '201': description: Response @@ -83522,16 +83809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83579,8 +83866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *307 - *308 + - *309 - name: build_id in: path required: true @@ -83591,9 +83878,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83613,8 +83900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83722,9 +84009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *307 - *308 - - &537 + - *309 + - &538 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83782,11 +84069,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *307 - *308 - - *537 + - *309 + - *538 responses: - '204': *163 + '204': *165 '404': *6 x-github: githubCloudOnly: false @@ -83811,8 +84098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -84080,7 +84367,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -84107,8 +84394,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: - - *307 - *308 + - *309 responses: '200': description: Private vulnerability reporting status @@ -84145,10 +84432,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84167,10 +84454,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84191,8 +84478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *307 - *308 + - *309 - name: state description: Indicates the state of the projects to return. in: query @@ -84213,7 +84500,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -84253,7 +84540,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -84276,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84303,13 +84590,13 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *312 + default: *313 '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -84332,8 +84619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -84343,7 +84630,7 @@ paths: type: array items: *95 examples: - default: *538 + default: *539 '403': *27 '404': *6 x-github: @@ -84365,8 +84652,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84382,7 +84669,7 @@ paths: required: - properties examples: - default: *539 + default: *540 responses: '204': description: No Content when custom property values are successfully created @@ -84420,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *307 - *308 + - *309 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84481,9 +84768,9 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: *540 + default: *541 headers: Link: *52 '304': *35 @@ -84515,8 +84802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84583,7 +84870,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84712,7 +84999,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 active_lock_reason: type: - string @@ -84767,7 +85054,7 @@ paths: type: - array - 'null' - items: *218 + items: *220 head: type: object properties: @@ -84805,14 +85092,14 @@ paths: _links: type: object properties: - comments: *243 - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + comments: *244 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -84823,7 +85110,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *541 + auto_merge: *542 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -84925,7 +85212,7 @@ paths: - merged_by - review_comments examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85452,8 +85739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *307 - *308 + - *309 - name: sort in: query required: false @@ -85482,9 +85769,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85561,17 +85848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85646,8 +85933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -85670,9 +85957,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85688,8 +85975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -85711,8 +85998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85739,9 +86026,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -85762,8 +86049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -85796,16 +86083,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -85827,10 +86114,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -85873,9 +86160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *307 - *308 - - &546 + - *309 + - &547 name: pull_number description: The number that identifies the pull request. in: path @@ -85888,9 +86175,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '304': *35 '404': *6 '406': @@ -85925,9 +86212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -85969,9 +86256,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '422': *15 '403': *27 x-github: @@ -85993,9 +86280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -86056,17 +86343,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86096,9 +86383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86119,9 +86406,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: *547 + default: *548 headers: Link: *52 x-github: @@ -86154,9 +86441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -86262,7 +86549,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: example-for-a-multi-line-comment: value: @@ -86350,9 +86637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *77 requestBody: required: true @@ -86375,7 +86662,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -86461,9 +86748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -86473,9 +86760,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *548 + default: *549 headers: Link: *52 x-github: @@ -86505,9 +86792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -86517,7 +86804,7 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: default: value: @@ -86555,9 +86842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *307 - *308 - - *546 + - *309 + - *547 responses: '204': description: Response if pull request has been merged @@ -86580,9 +86867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -86694,9 +86981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 responses: '200': description: Response @@ -86712,7 +86999,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 required: - users - teams @@ -86771,9 +87058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -86810,7 +87097,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -87346,9 +87633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -87382,7 +87669,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -87887,9 +88174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -87899,7 +88186,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88055,9 +88342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -88147,9 +88434,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &551 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88212,10 +88499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - &550 + - *309 + - *547 + - &551 name: review_id description: The unique identifier of the review. in: path @@ -88227,9 +88514,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &552 + default: &553 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88288,10 +88575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88314,7 +88601,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88376,18 +88663,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *551 + default: *552 '422': *7 '404': *6 x-github: @@ -88414,10 +88701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 - *17 - *19 responses: @@ -88515,9 +88802,9 @@ paths: _links: type: object properties: - self: *243 - html: *243 - pull_request: *243 + self: *244 + html: *244 + pull_request: *244 required: - self - html @@ -88675,10 +88962,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88707,7 +88994,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88770,10 +89057,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88808,9 +89095,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *552 + default: *553 '404': *6 '422': *7 '403': *27 @@ -88832,9 +89119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -88898,8 +89185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *307 - *308 + - *309 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88912,9 +89199,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &554 + default: &555 value: type: file encoding: base64 @@ -88956,8 +89243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *307 - *308 + - *309 - name: dir description: The alternate path to look for a README file in: path @@ -88977,9 +89264,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: *554 + default: *555 '404': *6 '422': *15 x-github: @@ -89001,8 +89288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -89012,7 +89299,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Release description: A release. type: object @@ -89094,7 +89381,7 @@ paths: author: *4 assets: type: array - items: &556 + items: &557 title: Release Asset description: Data related to a release. type: object @@ -89281,8 +89568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -89358,9 +89645,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89465,9 +89752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *307 - *308 - - &557 + - *309 + - &558 name: asset_id description: The unique identifier of the asset. in: path @@ -89479,9 +89766,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 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 @@ -89516,7 +89803,7 @@ paths: type: User site_admin: false '404': *6 - '302': *450 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89532,9 +89819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *307 - *308 - - *557 + - *309 + - *558 requestBody: required: false content: @@ -89563,9 +89850,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *307 - *308 - - *557 + - *309 + - *558 responses: '204': description: Response @@ -89607,8 +89894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -89694,16 +89981,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89720,8 +90007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *307 - *308 + - *309 - name: tag description: tag parameter in: path @@ -89734,9 +90021,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -89758,9 +90045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *307 - *308 - - &560 + - *309 + - &561 name: release_id description: The unique identifier of the release. in: path @@ -89774,9 +90061,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: *555 + schema: *556 examples: - default: *559 + default: *560 '401': description: Unauthorized x-github: @@ -89794,9 +90081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 requestBody: required: false content: @@ -89860,9 +90147,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': description: Not Found if the discussion category name is invalid content: @@ -89883,9 +90170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 responses: '204': description: Response @@ -89905,9 +90192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *307 - *308 - - *560 + - *309 + - *561 - *17 - *19 responses: @@ -89917,7 +90204,7 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: default: value: @@ -89998,9 +90285,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: - - *307 - *308 - - *560 + - *309 + - *561 - name: name in: query required: true @@ -90026,7 +90313,7 @@ paths: description: Response for successful upload content: application/json: - schema: *556 + schema: *557 examples: response-for-successful-upload: value: @@ -90081,9 +90368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 - 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. @@ -90107,9 +90394,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -90130,9 +90417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 requestBody: required: true content: @@ -90162,16 +90449,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -90193,10 +90480,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *307 - *308 - - *560 - - *303 + - *309 + - *561 + - *304 responses: '204': description: Response @@ -90220,9 +90507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 - *17 - *19 responses: @@ -90238,8 +90525,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *259 - - &561 + - *260 + - &562 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90258,69 +90545,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *260 - - *561 - allOf: - *261 - - *561 + - *562 - allOf: - *262 - - *561 - - allOf: - *562 - - *561 - allOf: - *263 - - *561 + - *562 + - allOf: + - *563 + - *562 - allOf: - *264 - - *561 + - *562 - allOf: - *265 - - *561 + - *562 - allOf: - *266 - - *561 + - *562 - allOf: - *267 - - *561 + - *562 - allOf: - *268 - - *561 + - *562 - allOf: - *269 - - *561 + - *562 - allOf: - *270 - - *561 + - *562 - allOf: - *271 - - *561 + - *562 - allOf: - *272 - - *561 + - *562 - allOf: - *273 - - *561 + - *562 - allOf: - *274 - - *561 + - *562 - allOf: - *275 - - *561 + - *562 - allOf: - *276 - - *561 + - *562 - allOf: - *277 - - *561 + - *562 - allOf: - *278 - - *561 + - *562 - allOf: - - *563 - - *561 + - *279 + - *562 + - allOf: + - *564 + - *562 examples: default: value: @@ -90359,8 +90646,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - *17 - *19 - name: includes_parents @@ -90371,7 +90658,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -90379,7 +90666,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -90426,8 +90713,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 requestBody: description: Request body required: true @@ -90447,16 +90734,16 @@ paths: - tag - push default: branch - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *254 + items: *258 + conditions: *255 rules: type: array description: An array of rules within the ruleset. - items: *565 + items: *566 required: - name - enforcement @@ -90487,9 +90774,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -90536,12 +90823,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *307 - *308 - - *566 + - *309 - *567 - *568 - *569 + - *570 - *17 - *19 responses: @@ -90549,9 +90836,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *96 x-github: @@ -90572,17 +90859,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *307 - *308 - - *572 + - *309 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *96 x-github: @@ -90610,8 +90897,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90631,9 +90918,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *575 + default: *576 '404': *6 '500': *96 put: @@ -90651,8 +90938,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90677,16 +90964,16 @@ paths: - branch - tag - push - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *254 + items: *258 + conditions: *255 rules: description: An array of rules within the ruleset. type: array - items: *565 + items: *566 examples: default: value: @@ -90714,9 +91001,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *575 + default: *576 '404': *6 '500': *96 delete: @@ -90734,8 +91021,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90758,8 +91045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *307 - *308 + - *309 - *17 - *19 - name: ruleset_id @@ -90775,9 +91062,9 @@ paths: application/json: schema: type: array - items: *282 + items: *283 examples: - default: *576 + default: *577 '404': *6 '500': *96 x-github: @@ -90796,8 +91083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90815,7 +91102,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -90870,21 +91157,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *307 - *308 - - *578 + - *309 - *579 - *580 - *581 + - *582 - *46 - *19 - *17 - - *582 - *583 - *584 - *585 - *586 - *587 + - *588 responses: '200': description: Response @@ -90892,24 +91179,24 @@ paths: application/json: schema: type: array - items: &591 + items: &592 type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolved_at: type: - string @@ -91003,7 +91290,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *590 + - *591 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91148,16 +91435,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 - - *587 + - *309 + - *409 + - *588 responses: '200': description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91209,9 +91496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: true content: @@ -91219,8 +91506,8 @@ paths: schema: type: object properties: - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91239,7 +91526,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91314,9 +91601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 - *19 - *17 responses: @@ -91327,7 +91614,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &742 + items: &745 type: object properties: type: @@ -91354,7 +91641,6 @@ paths: - commit details: oneOf: - - *592 - *593 - *594 - *595 @@ -91367,6 +91653,7 @@ paths: - *602 - *603 - *604 + - *605 examples: default: value: @@ -91452,8 +91739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -91461,14 +91748,14 @@ paths: schema: type: object properties: - reason: &606 + reason: &607 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *605 + placeholder_id: *606 required: - reason - placeholder_id @@ -91485,7 +91772,7 @@ paths: schema: type: object properties: - reason: *606 + reason: *607 expire_at: type: - string @@ -91532,8 +91819,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: - - *307 - *308 + - *309 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91548,7 +91835,7 @@ paths: properties: incremental_scans: type: array - items: &607 + items: &608 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91576,15 +91863,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *607 + items: *608 backfill_scans: type: array - items: *607 + items: *608 custom_pattern_backfill_scans: type: array items: allOf: - - *607 + - *608 - type: object properties: pattern_name: @@ -91654,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *307 - *308 + - *309 - *46 - name: sort description: The property to sort the results by. @@ -91699,9 +91986,9 @@ paths: application/json: schema: type: array - items: *608 + items: *609 examples: - default: *609 + default: *610 '400': *14 '404': *6 x-github: @@ -91724,8 +92011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -91805,7 +92092,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 required: - login - type @@ -91895,9 +92182,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: &611 + default: &612 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92130,8 +92417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -92244,7 +92531,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -92391,17 +92678,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *307 - *308 - - *610 + - *309 + - *611 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 + default: *612 '403': *27 '404': *6 x-github: @@ -92425,9 +92712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *307 - *308 - - *610 + - *309 + - *611 requestBody: required: true content: @@ -92507,7 +92794,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 required: - login - type @@ -92598,17 +92885,17 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 - add_credit: *611 + default: *612 + add_credit: *612 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *102 + schema: *104 examples: invalid_state_transition: value: @@ -92639,9 +92926,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: - - *307 - *308 - - *610 + - *309 + - *611 responses: '202': *37 '400': *14 @@ -92668,17 +92955,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *307 - *308 - - *610 + - *309 + - *611 responses: '202': description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 '400': *14 '422': *15 '403': *27 @@ -92704,8 +92991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -92801,8 +93088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92811,7 +93098,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92824,7 +93111,7 @@ paths: - 1124 - -435 '202': *37 - '204': *163 + '204': *165 '422': description: Repository contains more than 10,000 commits x-github: @@ -92844,8 +93131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -92896,7 +93183,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92923,8 +93210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -92996,7 +93283,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93018,8 +93305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *307 - *308 + - *309 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93173,8 +93460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *307 - *308 + - *309 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93184,7 +93471,7 @@ paths: application/json: schema: type: array - items: *612 + items: *613 examples: default: value: @@ -93197,7 +93484,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93217,8 +93504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *307 - *308 + - *309 - name: sha in: path required: true @@ -93274,7 +93561,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -93328,8 +93615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93361,14 +93648,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *307 - *308 + - *309 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &614 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93441,8 +93728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -93468,7 +93755,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: default: value: @@ -93495,8 +93782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -93516,8 +93803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93599,8 +93886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -93608,7 +93895,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Tag protection description: Tag protection type: object @@ -93665,8 +93952,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -93689,7 +93976,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -93720,8 +94007,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: - - *307 - *308 + - *309 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93758,8 +94045,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *307 - *308 + - *309 - name: ref in: path required: true @@ -93795,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93806,9 +94093,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 headers: Link: *52 '404': *6 @@ -93828,8 +94115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *307 - *308 + - *309 - *19 - *17 responses: @@ -93837,7 +94124,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &617 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93849,7 +94136,7 @@ paths: required: - names examples: - default: &617 + default: &618 value: names: - octocat @@ -93872,8 +94159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -93904,9 +94191,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 '422': *7 x-github: @@ -93927,9 +94214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *307 - *308 - - &618 + - *309 + - &619 name: per description: The time frame to display results for. in: query @@ -93960,7 +94247,7 @@ paths: - 128 clones: type: array - items: &619 + items: &620 title: Traffic type: object properties: @@ -94047,8 +94334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -94142,8 +94429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -94206,9 +94493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *307 - *308 - - *618 + - *309 + - *619 responses: '200': description: Response @@ -94229,7 +94516,7 @@ paths: - 3782 views: type: array - items: *619 + items: *620 required: - uniques - count @@ -94306,8 +94593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -94343,7 +94630,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *135 examples: default: value: @@ -94581,8 +94868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94605,8 +94892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -94628,8 +94915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -94655,8 +94942,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *307 - *308 + - *309 - name: ref in: path required: true @@ -94748,9 +95035,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94791,7 +95078,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -94980,7 +95267,7 @@ paths: html_url: type: string format: uri - repository: *133 + repository: *135 score: type: number file_size: @@ -94999,7 +95286,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &620 + text_matches: &621 title: Search Result Text Matches type: array items: @@ -95162,7 +95449,7 @@ paths: enum: - author-date - committer-date - - &621 + - &622 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 @@ -95231,7 +95518,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 comment_count: type: integer message: @@ -95250,7 +95537,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *487 required: - author - committer @@ -95265,7 +95552,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 parents: type: array items: @@ -95277,12 +95564,12 @@ paths: type: string sha: type: string - repository: *133 + repository: *135 score: type: number node_id: type: string - text_matches: *620 + text_matches: *621 required: - sha - node_id @@ -95474,7 +95761,7 @@ paths: - interactions - created - updated - - *621 + - *622 - *17 - *19 - name: advanced_search @@ -95571,11 +95858,11 @@ paths: type: - string - 'null' - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: type: string state_reason: @@ -95589,7 +95876,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 comments: type: integer created_at: @@ -95603,7 +95890,7 @@ paths: - string - 'null' format: date-time - text_matches: *620 + text_matches: *621 pull_request: type: object properties: @@ -95652,7 +95939,7 @@ paths: timeline_url: type: string format: uri - type: *203 + type: *205 performed_via_github_app: anyOf: - type: 'null' @@ -95826,7 +96113,7 @@ paths: enum: - created - updated - - *621 + - *622 - *17 - *19 responses: @@ -95871,7 +96158,7 @@ paths: - 'null' score: type: number - text_matches: *620 + text_matches: *621 required: - id - node_id @@ -95956,7 +96243,7 @@ paths: - forks - help-wanted-issues - updated - - *621 + - *622 - *17 - *19 responses: @@ -96193,7 +96480,7 @@ paths: - admin - pull - push - text_matches: *620 + text_matches: *621 temp_clone_token: type: string allow_merge_commit: @@ -96501,7 +96788,7 @@ paths: - string - 'null' format: uri - text_matches: *620 + text_matches: *621 related: type: - array @@ -96694,7 +96981,7 @@ paths: - followers - repositories - joined - - *621 + - *622 - *17 - *19 responses: @@ -96804,7 +97091,7 @@ paths: type: - boolean - 'null' - text_matches: *620 + text_matches: *621 blog: type: - string @@ -96886,7 +97173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &625 + - &626 name: team_id description: The unique identifier of the team. in: path @@ -96898,9 +97185,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -96927,7 +97214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -96991,16 +97278,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -97028,7 +97315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *625 + - *626 responses: '204': description: Response @@ -97059,7 +97346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *625 + - *626 - *46 - *17 - *19 @@ -97070,9 +97357,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *626 + default: *627 headers: Link: *52 x-github: @@ -97101,7 +97388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97135,9 +97422,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: triggersNotification: true githubCloudOnly: false @@ -97164,16 +97451,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 responses: '200': description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97198,8 +97485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: false content: @@ -97222,9 +97509,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97249,8 +97536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 responses: '204': description: Response @@ -97279,8 +97566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *625 - - *296 + - *626 + - *297 - *46 - *17 - *19 @@ -97291,9 +97578,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *628 + default: *629 headers: Link: *52 x-github: @@ -97322,8 +97609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: true content: @@ -97345,9 +97632,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -97374,17 +97661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97409,9 +97696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 requestBody: required: true content: @@ -97433,9 +97720,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97460,9 +97747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 responses: '204': description: Response @@ -97491,9 +97778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 - 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. @@ -97519,9 +97806,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -97550,9 +97837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 requestBody: required: true content: @@ -97584,9 +97871,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97612,8 +97899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 - 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. @@ -97639,9 +97926,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -97670,8 +97957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: true content: @@ -97703,9 +97990,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97729,7 +98016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -97739,9 +98026,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 x-github: @@ -97767,7 +98054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *625 + - *626 - name: role description: Filters members returned by their role in the team. in: query @@ -97818,7 +98105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97855,7 +98142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97895,7 +98182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97932,16 +98219,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-user-is-a-team-maintainer: *630 + response-if-user-is-a-team-maintainer: *631 '404': *6 x-github: githubCloudOnly: false @@ -97974,7 +98261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 requestBody: required: false @@ -98000,9 +98287,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-users-membership-with-team-is-now-pending: *631 + response-if-users-membership-with-team-is-now-pending: *632 '403': description: Forbidden if team synchronization is set up '422': @@ -98036,7 +98323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98065,7 +98352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98075,9 +98362,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *632 + default: *633 headers: Link: *52 '404': *6 @@ -98103,16 +98390,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *625 - - *306 + - *626 + - *307 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *633 + default: *634 '404': description: Not Found if project is not managed by this team x-github: @@ -98136,8 +98423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *625 - - *306 + - *626 + - *307 requestBody: required: false content: @@ -98204,8 +98491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *625 - - *306 + - *626 + - *307 responses: '204': description: Response @@ -98232,7 +98519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98242,9 +98529,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '404': *6 @@ -98274,15 +98561,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *634 + schema: *635 examples: alternative-response-with-extra-repository-information: value: @@ -98433,9 +98720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 requestBody: required: false content: @@ -98485,9 +98772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 responses: '204': description: Response @@ -98512,7 +98799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98522,9 +98809,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - response-if-child-teams-exist: *635 + response-if-child-teams-exist: *636 headers: Link: *52 '404': *6 @@ -98557,7 +98844,7 @@ paths: application/json: schema: oneOf: - - &637 + - &638 title: Private User description: Private User type: object @@ -98807,7 +99094,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *636 + - *637 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98967,7 +99254,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -99170,9 +99457,9 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: - default: *209 + default: *211 '304': *35 '500': *96 '401': *23 @@ -99311,17 +99598,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99365,7 +99652,7 @@ paths: type: integer secrets: type: array - items: &638 + items: &639 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99407,7 +99694,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *52 x-github: @@ -99479,13 +99766,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -99515,7 +99802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 requestBody: required: true content: @@ -99560,7 +99847,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -99588,7 +99875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '204': description: Response @@ -99613,7 +99900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 responses: '200': description: Response @@ -99629,9 +99916,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *639 + default: *640 '401': *23 '403': *27 '404': *6 @@ -99656,7 +99943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 requestBody: required: true content: @@ -99710,7 +99997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -99743,7 +100030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -99775,15 +100062,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '304': *35 '500': *96 '401': *23 @@ -99809,7 +100096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 requestBody: required: false content: @@ -99839,9 +100126,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99863,7 +100150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '202': *37 '304': *35 @@ -99892,13 +100179,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '202': description: Response content: application/json: - schema: &640 + schema: &641 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99951,7 +100238,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &641 + default: &642 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99983,7 +100270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *210 + - *212 - name: export_id in: path required: true @@ -99996,9 +100283,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -100019,7 +100306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *210 + - *212 responses: '200': description: Response @@ -100035,9 +100322,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *642 + default: *643 '304': *35 '500': *96 '401': *23 @@ -100066,7 +100353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *210 + - *212 requestBody: required: true content: @@ -100122,11 +100409,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *315 + repository: *316 machine: anyOf: - type: 'null' - - *429 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -100923,15 +101210,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '304': *35 '500': *96 '400': *14 @@ -100963,15 +101250,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '500': *96 '401': *23 '403': *27 @@ -101001,9 +101288,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -101104,7 +101391,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Email description: Email type: object @@ -101174,9 +101461,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -101253,7 +101540,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -101511,7 +101798,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: GPG Key description: A unique encryption key type: object @@ -101656,7 +101943,7 @@ paths: - subkeys - revoked examples: - default: &669 + default: &670 value: - id: 3 name: Octocat's GPG Key @@ -101741,9 +102028,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: id: 3 name: Octocat's GPG Key @@ -101800,7 +102087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &646 + - &647 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101812,9 +102099,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -101837,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *646 + - *647 responses: '204': description: Response @@ -102028,7 +102315,7 @@ paths: type: array items: *64 examples: - default: *125 + default: *127 headers: Link: *52 '404': *6 @@ -102053,7 +102340,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *122 + - *124 responses: '204': description: Response @@ -102079,7 +102366,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *122 + - *124 responses: '204': description: Response @@ -102113,12 +102400,12 @@ paths: application/json: schema: anyOf: - - *198 + - *200 - type: object properties: {} additionalProperties: false examples: - default: *199 + default: *201 '204': description: Response when there are no restrictions x-github: @@ -102142,7 +102429,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -102153,7 +102440,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -102234,7 +102521,7 @@ paths: - closed - all default: open - - *206 + - *208 - name: sort description: What to sort results by. in: query @@ -102259,7 +102546,7 @@ paths: type: array items: *78 examples: - default: *207 + default: *209 headers: Link: *52 '404': *6 @@ -102292,7 +102579,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -102395,9 +102682,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102430,15 +102717,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -102461,7 +102748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '204': description: Response @@ -102494,7 +102781,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102573,7 +102860,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102635,9 +102922,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *52 '304': *35 @@ -102677,7 +102964,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: value: @@ -102785,7 +103072,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -102868,7 +103155,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -102936,7 +103223,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -103198,7 +103485,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -103378,7 +103665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *215 + - *217 - name: exclude in: query required: false @@ -103391,7 +103678,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -103585,7 +103872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *215 + - *217 responses: '302': description: Response @@ -103611,7 +103898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *215 + - *217 responses: '204': description: Response @@ -103640,8 +103927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *215 - - *651 + - *217 + - *652 responses: '204': description: Response @@ -103665,7 +103952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *215 + - *217 - *17 - *19 responses: @@ -103675,9 +103962,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '404': *6 @@ -103756,7 +104043,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *19 - *17 responses: @@ -103766,10 +104053,10 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103789,16 +104076,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: &670 + default: &671 value: id: 40201 name: octo-name @@ -103911,8 +104198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 responses: '204': description: Response @@ -103942,8 +104229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 - name: token description: package token schema: @@ -103975,8 +104262,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: - - *222 - - *223 + - *224 + - *225 - *19 - *17 - name: state @@ -103996,7 +104283,7 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: default: value: @@ -104045,15 +104332,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -104089,9 +104376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '204': description: Response @@ -104121,9 +104408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '204': description: Response @@ -104181,7 +104468,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104253,9 +104540,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *655 + default: *656 headers: Link: *52 '304': *35 @@ -104368,7 +104655,7 @@ paths: type: array items: *64 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -104686,9 +104973,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104726,9 +105013,9 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: *656 + default: *657 headers: Link: *52 '304': *35 @@ -104751,7 +105038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *202 + - *204 responses: '204': description: Response @@ -104774,7 +105061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *202 + - *204 responses: '204': description: Response @@ -104807,7 +105094,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -104824,7 +105111,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -104887,9 +105174,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -104977,7 +105264,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104997,7 +105284,7 @@ paths: - title - created_at examples: - default: &683 + default: &686 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105064,9 +105351,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105097,7 +105384,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105109,9 +105396,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -105134,7 +105421,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: - - *661 + - *662 responses: '204': description: Response @@ -105163,7 +105450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &684 + - &687 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 @@ -105188,11 +105475,11 @@ paths: type: array items: *64 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array - items: &685 + items: &688 title: Starred Repository description: Starred Repository type: object @@ -105348,8 +105635,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: - - *307 - *308 + - *309 responses: '204': description: Response if this repository is starred by you @@ -105377,8 +105664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -105402,8 +105689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -105436,9 +105723,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '304': *35 @@ -105475,7 +105762,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -105561,10 +105848,10 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -105599,7 +105886,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -105659,7 +105946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -105708,11 +105995,11 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -105762,8 +106049,8 @@ paths: required: - subject_digests examples: - default: *666 - withPredicateType: *667 + default: *667 + withPredicateType: *668 responses: '200': description: Response @@ -105817,7 +106104,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106022,12 +106309,12 @@ paths: initiator: type: string examples: - default: *371 + default: *372 '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -106061,9 +106348,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -106447,9 +106734,9 @@ paths: application/json: schema: type: array - items: *644 + items: *645 examples: - default: *669 + default: *670 headers: Link: *52 x-github: @@ -106553,7 +106840,7 @@ paths: application/json: schema: *20 examples: - default: *496 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106678,7 +106965,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *57 - *19 - *17 @@ -106689,12 +106976,12 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106714,17 +107001,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106745,8 +107032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 responses: '204': @@ -106779,8 +107066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 - name: token description: package token @@ -106813,8 +107100,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: - - *222 - - *223 + - *224 + - *225 - *57 responses: '200': @@ -106823,7 +107110,7 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: default: value: @@ -106881,16 +107168,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 - *57 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -106925,10 +107212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *222 - - *223 - - *57 + - *224 - *225 + - *57 + - *227 responses: '204': description: Response @@ -106960,10 +107247,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *222 - - *223 - - *57 + - *224 - *225 + - *57 + - *227 responses: '204': description: Response @@ -107010,7 +107297,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -107085,9 +107372,9 @@ paths: application/json: schema: type: array - items: *237 + items: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -107109,16 +107396,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *239 + - *241 - *57 responses: '200': description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -107140,7 +107427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *239 + - *241 - *57 - *17 - *38 @@ -107152,9 +107439,9 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: - default: *241 + default: *672 headers: Link: *52 '304': *35 @@ -107176,17 +107463,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *239 - - *671 + - *241 + - *673 - *57 responses: '200': description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *674 headers: Link: *52 '304': *35 @@ -107209,7 +107496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *239 + - *241 - *57 - *38 - *39 @@ -107242,9 +107529,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -107266,7 +107553,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *239 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -107303,10 +107590,10 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - issue: *245 - pull_request: *245 + issue: *246 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -107326,9 +107613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *239 + - *241 - *57 - - *248 + - *249 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107348,9 +107635,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -107371,9 +107658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *239 + - *241 - *57 - - *248 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107446,13 +107733,13 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - text_field: *247 - number_field: *247 - date_field: *247 - single_select_field: *247 - iteration_field: *247 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -107472,9 +107759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *239 + - *241 - *57 - - *248 + - *249 responses: '204': description: Response @@ -107692,9 +107979,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -107724,9 +108011,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: *674 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107754,9 +108041,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: *676 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107778,10 +108065,10 @@ paths: parameters: - *57 - *98 - - *677 + - *100 - *99 - - *678 - - *679 + - *680 + - *101 responses: '200': description: Response when getting a billing premium request usage report @@ -107917,9 +108204,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107941,7 +108228,7 @@ paths: parameters: - *57 - *98 - - *682 + - *683 - *99 responses: '200': @@ -108019,6 +108306,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: + - *57 + - *98 + - *100 + - *99 + - *684 + - *101 + - *685 + 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': *27 + '404': *6 + '500': *96 + '503': *97 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -108041,9 +108463,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *52 x-github: @@ -108073,9 +108495,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: *683 + default: *686 headers: Link: *52 x-github: @@ -108100,7 +108522,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *684 + - *687 - *46 - *17 - *19 @@ -108112,11 +108534,11 @@ paths: schema: anyOf: - type: array - items: *685 + items: *688 - type: array items: *64 examples: - default-response: *662 + default-response: *663 headers: Link: *52 x-github: @@ -108145,9 +108567,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -108276,7 +108698,7 @@ webhooks: type: string enum: - disabled - enterprise: &686 + enterprise: &689 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108345,7 +108767,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &687 + installation: &690 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108366,7 +108788,7 @@ webhooks: required: - id - node_id - organization: &688 + organization: &691 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108439,7 +108861,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &689 + repository: &692 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109352,10 +109774,10 @@ webhooks: type: string enum: - enabled - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -109431,11 +109853,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: &690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: &693 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) @@ -109658,11 +110080,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: *690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: *693 sender: *4 required: - action @@ -109850,11 +110272,11 @@ webhooks: - everyone required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: *690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: *693 sender: *4 required: - action @@ -109938,7 +110360,7 @@ webhooks: type: string enum: - completed - check_run: &692 + check_run: &695 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110003,8 +110425,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *388 - repository: *133 + items: *389 + repository: *135 status: type: string enum: @@ -110048,7 +110470,7 @@ webhooks: - examples: - neutral - deployment: *691 + deployment: *694 details_url: type: string examples: @@ -110108,7 +110530,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *389 started_at: type: string format: date-time @@ -110146,10 +110568,10 @@ webhooks: - output - app - pull_requests - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -110542,11 +110964,11 @@ webhooks: type: string enum: - created - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -110942,11 +111364,11 @@ webhooks: type: string enum: - requested_action - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 requested_action: description: The action requested by the user. type: object @@ -111351,11 +111773,11 @@ webhooks: type: string enum: - rerequested - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -112347,10 +112769,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113035,10 +113457,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113717,10 +114139,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113889,7 +114311,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114041,20 +114463,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &693 + commit_oid: &696 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: *686 - installation: *687 - organization: *688 - ref: &694 + enterprise: *689 + installation: *690 + organization: *691 + ref: &697 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: *689 + repository: *692 sender: *4 required: - action @@ -114221,7 +114643,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114462,12 +114884,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -114565,7 +114987,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114750,12 +115172,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -114924,7 +115346,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115101,12 +115523,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -115209,7 +115631,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115389,9 +115811,9 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115399,7 +115821,7 @@ webhooks: type: - string - 'null' - repository: *689 + repository: *692 sender: *4 required: - action @@ -115498,7 +115920,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115645,12 +116067,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -115912,10 +116334,10 @@ webhooks: - updated_at - author_association - body - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -115996,18 +116418,18 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *688 - pusher_type: &695 + organization: *691 + pusher_type: &698 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &696 + ref: &699 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116017,7 +116439,7 @@ webhooks: enum: - tag - branch - repository: *689 + repository: *692 sender: *4 required: - ref @@ -116099,10 +116521,10 @@ webhooks: type: string enum: - created - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116187,9 +116609,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116266,10 +116688,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116346,10 +116768,10 @@ webhooks: type: string enum: - updated - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116426,10 +116848,10 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - repository: *689 - organization: *688 + enterprise: *689 + installation: *690 + repository: *692 + organization: *691 sender: *4 new_property_values: type: array @@ -116514,18 +116936,18 @@ webhooks: title: delete event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - pusher_type: *695 - ref: *696 + enterprise: *689 + installation: *690 + organization: *691 + pusher_type: *698 + ref: *699 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *689 + repository: *692 sender: *4 required: - ref @@ -116609,11 +117031,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116697,11 +117119,11 @@ webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116785,11 +117207,11 @@ webhooks: type: string enum: - created - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116871,11 +117293,11 @@ webhooks: type: string enum: - dismissed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116957,11 +117379,11 @@ webhooks: type: string enum: - fixed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117044,11 +117466,11 @@ webhooks: type: string enum: - reintroduced - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117130,11 +117552,11 @@ webhooks: type: string enum: - reopened - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117211,9 +117633,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - key: &697 + enterprise: *689 + installation: *690 + key: &700 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117251,8 +117673,8 @@ webhooks: - verified - created_at - read_only - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -117329,11 +117751,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - key: *697 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + key: *700 + organization: *691 + repository: *692 sender: *4 required: - action @@ -117905,12 +118327,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: &701 + workflow: &704 title: Workflow type: - object @@ -118648,13 +119070,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *462 pull_requests: type: array - items: *544 - repository: *689 - organization: *688 - installation: *687 + items: *545 + repository: *692 + organization: *691 + installation: *690 sender: *4 responses: '200': @@ -118725,7 +119147,7 @@ webhooks: type: string enum: - approved - approver: &698 + approver: &701 type: object properties: avatar_url: @@ -118768,11 +119190,11 @@ webhooks: type: string comment: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - reviewers: &699 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + reviewers: &702 type: array items: type: object @@ -118853,7 +119275,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &700 + workflow_job_run: &703 type: object properties: conclusion: @@ -119599,18 +120021,18 @@ webhooks: type: string enum: - rejected - approver: *698 + approver: *701 comment: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - reviewers: *699 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + reviewers: *702 sender: *4 since: type: string - workflow_job_run: *700 + workflow_job_run: *703 workflow_job_runs: type: array items: @@ -120327,13 +120749,13 @@ webhooks: type: string enum: - requested - enterprise: *686 + enterprise: *689 environment: type: string - installation: *687 - organization: *688 - repository: *689 - requestor: &706 + installation: *690 + organization: *691 + repository: *692 + requestor: &709 title: User type: - object @@ -122276,12 +122698,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Deployment Workflow Run type: @@ -122972,7 +123394,7 @@ webhooks: type: string enum: - answered - answer: &704 + answer: &707 type: object properties: author_association: @@ -123132,7 +123554,7 @@ webhooks: - created_at - updated_at - body - discussion: &702 + discussion: &705 title: Discussion description: A Discussion in a repository. type: object @@ -123428,7 +123850,7 @@ webhooks: - id labels: type: array - items: *507 + items: *508 required: - repository_url - category @@ -123450,10 +123872,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123580,11 +124002,11 @@ webhooks: - from required: - category - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123667,11 +124089,11 @@ webhooks: type: string enum: - closed - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123753,7 +124175,7 @@ webhooks: type: string enum: - created - comment: &703 + comment: &706 type: object properties: author_association: @@ -123913,11 +124335,11 @@ webhooks: - updated_at - body - reactions - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124000,12 +124422,12 @@ webhooks: type: string enum: - deleted - comment: *703 - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + comment: *706 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124100,12 +124522,12 @@ webhooks: - from required: - body - comment: *703 - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + comment: *706 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124189,11 +124611,11 @@ webhooks: type: string enum: - created - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124275,11 +124697,11 @@ webhooks: type: string enum: - deleted - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124379,11 +124801,11 @@ webhooks: type: string required: - from - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124465,10 +124887,10 @@ webhooks: type: string enum: - labeled - discussion: *702 - enterprise: *686 - installation: *687 - label: &705 + discussion: *705 + enterprise: *689 + installation: *690 + label: &708 title: Label type: object properties: @@ -124501,8 +124923,8 @@ webhooks: - color - default - description - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124585,11 +125007,11 @@ webhooks: type: string enum: - locked - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124671,11 +125093,11 @@ webhooks: type: string enum: - pinned - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124757,11 +125179,11 @@ webhooks: type: string enum: - reopened - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124846,16 +125268,16 @@ webhooks: changes: type: object properties: - new_discussion: *702 - new_repository: *689 + new_discussion: *705 + new_repository: *692 required: - new_discussion - new_repository - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124938,10 +125360,10 @@ webhooks: type: string enum: - unanswered - discussion: *702 - old_answer: *704 - organization: *688 - repository: *689 + discussion: *705 + old_answer: *707 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125023,12 +125445,12 @@ webhooks: type: string enum: - unlabeled - discussion: *702 - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125111,11 +125533,11 @@ webhooks: type: string enum: - unlocked - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125197,11 +125619,11 @@ webhooks: type: string enum: - unpinned - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125274,7 +125696,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *686 + enterprise: *689 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125952,9 +126374,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - forkee @@ -126100,9 +126522,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pages: description: The pages that were updated. type: array @@ -126140,7 +126562,7 @@ webhooks: - action - sha - html_url - repository: *689 + repository: *692 sender: *4 required: - pages @@ -126216,10 +126638,10 @@ webhooks: type: string enum: - created - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: &707 + organization: *691 + repositories: &710 description: An array of repository objects that the installation can access. type: array @@ -126245,8 +126667,8 @@ webhooks: - name - full_name - private - repository: *689 - requester: *706 + repository: *692 + requester: *709 sender: *4 required: - action @@ -126321,11 +126743,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126402,11 +126824,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126483,10 +126905,10 @@ webhooks: type: string enum: - added - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories_added: &708 + organization: *691 + repositories_added: &711 description: An array of repository objects, which were added to the installation. type: array @@ -126532,15 +126954,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *689 - repository_selection: &709 + repository: *692 + repository_selection: &712 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *706 + requester: *709 sender: *4 required: - action @@ -126619,10 +127041,10 @@ webhooks: type: string enum: - removed - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories_added: *708 + organization: *691 + repositories_added: *711 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126649,9 +127071,9 @@ webhooks: - name - full_name - private - repository: *689 - repository_selection: *709 - requester: *706 + repository: *692 + repository_selection: *712 + requester: *709 sender: *4 required: - action @@ -126730,11 +127152,11 @@ webhooks: type: string enum: - suspend - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126916,10 +127338,10 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 target_type: type: string @@ -126998,11 +127420,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -127250,8 +127672,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128068,8 +128490,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128086,7 +128508,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -128430,8 +128852,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -128511,7 +128933,7 @@ webhooks: type: string enum: - deleted - comment: &710 + comment: &713 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128678,8 +129100,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129492,8 +129914,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129510,7 +129932,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -129856,8 +130278,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -129937,7 +130359,7 @@ webhooks: type: string enum: - edited - changes: &734 + changes: &737 description: The changes to the comment. type: object properties: @@ -129949,9 +130371,9 @@ webhooks: type: string required: - from - comment: *710 - enterprise: *686 - installation: *687 + comment: *713 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130767,8 +131189,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130785,7 +131207,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -131129,8 +131551,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131220,9 +131642,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131316,9 +131738,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131411,9 +131833,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131507,9 +131929,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131594,10 +132016,10 @@ webhooks: type: string enum: - assigned - assignee: *706 - enterprise: *686 - installation: *687 - issue: &713 + assignee: *709 + enterprise: *689 + installation: *690 + issue: &716 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132409,11 +132831,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132430,7 +132852,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -132533,8 +132955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -132614,8 +133036,8 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133432,11 +133854,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133453,7 +133875,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -133699,8 +134121,8 @@ webhooks: required: - state - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -133779,8 +134201,8 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134588,11 +135010,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134609,7 +135031,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -134711,8 +135133,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -134791,8 +135213,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135623,11 +136045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135644,7 +136066,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -135725,7 +136147,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &711 + milestone: &714 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135868,8 +136290,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -135968,8 +136390,8 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136781,11 +137203,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136799,7 +137221,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -136905,9 +137327,9 @@ webhooks: - active_lock_reason - body - reactions - label: *705 - organization: *688 - repository: *689 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -136987,8 +137409,8 @@ webhooks: type: string enum: - labeled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137799,11 +138221,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137817,7 +138239,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -137923,9 +138345,9 @@ webhooks: - active_lock_reason - body - reactions - label: *705 - organization: *688 - repository: *689 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -138005,8 +138427,8 @@ webhooks: type: string enum: - locked - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138842,11 +139264,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138860,7 +139282,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -138943,8 +139365,8 @@ webhooks: format: uri user_view_type: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -139023,8 +139445,8 @@ webhooks: type: string enum: - milestoned - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139854,11 +140276,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139875,7 +140297,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -139955,9 +140377,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *711 - organization: *688 - repository: *689 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -140849,11 +141271,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140949,7 +141371,7 @@ webhooks: required: - login - id - type: *203 + type: *205 required: - id - number @@ -141430,8 +141852,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142243,11 +142665,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142264,7 +142686,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -142366,8 +142788,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -142447,9 +142869,9 @@ webhooks: type: string enum: - pinned - enterprise: *686 - installation: *687 - issue: &712 + enterprise: *689 + installation: *690 + issue: &715 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143255,11 +143677,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143276,7 +143698,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -143378,8 +143800,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -143458,8 +143880,8 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144293,11 +144715,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144394,9 +144816,9 @@ webhooks: format: uri user_view_type: type: string - type: *203 - organization: *688 - repository: *689 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -145285,11 +145707,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145306,7 +145728,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -145888,11 +146310,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *686 - installation: *687 - issue: *712 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *715 + organization: *691 + repository: *692 sender: *4 required: - action @@ -145972,12 +146394,12 @@ webhooks: type: string enum: - typed - enterprise: *686 - installation: *687 - issue: *713 - type: *203 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146058,7 +146480,7 @@ webhooks: type: string enum: - unassigned - assignee: &737 + assignee: &740 title: User type: - object @@ -146130,11 +146552,11 @@ webhooks: required: - login - id - enterprise: *686 - installation: *687 - issue: *713 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146213,12 +146635,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *686 - installation: *687 - issue: *713 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146298,8 +146720,8 @@ webhooks: type: string enum: - unlocked - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147133,11 +147555,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147154,7 +147576,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -147234,8 +147656,8 @@ webhooks: format: uri user_view_type: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147315,11 +147737,11 @@ webhooks: type: string enum: - unpinned - enterprise: *686 - installation: *687 - issue: *712 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *715 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147398,12 +147820,12 @@ webhooks: type: string enum: - untyped - enterprise: *686 - installation: *687 - issue: *713 - type: *203 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147483,11 +147905,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147565,11 +147987,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147679,11 +148101,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147765,9 +148187,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: &714 + enterprise: *689 + installation: *690 + marketplace_purchase: &717 title: Marketplace Purchase type: object required: @@ -147855,8 +148277,8 @@ webhooks: type: integer unit_count: type: integer - organization: *688 - previous_marketplace_purchase: &715 + organization: *691 + previous_marketplace_purchase: &718 title: Marketplace Purchase type: object properties: @@ -147940,7 +148362,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148020,10 +148442,10 @@ webhooks: - changed effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148111,7 +148533,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148193,10 +148615,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148282,7 +148704,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148363,8 +148785,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 marketplace_purchase: title: Marketplace Purchase type: object @@ -148450,9 +148872,9 @@ webhooks: type: integer unit_count: type: integer - organization: *688 - previous_marketplace_purchase: *715 - repository: *689 + organization: *691 + previous_marketplace_purchase: *718 + repository: *692 sender: *4 required: - action @@ -148532,12 +148954,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 - previous_marketplace_purchase: *715 - repository: *689 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 + previous_marketplace_purchase: *718 + repository: *692 sender: *4 required: - action @@ -148639,11 +149061,11 @@ webhooks: type: string required: - to - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148745,11 +149167,11 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148828,11 +149250,11 @@ webhooks: type: string enum: - removed - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148910,11 +149332,11 @@ webhooks: type: string enum: - added - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148992,7 +149414,7 @@ webhooks: required: - login - id - team: &716 + team: &719 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149222,11 +149644,11 @@ webhooks: type: string enum: - removed - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149305,7 +149727,7 @@ webhooks: required: - login - id - team: *716 + team: *719 required: - action - scope @@ -149387,8 +149809,8 @@ webhooks: type: string enum: - checks_requested - installation: *687 - merge_group: &717 + installation: *690 + merge_group: &720 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149407,15 +149829,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *392 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149501,10 +149923,10 @@ webhooks: - merged - invalidated - dequeued - installation: *687 - merge_group: *717 - organization: *688 - repository: *689 + installation: *690 + merge_group: *720 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149577,7 +149999,7 @@ webhooks: type: string enum: - deleted - enterprise: *686 + enterprise: *689 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149686,12 +150108,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *687 - organization: *688 + installation: *690 + organization: *691 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -149771,11 +150193,11 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149854,9 +150276,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - milestone: &718 + enterprise: *689 + installation: *690 + milestone: &721 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149998,8 +150420,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150078,11 +150500,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150192,11 +150614,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150276,11 +150698,11 @@ webhooks: type: string enum: - opened - enterprise: *686 - installation: *687 - milestone: *718 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *721 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150359,11 +150781,11 @@ webhooks: type: string enum: - blocked - blocked_user: *706 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + blocked_user: *709 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150442,11 +150864,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *706 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + blocked_user: *709 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150525,9 +150947,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - membership: &719 + enterprise: *689 + installation: *690 + membership: &722 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150637,8 +151059,8 @@ webhooks: - role - organization_url - user - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150716,11 +151138,11 @@ webhooks: type: string enum: - member_added - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150799,8 +151221,8 @@ webhooks: type: string enum: - member_invited - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150922,10 +151344,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 - user: *706 + user: *709 required: - action - invitation @@ -151003,11 +151425,11 @@ webhooks: type: string enum: - member_removed - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -151094,11 +151516,11 @@ webhooks: properties: from: type: string - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -151174,9 +151596,9 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 package: description: Information about the package. type: object @@ -151699,7 +152121,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &720 + items: &723 title: Ruby Gems metadata type: object properties: @@ -151796,7 +152218,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -151872,9 +152294,9 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 package: description: Information about the package. type: object @@ -152236,7 +152658,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *720 + items: *723 source_url: type: string format: uri @@ -152307,7 +152729,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -152488,12 +152910,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *686 + enterprise: *689 id: type: integer - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - id @@ -152570,7 +152992,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &721 + personal_access_token_request: &724 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152720,10 +153142,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *686 - organization: *688 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152800,11 +153222,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *721 - enterprise: *686 - organization: *688 + personal_access_token_request: *724 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152880,11 +153302,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *721 - enterprise: *686 - organization: *688 + personal_access_token_request: *724 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152959,11 +153381,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *721 - organization: *688 - enterprise: *686 + personal_access_token_request: *724 + organization: *691 + enterprise: *689 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -153068,7 +153490,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *722 + last_response: *725 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153100,8 +153522,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 zen: description: Random string of GitHub zen. @@ -153346,10 +153768,10 @@ webhooks: - from required: - note - enterprise: *686 - installation: *687 - organization: *688 - project_card: &723 + enterprise: *689 + installation: *690 + organization: *691 + project_card: &726 title: Project Card type: object properties: @@ -153472,7 +153894,7 @@ webhooks: - creator - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -153553,11 +153975,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project_card: *723 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_card: *726 + repository: *692 sender: *4 required: - action @@ -153637,9 +154059,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 project_card: title: Project Card type: object @@ -153769,7 +154191,7 @@ webhooks: repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -153863,11 +154285,11 @@ webhooks: - from required: - note - enterprise: *686 - installation: *687 - organization: *688 - project_card: *723 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_card: *726 + repository: *692 sender: *4 required: - action @@ -153961,9 +154383,9 @@ webhooks: - from required: - column_id - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 project_card: allOf: - title: Project Card @@ -154160,7 +154582,7 @@ webhooks: type: string required: - after_id - repository: *689 + repository: *692 sender: *4 required: - action @@ -154240,10 +154662,10 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - organization: *688 - project: &725 + enterprise: *689 + installation: *690 + organization: *691 + project: &728 title: Project type: object properties: @@ -154370,7 +154792,7 @@ webhooks: - creator - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -154450,10 +154872,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project_column: &724 + enterprise: *689 + installation: *690 + organization: *691 + project_column: &727 title: Project Column type: object properties: @@ -154493,7 +154915,7 @@ webhooks: - name - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -154572,14 +154994,14 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -154668,11 +155090,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 + repository: *692 sender: *4 required: - action @@ -154752,11 +155174,11 @@ webhooks: type: string enum: - moved - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 + repository: *692 sender: *4 required: - action @@ -154836,11 +155258,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -154920,14 +155342,14 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - project: *725 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -155028,11 +155450,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -155111,11 +155533,11 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -155196,9 +155618,9 @@ webhooks: type: string enum: - closed - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155279,9 +155701,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155362,9 +155784,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155485,9 +155907,9 @@ webhooks: type: string to: type: string - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155570,7 +155992,7 @@ webhooks: type: string enum: - archived - changes: &729 + changes: &732 type: object properties: archived_at: @@ -155586,9 +156008,9 @@ webhooks: - string - 'null' format: date-time - installation: *687 - organization: *688 - projects_v2_item: &726 + installation: *690 + organization: *691 + projects_v2_item: &729 title: Projects v2 Item description: An item belonging to a project type: object @@ -155606,7 +156028,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *244 + content_type: *245 creator: *4 created_at: type: string @@ -155728,9 +156150,9 @@ webhooks: - 'null' to: type: string - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -155812,9 +156234,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -155895,9 +156317,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156002,7 +156424,7 @@ webhooks: oneOf: - type: string - type: integer - - &727 + - &730 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156026,7 +156448,7 @@ webhooks: required: - id - name - - &728 + - &731 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156066,8 +156488,8 @@ webhooks: oneOf: - type: string - type: integer - - *727 - - *728 + - *730 + - *731 type: - 'null' - string @@ -156090,9 +156512,9 @@ webhooks: - 'null' required: - body - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156189,9 +156611,9 @@ webhooks: type: - string - 'null' - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156274,10 +156696,10 @@ webhooks: type: string enum: - restored - changes: *729 - installation: *687 - organization: *688 - projects_v2_item: *726 + changes: *732 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156359,9 +156781,9 @@ webhooks: type: string enum: - reopened - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -156442,9 +156864,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156525,9 +156947,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156673,9 +157095,9 @@ webhooks: - string - 'null' format: date - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156746,10 +157168,10 @@ webhooks: title: public event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - repository @@ -156826,13 +157248,13 @@ webhooks: type: string enum: - assigned - assignee: *706 - enterprise: *686 - installation: *687 - number: &731 + assignee: *709 + enterprise: *689 + installation: *690 + number: &734 description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -159181,7 +159603,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -159263,11 +159685,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -161609,7 +162031,7 @@ webhooks: - draft reason: type: string - repository: *689 + repository: *692 sender: *4 required: - action @@ -161691,11 +162113,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -164037,7 +164459,7 @@ webhooks: - draft reason: type: string - repository: *689 + repository: *692 sender: *4 required: - action @@ -164119,13 +164541,13 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: &732 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: &735 allOf: - - *544 + - *545 - type: object properties: allow_auto_merge: @@ -164187,7 +164609,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *689 + repository: *692 sender: *4 required: - action @@ -164268,12 +164690,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -164353,11 +164775,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *686 - milestone: *242 - number: *731 - organization: *688 - pull_request: &733 + enterprise: *689 + milestone: *243 + number: *734 + organization: *691 + pull_request: &736 title: Pull Request type: object properties: @@ -166684,7 +167106,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -166763,11 +167185,11 @@ webhooks: type: string enum: - dequeued - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -169113,7 +169535,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *689 + repository: *692 sender: *4 required: - action @@ -169237,12 +169659,12 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -169322,11 +169744,11 @@ webhooks: type: string enum: - enqueued - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -171657,7 +172079,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -171737,11 +172159,11 @@ webhooks: type: string enum: - labeled - enterprise: *686 - installation: *687 - label: *705 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + label: *708 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -174089,7 +174511,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -174170,10 +174592,10 @@ webhooks: type: string enum: - locked - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -176519,7 +176941,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -176599,12 +177021,12 @@ webhooks: type: string enum: - milestoned - enterprise: *686 - milestone: *242 - number: *731 - organization: *688 - pull_request: *733 - repository: *689 + enterprise: *689 + milestone: *243 + number: *734 + organization: *691 + pull_request: *736 + repository: *692 sender: *4 required: - action @@ -176683,12 +177105,12 @@ webhooks: type: string enum: - opened - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -176769,12 +177191,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -176854,12 +177276,12 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -177234,9 +177656,9 @@ webhooks: - start_side - side - reactions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -179466,7 +179888,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -179546,7 +179968,7 @@ webhooks: type: string enum: - deleted - comment: &735 + comment: &738 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179839,9 +180261,9 @@ webhooks: - start_side - side - reactions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -182059,7 +182481,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -182139,11 +182561,11 @@ webhooks: type: string enum: - edited - changes: *734 - comment: *735 - enterprise: *686 - installation: *687 - organization: *688 + changes: *737 + comment: *738 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -184364,7 +184786,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -184445,9 +184867,9 @@ webhooks: type: string enum: - dismissed - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -186680,7 +187102,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 review: description: The review that was affected. type: object @@ -186931,9 +187353,9 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -189047,8 +189469,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 - review: &736 + repository: *692 + review: &739 description: The review that was affected. type: object properties: @@ -189286,12 +189708,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -191638,7 +192060,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_reviewer: title: User type: @@ -191724,12 +192146,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -194083,7 +194505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194278,12 +194700,12 @@ webhooks: type: string enum: - review_requested - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -196632,7 +197054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_reviewer: title: User type: @@ -196719,12 +197141,12 @@ webhooks: type: string enum: - review_requested - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -199064,7 +199486,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199248,9 +199670,9 @@ webhooks: type: string enum: - submitted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -201486,8 +201908,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 - review: *736 + repository: *692 + review: *739 sender: *4 required: - action @@ -201567,9 +201989,9 @@ webhooks: type: string enum: - resolved - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -203700,7 +204122,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 sender: *4 thread: type: object @@ -204097,9 +204519,9 @@ webhooks: type: string enum: - unresolved - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -206213,7 +206635,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 sender: *4 thread: type: object @@ -206612,10 +207034,10 @@ webhooks: type: string before: type: string - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -208950,7 +209372,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -209032,11 +209454,11 @@ webhooks: type: string enum: - unassigned - assignee: *737 - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + assignee: *740 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -211386,7 +211808,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -211465,11 +211887,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *686 - installation: *687 - label: *705 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + label: *708 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -213808,7 +214230,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -213889,10 +214311,10 @@ webhooks: type: string enum: - unlocked - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -216221,7 +216643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -216424,7 +216846,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *686 + enterprise: *689 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216519,8 +216941,8 @@ webhooks: - url - author - committer - installation: *687 - organization: *688 + installation: *690 + organization: *691 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217108,9 +217530,9 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 registry_package: type: object properties: @@ -217587,7 +218009,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *720 + items: *723 summary: type: string tag_name: @@ -217643,7 +218065,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -217721,9 +218143,9 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 registry_package: type: object properties: @@ -218035,7 +218457,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *720 + items: *723 summary: type: string tag_name: @@ -218085,7 +218507,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -218162,10 +218584,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - release: &738 + enterprise: *689 + installation: *690 + organization: *691 + release: &741 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218496,7 +218918,7 @@ webhooks: - updated_at - zipball_url - body - repository: *689 + repository: *692 sender: *4 required: - action @@ -218573,11 +218995,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -218694,11 +219116,11 @@ webhooks: type: boolean required: - to - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -218776,9 +219198,9 @@ webhooks: type: string enum: - prereleased - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219114,7 +219536,7 @@ webhooks: - string - 'null' format: uri - repository: *689 + repository: *692 sender: *4 required: - action @@ -219190,10 +219612,10 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - release: &739 + enterprise: *689 + installation: *690 + organization: *691 + release: &742 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219526,7 +219948,7 @@ webhooks: - string - 'null' format: uri - repository: *689 + repository: *692 sender: *4 required: - action @@ -219602,11 +220024,11 @@ webhooks: type: string enum: - released - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -219682,11 +220104,11 @@ webhooks: type: string enum: - unpublished - enterprise: *686 - installation: *687 - organization: *688 - release: *739 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *742 + repository: *692 sender: *4 required: - action @@ -219762,11 +220184,11 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_advisory: *608 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_advisory: *609 sender: *4 required: - action @@ -219842,11 +220264,11 @@ webhooks: type: string enum: - reported - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_advisory: *608 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_advisory: *609 sender: *4 required: - action @@ -219922,10 +220344,10 @@ webhooks: type: string enum: - archived - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220002,10 +220424,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220083,10 +220505,10 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220171,10 +220593,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220289,10 +220711,10 @@ webhooks: - 'null' items: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220364,10 +220786,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 status: type: string @@ -220448,10 +220870,10 @@ webhooks: type: string enum: - privatized - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220528,10 +220950,10 @@ webhooks: type: string enum: - publicized - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220625,10 +221047,10 @@ webhooks: - name required: - repository - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220708,11 +221130,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 sender: *4 required: - action @@ -220790,11 +221212,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 sender: *4 required: - action @@ -220872,11 +221294,11 @@ webhooks: type: string enum: - edited - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 changes: type: object properties: @@ -220895,16 +221317,16 @@ webhooks: properties: added: type: array - items: *254 + items: *255 deleted: type: array - items: *254 + items: *255 updated: type: array items: type: object properties: - condition: *254 + condition: *255 changes: type: object properties: @@ -220937,16 +221359,16 @@ webhooks: properties: added: type: array - items: *565 + items: *566 deleted: type: array - items: *565 + items: *566 updated: type: array items: type: object properties: - rule: *565 + rule: *566 changes: type: object properties: @@ -221183,10 +221605,10 @@ webhooks: - from required: - owner - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221264,10 +221686,10 @@ webhooks: type: string enum: - unarchived - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221345,7 +221767,7 @@ webhooks: type: string enum: - create - alert: &740 + alert: &743 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221469,10 +221891,10 @@ webhooks: type: string enum: - open - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221682,10 +222104,10 @@ webhooks: type: string enum: - dismissed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221763,11 +222185,11 @@ webhooks: type: string enum: - reopen - alert: *740 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221969,10 +222391,10 @@ webhooks: enum: - fixed - open - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222050,17 +222472,17 @@ webhooks: type: string enum: - created - alert: &741 + alert: &744 type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri @@ -222164,10 +222586,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222248,11 +222670,11 @@ webhooks: type: string enum: - created - alert: *741 - installation: *687 - location: *742 - organization: *688 - repository: *689 + alert: *744 + installation: *690 + location: *745 + organization: *691 + repository: *692 sender: *4 required: - location @@ -222490,11 +222912,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222572,11 +222994,11 @@ webhooks: type: string enum: - reopened - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222654,11 +223076,11 @@ webhooks: type: string enum: - resolved - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222736,11 +223158,11 @@ webhooks: type: string enum: - validated - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222870,10 +223292,10 @@ webhooks: - organization - enterprise - - repository: *689 - enterprise: *686 - installation: *687 - organization: *688 + repository: *692 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -222951,11 +223373,11 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - security_advisory: &743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + security_advisory: &746 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223141,11 +223563,11 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - security_advisory: *743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + security_advisory: *746 sender: *4 required: - action @@ -223218,10 +223640,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223407,11 +223829,11 @@ webhooks: from: type: object properties: - security_and_analysis: *253 - enterprise: *686 - installation: *687 - organization: *688 - repository: *315 + security_and_analysis: *254 + enterprise: *689 + installation: *690 + organization: *691 + repository: *316 sender: *4 required: - changes @@ -223489,12 +223911,12 @@ webhooks: type: string enum: - cancelled - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: &744 + sponsorship: &747 type: object properties: created_at: @@ -223799,12 +224221,12 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - sponsorship @@ -223892,12 +224314,12 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -223974,17 +224396,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &745 + effective_date: &748 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: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - sponsorship @@ -224058,7 +224480,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &746 + changes: &749 type: object properties: tier: @@ -224102,13 +224524,13 @@ webhooks: - from required: - tier - effective_date: *745 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + effective_date: *748 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -224185,13 +224607,13 @@ webhooks: type: string enum: - tier_changed - changes: *746 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + changes: *749 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -224265,10 +224687,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224352,10 +224774,10 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224789,15 +225211,15 @@ webhooks: type: - string - 'null' - enterprise: *686 + enterprise: *689 id: description: The unique identifier of the status. type: integer - installation: *687 + installation: *690 name: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 sha: description: The Commit SHA. @@ -224913,9 +225335,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225005,9 +225427,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225097,9 +225519,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225189,9 +225611,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225268,12 +225690,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - team: &747 + team: &750 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225503,9 +225925,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -225975,7 +226397,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -226051,9 +226473,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -226523,7 +226945,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -226600,9 +227022,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -227072,7 +227494,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -227216,9 +227638,9 @@ webhooks: - from required: - permissions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -227688,7 +228110,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - changes @@ -227766,9 +228188,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -228238,7 +228660,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -228314,10 +228736,10 @@ webhooks: type: string enum: - started - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -228390,17 +228812,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *686 + enterprise: *689 inputs: type: - object - 'null' additionalProperties: true - installation: *687 - organization: *688 + installation: *690 + organization: *691 ref: type: string - repository: *689 + repository: *692 sender: *4 workflow: type: string @@ -228482,10 +228904,10 @@ webhooks: type: string enum: - completed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: allOf: @@ -228741,7 +229163,7 @@ webhooks: type: string required: - conclusion - deployment: *461 + deployment: *462 required: - action - repository @@ -228820,10 +229242,10 @@ webhooks: type: string enum: - in_progress - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: allOf: @@ -229105,7 +229527,7 @@ webhooks: required: - status - steps - deployment: *461 + deployment: *462 required: - action - repository @@ -229184,10 +229606,10 @@ webhooks: type: string enum: - queued - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: type: object @@ -229333,7 +229755,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *462 required: - action - repository @@ -229412,10 +229834,10 @@ webhooks: type: string enum: - waiting - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: type: object @@ -229562,7 +229984,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *462 required: - action - repository @@ -229642,12 +230064,12 @@ webhooks: type: string enum: - completed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object @@ -230666,12 +231088,12 @@ webhooks: type: string enum: - in_progress - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object @@ -231675,12 +232097,12 @@ webhooks: type: string enum: - requested - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 8805de85e..818f8ff31 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -62307,6 +62307,371 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -82371,6 +82736,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -145869,6 +146244,11 @@ ], "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.", "type": [ @@ -145879,6 +146259,11 @@ "monalisa" ] }, + "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": [ @@ -146100,6 +146485,11 @@ "null" ] }, + "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", @@ -146141,6 +146531,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" @@ -146203,6 +146594,11 @@ ], "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.", "type": "string", @@ -146210,6 +146606,11 @@ "monalisa" ] }, + "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": [ @@ -146557,6 +146958,11 @@ ], "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.", "type": [ @@ -146567,6 +146973,11 @@ "monalisa" ] }, + "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": [ @@ -146713,6 +147124,11 @@ "null" ] }, + "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", @@ -150441,35 +150857,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" + } + ] } } } @@ -689233,35 +689734,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" + } + ] } } } @@ -714152,6 +714738,397 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 862fc13d5..4c00cbb86 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &285 + type: &286 type: string description: The type of credit the user is receiving. enum: @@ -1040,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &103 + schema: &105 title: Validation Error Simple description: Validation Error Simple type: object @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &610 + - &611 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1658,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &181 + - &183 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 @@ -1674,7 +1674,7 @@ paths: application/json: schema: type: array - items: &182 + items: &184 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1770,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &183 + default: &185 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1833,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &102 + schema: &104 title: Validation Error description: Validation Error type: object @@ -1905,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &184 + schema: &186 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2040,7 +2040,7 @@ paths: - request - response examples: - default: &185 + default: &187 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7736,7 +7736,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &161 type: - object - 'null' @@ -7934,7 +7934,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &163 type: array description: A list of default code security configurations items: @@ -7950,7 +7950,7 @@ paths: default configuration: *41 examples: - default: &162 + default: &164 value: - default_for_new_repos: public configuration: @@ -8281,7 +8281,7 @@ paths: - *40 - *43 responses: - '204': &163 + '204': &165 description: A header with no content is returned. '400': *14 '403': *27 @@ -8408,7 +8408,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &162 value: id: 1325 target_type: organization @@ -8493,7 +8493,7 @@ paths: application/json: schema: type: array - items: &164 + items: &166 type: object description: Repositories associated with a code security configuration and attachment status @@ -8838,7 +8838,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &167 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8932,7 +8932,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &168 + - &170 name: state in: query description: |- @@ -8941,7 +8941,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &169 + - &171 name: severity in: query description: |- @@ -8950,7 +8950,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &170 + - &172 name: ecosystem in: query description: |- @@ -8959,14 +8959,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &171 + - &173 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 - - &172 + - &174 name: epss_percentage in: query description: |- @@ -8978,7 +8978,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 - - &452 + - &453 name: has in: query description: |- @@ -8992,7 +8992,7 @@ paths: type: string enum: - patch - - &173 + - &175 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9002,7 +9002,7 @@ paths: enum: - development - runtime - - &174 + - &176 name: sort in: query description: |- @@ -9028,11 +9028,11 @@ paths: application/json: schema: type: array - items: &175 + items: &177 type: object description: A Dependabot alert. properties: - number: &149 + number: &151 type: integer description: The security alert number. readOnly: true @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &453 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9305,29 +9305,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &152 + url: &154 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &153 + html_url: &155 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &150 + created_at: &152 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: &151 + updated_at: &153 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: &155 + dismissed_at: &157 type: - string - 'null' @@ -9358,7 +9358,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &154 + fixed_at: &156 type: - string - 'null' @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &454 + auto_dismissed_at: &455 type: - string - 'null' @@ -9393,7 +9393,7 @@ paths: - repository additionalProperties: false examples: - default: &176 + default: &178 value: - number: 2 state: dismissed @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &242 + - &243 title: Milestone description: A collection of related issues and pull requests. @@ -10978,7 +10978,7 @@ paths: timeline_url: type: string format: uri - type: &203 + type: &205 title: Issue Type description: The type of issue. type: @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &622 + sub_issues_summary: &623 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &623 + issue_dependencies_summary: &624 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &624 + items: &625 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &500 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &636 + user: &637 title: Public User description: Public User type: object @@ -13695,7 +13695,7 @@ paths: - closed - all default: open - - &206 + - &208 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13746,7 +13746,7 @@ paths: type: array items: *78 examples: - default: &207 + default: &209 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15158,14 +15158,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &307 + - &308 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &308 + - &309 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15227,7 +15227,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &316 + '301': &317 description: Moved permanently content: application/json: @@ -15249,7 +15249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &529 + - &530 name: all description: If `true`, show notifications marked as read. in: query @@ -15257,7 +15257,7 @@ paths: schema: type: boolean default: false - - &530 + - &531 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15267,7 +15267,7 @@ paths: type: boolean default: false - *68 - - &531 + - &532 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: @@ -15299,7 +15299,7 @@ paths: properties: id: type: string - repository: &133 + repository: &135 title: Minimal Repository description: Minimal Repository type: object @@ -15638,7 +15638,7 @@ paths: type: boolean examples: - false - security_and_analysis: &253 + security_and_analysis: &254 type: - object - 'null' @@ -15803,7 +15803,7 @@ paths: - url - subscription_url examples: - default: &532 + default: &533 value: - id: '1' repository: @@ -16682,7 +16682,7 @@ paths: - property_name - value examples: - default: &538 + default: &539 value: - property_name: environment value: production @@ -16732,7 +16732,7 @@ paths: required: - properties examples: - default: &539 + default: &540 value: properties: - property_name: environment @@ -16777,7 +16777,7 @@ paths: required: false schema: type: integer - - &677 + - &100 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 @@ -16801,14 +16801,14 @@ paths: required: false schema: type: string - - &678 + - &680 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &679 + - &101 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -16947,7 +16947,7 @@ paths: parameters: - *61 - *98 - - &682 + - &683 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 @@ -17038,6 +17038,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: + - *61 + - *98 + - *100 + - *99 + - &684 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *101 + - &685 + 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': *27 + '500': *96 + '503': *97 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -17064,7 +17210,7 @@ paths: description: Response content: application/json: - schema: &100 + schema: &102 title: Organization Full description: Organization Full type: object @@ -17459,7 +17605,7 @@ paths: - updated_at - archived_at examples: - default-response: &101 + default-response: &103 value: login: github id: 1 @@ -17776,17 +17922,17 @@ paths: description: Response content: application/json: - schema: *100 + schema: *102 examples: - default: *101 + default: *103 '422': description: Validation failed content: application/json: schema: oneOf: - - *102 - - *103 + - *104 + - *105 '409': *45 x-github: githubCloudOnly: false @@ -17900,7 +18046,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &322 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17976,7 +18122,7 @@ paths: type: integer runners: type: array - items: &104 + items: &106 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18039,7 +18185,7 @@ paths: - size_gb - display_name - source - machine_size_details: &112 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -18148,7 +18294,7 @@ paths: - public_ip_enabled - platform examples: - default: &132 + default: &134 value: total_count: 2 runners: @@ -18286,9 +18432,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: &113 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -18345,7 +18491,7 @@ paths: type: integer images: type: array - items: &105 + items: &107 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -18404,7 +18550,7 @@ paths: - latest_version - state examples: - default: &107 + default: &109 value: total_count: 2 image_versions: @@ -18436,7 +18582,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - *61 - - &106 + - &108 name: image_definition_id description: Image definition ID of custom image in: path @@ -18448,7 +18594,7 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: default: value: @@ -18479,7 +18625,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - *61 - - *106 + - *108 responses: '204': description: Response @@ -18502,7 +18648,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: - - *106 + - *108 - *61 responses: '200': @@ -18519,7 +18665,7 @@ paths: type: integer image_versions: type: array - items: &108 + items: &110 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -18557,7 +18703,7 @@ paths: - created_on - state_details examples: - default: *107 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18578,8 +18724,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: - *61 - - *106 - - &109 + - *108 + - &111 name: version description: Version of a custom image in: path @@ -18592,7 +18738,7 @@ paths: description: Response content: application/json: - schema: *108 + schema: *110 examples: default: value: @@ -18619,8 +18765,8 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - *61 - - *106 - - *109 + - *108 + - *111 responses: '204': description: Response @@ -18657,7 +18803,7 @@ paths: type: integer images: type: array - items: &110 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18697,7 +18843,7 @@ paths: - display_name - source examples: - default: &111 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -18737,9 +18883,9 @@ paths: type: integer images: type: array - items: *110 + items: *112 examples: - default: *111 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18827,7 +18973,7 @@ paths: type: integer machine_specs: type: array - items: *112 + items: *114 examples: default: value: @@ -18897,7 +19043,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *61 - - &114 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18909,9 +19055,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 headers: Link: *52 x-github: @@ -18932,7 +19078,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *61 - - *114 + - *116 requestBody: required: true content: @@ -18976,9 +19122,9 @@ paths: description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18995,15 +19141,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *61 - - *114 + - *116 responses: '202': description: Response content: application/json: - schema: *104 + schema: *106 examples: - default: *113 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19029,7 +19175,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &115 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19043,7 +19189,7 @@ paths: required: - include_claim_keys examples: - default: &116 + default: &118 value: include_claim_keys: - repo @@ -19070,15 +19216,15 @@ paths: required: true content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &142 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -19117,7 +19263,7 @@ paths: schema: type: object properties: - enabled_repositories: &117 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19130,7 +19276,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: &118 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19138,12 +19284,12 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &328 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: &119 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19185,9 +19331,9 @@ paths: schema: type: object properties: - enabled_repositories: *117 - allowed_actions: *118 - sha_pinning_required: *119 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -19221,7 +19367,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &332 type: object properties: days: @@ -19263,7 +19409,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &333 type: object properties: days: @@ -19306,7 +19452,7 @@ paths: description: Response content: application/json: - schema: &120 + schema: &122 type: object properties: approval_policy: @@ -19320,7 +19466,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &334 value: approval_policy: first_time_contributors '404': *6 @@ -19351,7 +19497,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -19379,7 +19525,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object required: - run_workflows_from_fork_pull_requests @@ -19405,7 +19551,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &121 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19433,7 +19579,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -19456,7 +19602,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -19506,7 +19652,7 @@ paths: type: array items: *64 examples: - default: &125 + default: &127 value: total_count: 1 repositories: @@ -19691,7 +19837,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *61 - - &122 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -19720,7 +19866,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -19749,7 +19895,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &125 type: object properties: github_owned_allowed: @@ -19771,7 +19917,7 @@ paths: items: type: string examples: - default: &124 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -19804,9 +19950,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19938,7 +20084,7 @@ paths: type: array items: *64 examples: - default: *125 + default: *127 '403': *27 '404': *6 x-github: @@ -20007,7 +20153,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: - *61 - - *122 + - *124 responses: '204': description: No content @@ -20034,7 +20180,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: - *61 - - *122 + - *124 responses: '204': description: No content @@ -20068,17 +20214,17 @@ paths: description: Response content: application/json: - schema: &336 + schema: &337 type: object properties: - default_workflow_permissions: &126 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &127 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20086,7 +20232,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &128 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20119,13 +20265,13 @@ paths: required: false content: application/json: - schema: &337 + schema: &338 type: object properties: - default_workflow_permissions: *126 - can_approve_pull_request_reviews: *127 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20170,7 +20316,7 @@ paths: type: number runner_groups: type: array - items: &129 + items: &131 type: object properties: id: @@ -20360,9 +20506,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &131 + default: &133 value: id: 2 name: octo-runner-group @@ -20398,7 +20544,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *61 - - &130 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20410,7 +20556,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -20447,7 +20593,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *61 - - *130 + - *132 requestBody: required: true content: @@ -20503,9 +20649,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20525,7 +20671,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *61 - - *130 + - *132 responses: '204': description: Response @@ -20549,7 +20695,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 - *17 - *19 responses: @@ -20567,9 +20713,9 @@ paths: type: number runners: type: array - items: *104 + items: *106 examples: - default: *132 + default: *134 headers: Link: *52 x-github: @@ -20592,7 +20738,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: - *61 - - *130 + - *132 - *19 - *17 responses: @@ -20610,9 +20756,9 @@ paths: type: number repositories: type: array - items: *133 + items: *135 examples: - default: &639 + default: &640 value: total_count: 1 repositories: @@ -20865,7 +21011,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: - *61 - - *130 + - *132 requestBody: required: true content: @@ -20910,8 +21056,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: - *61 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20934,8 +21080,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: - *61 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20959,7 +21105,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 - *17 - *19 responses: @@ -20977,7 +21123,7 @@ paths: type: number runners: type: array - items: &135 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -21011,7 +21157,7 @@ paths: type: boolean labels: type: array - items: &138 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21041,7 +21187,7 @@ paths: - busy - labels examples: - default: &136 + default: &138 value: total_count: 2 runners: @@ -21101,7 +21247,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *61 - - *130 + - *132 requestBody: required: true content: @@ -21146,8 +21292,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: - *61 - - *130 - - &134 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21176,8 +21322,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: - *61 - - *130 - - *134 + - *132 + - *136 responses: '204': description: Response @@ -21225,9 +21371,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *52 x-github: @@ -21259,7 +21405,7 @@ paths: application/json: schema: type: array - items: &338 + items: &339 title: Runner Application description: Runner Application type: object @@ -21284,7 +21430,7 @@ paths: - download_url - filename examples: - default: &339 + default: &340 value: - os: osx architecture: x64 @@ -21370,7 +21516,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &341 description: Response content: application/json: @@ -21380,7 +21526,7 @@ paths: - runner - encoded_jit_config properties: - runner: *135 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21443,7 +21589,7 @@ paths: description: Response content: application/json: - schema: &137 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -21485,7 +21631,7 @@ paths: - token - expires_at examples: - default: &341 + default: &342 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21522,9 +21668,9 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: &342 + default: &343 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21550,15 +21696,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &343 + default: &344 value: id: 23 name: MBP @@ -21600,7 +21746,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *61 - - *134 + - *136 responses: '204': description: Response @@ -21627,9 +21773,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 responses: - '200': &139 + '200': &141 description: Response content: application/json: @@ -21643,7 +21789,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -21683,7 +21829,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 requestBody: required: true content: @@ -21707,7 +21853,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21732,7 +21878,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *61 - - *134 + - *136 requestBody: required: true content: @@ -21757,7 +21903,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21782,9 +21928,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: - *61 - - *134 + - *136 responses: - '200': &344 + '200': &345 description: Response content: application/json: @@ -21798,7 +21944,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -21840,8 +21986,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: - *61 - - *134 - - &345 + - *136 + - &346 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21849,7 +21995,7 @@ paths: schema: type: string responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21892,7 +22038,7 @@ paths: type: integer secrets: type: array - items: &140 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21973,7 +22119,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &358 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22008,7 +22154,7 @@ paths: - key_id - key examples: - default: &358 + default: &359 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22034,7 +22180,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *61 - - &141 + - &143 name: secret_name description: The name of the secret. in: path @@ -22046,7 +22192,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -22077,7 +22223,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -22134,7 +22280,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -22161,7 +22307,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -22188,7 +22334,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -22206,9 +22352,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: &145 + default: &147 value: total_count: 1 repositories: @@ -22301,7 +22447,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -22354,7 +22500,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -22388,7 +22534,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -22421,7 +22567,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &326 + - &327 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)." @@ -22445,7 +22591,7 @@ paths: type: integer variables: type: array - items: &143 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -22583,7 +22729,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -22609,7 +22755,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *61 - - &144 + - &146 name: name description: The name of the variable. in: path @@ -22621,7 +22767,7 @@ paths: description: Response content: application/json: - schema: *143 + schema: *145 examples: default: value: @@ -22652,7 +22798,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *61 - - *144 + - *146 requestBody: required: true content: @@ -22715,7 +22861,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *61 - - *144 + - *146 responses: '204': description: Response @@ -22742,7 +22888,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *61 - - *144 + - *146 - *19 - *17 responses: @@ -22760,9 +22906,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22789,7 +22935,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *61 - - *144 + - *146 requestBody: required: true content: @@ -22839,7 +22985,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *61 - - *144 + - *146 - name: repository_id in: path required: true @@ -22874,7 +23020,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *61 - - *144 + - *146 - name: repository_id in: path required: true @@ -22963,6 +23109,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -23157,12 +23317,12 @@ paths: required: - subject_digests examples: - default: &666 + default: &667 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &667 + withPredicateType: &668 value: subject_digests: - sha256:abc123 @@ -23221,7 +23381,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &668 + default: &669 value: attestations_subject_digests: - sha256:abc: @@ -23570,7 +23730,7 @@ paths: initiator: type: string examples: - default: &371 + default: &372 value: attestations: - bundle: @@ -23789,7 +23949,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &146 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23815,7 +23975,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23846,7 +24006,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &167 + items: &169 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23923,7 +24083,7 @@ paths: parent: anyOf: - type: 'null' - - &218 + - &220 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24059,7 +24219,7 @@ paths: - string - 'null' format: date-time - state: *146 + state: *148 contact_link: description: The contact link of the campaign. type: @@ -24282,9 +24442,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: &148 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24367,9 +24527,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '404': *6 '422': description: Unprocessable Entity @@ -24447,7 +24607,7 @@ paths: - string - 'null' format: uri - state: *146 + state: *148 examples: default: value: @@ -24457,9 +24617,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '400': description: Bad Request content: @@ -24526,17 +24686,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &396 + - &397 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: &156 + schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &397 + - &398 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 @@ -24544,7 +24704,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &159 type: - string - 'null' @@ -24560,7 +24720,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -24583,7 +24743,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -24604,18 +24764,18 @@ paths: items: type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: &401 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &160 type: - string - 'null' @@ -24625,13 +24785,13 @@ paths: - dismissed - fixed - - fixed_at: *154 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: &402 + dismissed_at: *157 + dismissed_reason: &403 type: - string - 'null' @@ -24642,14 +24802,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &403 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &404 + rule: &405 type: object properties: id: @@ -24710,26 +24870,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &405 + tool: &406 type: object properties: - name: *156 + name: *158 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &406 + guid: *159 + most_recent_instance: &407 type: object properties: - ref: &398 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24740,13 +24900,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &418 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: *158 + state: *160 commit_sha: type: string message: @@ -25252,7 +25412,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *161 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25395,7 +25555,7 @@ paths: application/json: schema: *41 examples: - default: *160 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25423,9 +25583,9 @@ paths: description: Response content: application/json: - schema: *161 + schema: *163 examples: - default: *162 + default: *164 '304': *35 '403': *27 '404': *6 @@ -25477,7 +25637,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -25512,7 +25672,7 @@ paths: application/json: schema: *41 examples: - default: *160 + default: *162 '304': *35 '403': *27 '404': *6 @@ -25796,7 +25956,7 @@ paths: - *61 - *43 responses: - '204': *163 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -25934,7 +26094,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *162 '403': *27 '404': *6 x-github: @@ -25987,13 +26147,13 @@ paths: application/json: schema: type: array - items: *164 + items: *166 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *167 '403': *27 '404': *6 x-github: @@ -26033,7 +26193,7 @@ paths: type: integer codespaces: type: array - items: &208 + items: &210 type: object title: Codespace description: A codespace. @@ -26064,11 +26224,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *133 + repository: *135 machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26355,7 +26515,7 @@ paths: - pulls_url - recent_folders examples: - default: &209 + default: &211 value: total_count: 3 codespaces: @@ -26979,7 +27139,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &168 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27020,7 +27180,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -27058,7 +27218,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27093,7 +27253,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27117,15 +27277,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *166 + schema: *168 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27153,7 +27313,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -27208,7 +27368,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -27235,7 +27395,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -27261,7 +27421,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -27279,9 +27439,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -27304,7 +27464,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -27355,7 +27515,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -27389,7 +27549,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -27592,7 +27752,7 @@ paths: currently being billed. seats: type: array - items: &211 + items: &213 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27610,7 +27770,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *167 + - *169 - *53 type: - 'null' @@ -28123,7 +28283,7 @@ paths: application/json: schema: type: array - items: &289 + items: &290 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28438,7 +28598,7 @@ paths: - date additionalProperties: true examples: - default: &290 + default: &291 value: - date: '2024-06-24' total_active_users: 24 @@ -28540,7 +28700,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &291 + '422': &292 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28568,11 +28728,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *61 - - *168 - - *169 - *170 - *171 - *172 + - *173 + - *174 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28610,8 +28770,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *173 - - *174 + - *175 + - *176 - *46 - *38 - *39 @@ -28623,9 +28783,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '304': *35 '400': *14 '403': *27 @@ -28669,7 +28829,7 @@ paths: type: integer secrets: type: array - items: &177 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28748,7 +28908,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28767,7 +28927,7 @@ paths: - key_id - key examples: - default: &458 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28791,13 +28951,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: default: value: @@ -28826,7 +28986,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -28885,7 +29045,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -28910,7 +29070,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -28935,7 +29095,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 - *19 - *17 responses: @@ -28953,9 +29113,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28977,7 +29137,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -29028,7 +29188,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -29060,7 +29220,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *61 - - *141 + - *143 - name: repository_id in: path required: true @@ -29098,7 +29258,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 title: Package description: A software package type: object @@ -29151,7 +29311,7 @@ paths: repository: anyOf: - type: 'null' - - *133 + - *135 created_at: type: string format: date-time @@ -29169,7 +29329,7 @@ paths: - created_at - updated_at examples: - default: &221 + default: &223 value: - id: 197 name: hello_docker @@ -29339,7 +29499,7 @@ paths: application/json: schema: type: array - items: &200 + items: &202 title: Organization Invitation description: Organization Invitation type: object @@ -29393,7 +29553,7 @@ paths: - invitation_teams_url - node_id examples: - default: &201 + default: &203 value: - id: 1 login: monalisa @@ -29460,7 +29620,7 @@ paths: application/json: schema: type: array - items: &178 + items: &180 title: Org Hook description: Org Hook type: object @@ -29645,9 +29805,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: &179 + default: &181 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29695,7 +29855,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *61 - - &180 + - &182 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. @@ -29708,9 +29868,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: - default: *179 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -29738,7 +29898,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *61 - - *180 + - *182 requestBody: required: false content: @@ -29784,7 +29944,7 @@ paths: description: Response content: application/json: - schema: *178 + schema: *180 examples: default: value: @@ -29826,7 +29986,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *61 - - *180 + - *182 responses: '204': description: Response @@ -29854,7 +30014,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *61 - - *180 + - *182 responses: '200': description: Response @@ -29885,7 +30045,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *61 - - *180 + - *182 requestBody: required: false content: @@ -29936,9 +30096,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *17 - - *181 + - *183 responses: '200': description: Response @@ -29946,9 +30106,9 @@ paths: application/json: schema: type: array - items: *182 + items: *184 examples: - default: *183 + default: *185 '400': *14 '422': *15 x-github: @@ -29974,16 +30134,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 '400': *14 '422': *15 x-github: @@ -30009,7 +30169,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *61 - - *180 + - *182 - *16 responses: '202': *37 @@ -30039,7 +30199,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *61 - - *180 + - *182 responses: '204': description: Response @@ -30062,7 +30222,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *61 - - &190 + - &192 name: actor_type in: path description: The type of the actor @@ -30075,14 +30235,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &191 + - &193 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &186 + - &188 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`.' @@ -30090,7 +30250,7 @@ paths: required: true schema: type: string - - &187 + - &189 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) @@ -30185,12 +30345,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *61 - - *186 - - *187 + - *188 + - *189 - *19 - *17 - *46 - - &196 + - &198 name: sort description: The property to sort the results by. in: query @@ -30270,14 +30430,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *61 - - *186 - - *187 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: &188 + schema: &190 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30293,7 +30453,7 @@ paths: type: integer format: int64 examples: - default: &189 + default: &191 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30314,23 +30474,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *61 - - &192 + - &194 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *186 - - *187 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -30349,18 +30509,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *61 - - *186 - - *187 - - *190 - - *191 + - *188 + - *189 + - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -30378,9 +30538,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *61 - - *186 - - *187 - - &193 + - *188 + - *189 + - &195 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30393,7 +30553,7 @@ paths: description: Response content: application/json: - schema: &194 + schema: &196 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30409,7 +30569,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &197 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30446,18 +30606,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *61 - - *192 - - *186 - - *187 - - *193 + - *194 + - *188 + - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -30475,19 +30635,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *61 - - *190 - - *191 - - *186 - - *187 + - *192 - *193 + - *188 + - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -30505,13 +30665,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *61 - - *192 - - *186 - - *187 + - *194 + - *188 + - *189 - *19 - *17 - *46 - - *196 + - *198 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30595,7 +30755,7 @@ paths: application/json: schema: *20 examples: - default: &496 + default: &497 value: id: 1 account: @@ -30761,12 +30921,12 @@ paths: application/json: schema: anyOf: - - &198 + - &200 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &197 + limit: &199 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30794,7 +30954,7 @@ paths: properties: {} additionalProperties: false examples: - default: &199 + default: &201 value: limit: collaborators_only origin: organization @@ -30823,13 +30983,13 @@ paths: required: true content: application/json: - schema: &497 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *197 + limit: *199 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30854,9 +31014,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '422': *15 x-github: githubCloudOnly: false @@ -30932,9 +31092,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 '404': *6 @@ -31011,7 +31171,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -31066,7 +31226,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *61 - - &202 + - &204 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31097,7 +31257,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *61 - - *202 + - *204 - *17 - *19 responses: @@ -31107,9 +31267,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: &219 + default: &221 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31152,7 +31312,7 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: default: value: @@ -31240,9 +31400,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: - default: &204 + default: &206 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31275,7 +31435,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *61 - - &205 + - &207 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31331,9 +31491,9 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: - default: *204 + default: *206 '404': *6 '422': *7 x-github: @@ -31358,7 +31518,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *61 - - *205 + - *207 responses: '204': description: Response @@ -31421,7 +31581,7 @@ paths: - closed - all default: open - - *206 + - *208 - name: type description: Can be the name of an issue type. in: query @@ -31452,7 +31612,7 @@ paths: type: array items: *78 examples: - default: *207 + default: *209 headers: Link: *52 '404': *6 @@ -31611,9 +31771,9 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: - default: *209 + default: *211 '304': *35 '500': *96 '401': *23 @@ -31640,7 +31800,7 @@ paths: parameters: - *61 - *57 - - &210 + - &212 name: codespace_name in: path required: true @@ -31675,15 +31835,15 @@ paths: parameters: - *61 - *57 - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31863,7 +32023,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -31939,7 +32099,7 @@ paths: description: Response content: application/json: - schema: &212 + schema: &214 title: Org Membership description: Org Membership type: object @@ -32008,7 +32168,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &213 + response-if-user-has-an-active-admin-membership-with-organization: &215 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32105,9 +32265,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - response-if-user-already-had-membership-with-organization: *213 + response-if-user-already-had-membership-with-organization: *215 '422': *15 '403': *27 x-github: @@ -32179,7 +32339,7 @@ paths: application/json: schema: type: array - items: &214 + items: &216 title: Migration description: A migration. type: object @@ -32517,7 +32677,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32696,7 +32856,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *61 - - &215 + - &217 name: migration_id description: The unique identifier of the migration. in: path @@ -32724,7 +32884,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32894,7 +33054,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *61 - - *215 + - *217 responses: '302': description: Response @@ -32916,7 +33076,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *61 - - *215 + - *217 responses: '204': description: Response @@ -32940,8 +33100,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *61 - - *215 - - &651 + - *217 + - &652 name: repo_name description: repo_name parameter in: path @@ -32969,7 +33129,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *61 - - *215 + - *217 - *17 - *19 responses: @@ -32979,9 +33139,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: &226 + default: &228 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33134,7 +33294,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &217 + items: &219 title: Organization Role description: Organization roles type: object @@ -33311,7 +33471,7 @@ paths: parameters: - *61 - *62 - - &216 + - &218 name: role_id description: The unique identifier of the role. in: path @@ -33348,7 +33508,7 @@ paths: parameters: - *61 - *62 - - *216 + - *218 responses: '204': description: Response @@ -33401,7 +33561,7 @@ paths: parameters: - *61 - *57 - - *216 + - *218 responses: '204': description: Response @@ -33433,7 +33593,7 @@ paths: parameters: - *61 - *57 - - *216 + - *218 responses: '204': description: Response @@ -33462,13 +33622,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *61 - - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33519,7 +33679,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *61 - - *216 + - *218 - *17 - *19 responses: @@ -33598,7 +33758,7 @@ paths: parent: anyOf: - type: 'null' - - *218 + - *220 type: description: The ownership type of the team type: string @@ -33631,7 +33791,7 @@ paths: - type - parent examples: - default: *219 + default: *221 headers: Link: *52 '404': @@ -33661,7 +33821,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *61 - - *216 + - *218 - *17 - *19 responses: @@ -33690,7 +33850,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *218 + items: *220 name: type: - string @@ -34000,7 +34160,7 @@ paths: - nuget - container - *61 - - &652 + - &653 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34036,12 +34196,12 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '403': *27 '401': *23 - '400': &654 + '400': &655 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34063,7 +34223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &222 + - &224 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 @@ -34081,7 +34241,7 @@ paths: - docker - nuget - container - - &223 + - &225 name: package_name description: The name of the package. in: path @@ -34094,7 +34254,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *222 examples: default: value: @@ -34146,8 +34306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 responses: '204': @@ -34180,8 +34340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 - name: token description: package token @@ -34214,8 +34374,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: - - *222 - - *223 + - *224 + - *225 - *61 - *19 - *17 @@ -34236,7 +34396,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Package Version description: A version of a software package type: object @@ -34371,10 +34531,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *222 - - *223 + - *224 + - *225 - *61 - - &225 + - &227 name: package_version_id description: Unique identifier of the package version. in: path @@ -34386,7 +34546,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -34422,10 +34582,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *222 - - *223 - - *61 + - *224 - *225 + - *61 + - *227 responses: '204': description: Response @@ -34457,10 +34617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *222 - - *223 - - *61 + - *224 - *225 + - *61 + - *227 responses: '204': description: Response @@ -34490,7 +34650,7 @@ paths: - *61 - *17 - *19 - - &227 + - &229 name: sort description: The property by which to sort the results. in: query @@ -34501,7 +34661,7 @@ paths: - created_at default: created_at - *46 - - &228 + - &230 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34513,7 +34673,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &229 + - &231 name: repository description: The name of the repository to use to filter the results. in: query @@ -34522,7 +34682,7 @@ paths: type: string examples: - Hello-World - - &230 + - &232 name: permission description: The permission to use to filter the results. in: query @@ -34531,7 +34691,7 @@ paths: type: string examples: - issues_read - - &231 + - &233 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) @@ -34541,7 +34701,7 @@ paths: schema: type: string format: date-time - - &232 + - &234 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) @@ -34551,7 +34711,7 @@ paths: schema: type: string format: date-time - - &233 + - &235 name: token_id description: The ID of the token in: query @@ -34827,7 +34987,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34868,9 +35028,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -34896,14 +35056,14 @@ paths: - *61 - *17 - *19 - - *227 - - *46 - - *228 - *229 + - *46 - *230 - *231 - *232 - *233 + - *234 + - *235 responses: '500': *96 '422': *15 @@ -35144,7 +35304,7 @@ paths: responses: '500': *96 '404': *6 - '204': *163 + '204': *165 '403': *27 '422': *15 x-github: @@ -35185,9 +35345,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -35229,7 +35389,7 @@ paths: type: integer configurations: type: array - items: &234 + items: &236 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35258,6 +35418,10 @@ 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. @@ -35266,6 +35430,16 @@ paths: - 'null' examples: - monalisa + 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. @@ -35358,6 +35532,15 @@ paths: type: - string - 'null' + 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 @@ -35403,6 +35586,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 @@ -35453,12 +35637,25 @@ 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. type: string examples: - monalisa + 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 @@ -35488,7 +35685,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &235 + org-private-registry-with-selected-visibility: &237 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35580,15 +35777,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *234 + schema: *236 examples: - default: *235 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -35610,7 +35807,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 requestBody: required: true content: @@ -35648,6 +35845,15 @@ paths: type: - string - 'null' + 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 @@ -35707,7 +35913,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *61 - - *141 + - *143 responses: '204': description: Response @@ -35753,7 +35959,7 @@ paths: application/json: schema: type: array - items: &236 + items: &238 title: Project description: Projects are a way to organize columns and cards of work. @@ -35935,7 +36141,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -35973,7 +36179,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &313 + '410': &314 description: Gone content: application/json: @@ -36016,7 +36222,7 @@ paths: application/json: schema: type: array - items: &237 + items: &239 title: Projects v2 Project description: A projects v2 project type: object @@ -36090,7 +36296,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &730 + - &733 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36175,7 +36381,7 @@ paths: - deleted_at - deleted_by examples: - default: &238 + default: &240 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36278,7 +36484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &239 + - &241 name: project_number description: The project's number. in: path @@ -36291,9 +36497,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -36315,7 +36521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *239 + - *241 - *61 - *17 - *38 @@ -36327,7 +36533,7 @@ paths: application/json: schema: type: array - items: &240 + items: &242 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36477,9 +36683,9 @@ paths: - updated_at - project_url examples: - default: &241 + default: &672 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -36499,6 +36705,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: *52 '304': *35 @@ -36520,8 +36786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *239 - - &671 + - *241 + - &673 name: field_id description: The unique identifier of the field. in: path @@ -36534,9 +36800,30 @@ paths: description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: &674 + 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: *52 '304': *35 @@ -36559,7 +36846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *239 + - *241 - *61 - 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) @@ -36592,7 +36879,7 @@ paths: application/json: schema: type: array - items: &246 + items: &247 title: Projects v2 Item description: An item belonging to a project type: object @@ -36609,7 +36896,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &244 + content_type: &245 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36666,7 +36953,7 @@ paths: - updated_at - archived_at examples: - default: &247 + default: &248 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37361,7 +37648,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *239 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -37398,7 +37685,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &675 title: Projects v2 Item description: An item belonging to a project type: object @@ -37412,7 +37699,7 @@ paths: content: oneOf: - *78 - - &441 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -37532,7 +37819,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 active_lock_reason: type: - string @@ -37587,7 +37874,7 @@ paths: type: - array - 'null' - items: *167 + items: *169 head: type: object properties: @@ -37631,7 +37918,7 @@ paths: _links: type: object properties: - comments: &243 + comments: &244 title: Link description: Hypermedia Link type: object @@ -37640,13 +37927,13 @@ paths: type: string required: - href - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -37657,7 +37944,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &541 + auto_merge: &542 title: Auto merge description: The status of auto merging a pull request. type: @@ -37759,7 +38046,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *244 + content_type: *245 creator: *4 created_at: type: string @@ -37796,7 +38083,7 @@ paths: - updated_at - archived_at examples: - issue: &245 + issue: &246 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37851,7 +38138,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: *245 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -37871,9 +38158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *239 + - *241 - *61 - - &248 + - &249 name: item_id description: The unique identifier of the project item. in: path @@ -37899,9 +38186,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -37922,9 +38209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *239 + - *241 - *61 - - *248 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37997,13 +38284,13 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - text_field: *247 - number_field: *247 - date_field: *247 - single_select_field: *247 - iteration_field: *247 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -38023,9 +38310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *239 + - *241 - *61 - - *248 + - *249 responses: '204': description: Response @@ -38057,7 +38344,7 @@ paths: application/json: schema: type: array - items: &249 + items: &250 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38133,7 +38420,7 @@ paths: - property_name - value_type examples: - default: &250 + default: &251 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38192,7 +38479,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *249 + items: *250 minItems: 1 maxItems: 100 required: @@ -38222,9 +38509,9 @@ paths: application/json: schema: type: array - items: *249 + items: *250 examples: - default: *250 + default: *251 '403': *27 '404': *6 x-github: @@ -38246,7 +38533,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &251 + - &252 name: custom_property_name description: The custom property name in: path @@ -38258,9 +38545,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: &252 + default: &253 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38295,7 +38582,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *251 + - *252 requestBody: required: true content: @@ -38373,9 +38660,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *250 examples: - default: *252 + default: *253 '403': *27 '404': *6 x-github: @@ -38399,9 +38686,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *251 + - *252 responses: - '204': *163 + '204': *165 '403': *27 '404': *6 x-github: @@ -38722,9 +39009,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -38927,7 +39214,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &316 title: Full Repository description: Full Repository type: object @@ -39392,7 +39679,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &446 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39422,7 +39709,7 @@ paths: - key - name - html_url - security_and_analysis: *253 + security_and_analysis: *254 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39506,7 +39793,7 @@ paths: - network_count - subscribers_count examples: - default: &317 + default: &318 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40027,7 +40314,7 @@ paths: - *61 - *17 - *19 - - &564 + - &565 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40046,7 +40333,7 @@ paths: application/json: schema: type: array - items: &279 + items: &280 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40081,7 +40368,7 @@ paths: source: type: string description: The name of the source - enforcement: &256 + enforcement: &257 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40094,7 +40381,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &257 + items: &258 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40165,7 +40452,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &254 + - &255 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40189,7 +40476,7 @@ paths: match. items: type: string - - &258 + - &259 title: Organization ruleset conditions type: object description: |- @@ -40203,7 +40490,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40237,7 +40524,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40259,7 +40546,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *254 + - *255 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40272,7 +40559,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &255 + items: &256 title: Repository ruleset property targeting definition type: object @@ -40305,7 +40592,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *255 + items: *256 required: - repository_property type: @@ -40313,12 +40600,12 @@ paths: - object rules: type: array - items: &565 + items: &566 title: Repository Rule type: object description: A repository rule. oneOf: - - &259 + - &260 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40330,7 +40617,7 @@ paths: type: string enum: - creation - - &260 + - &261 title: update description: Only allow users with bypass permission to update matching refs. @@ -40351,7 +40638,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &261 + - &262 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40363,7 +40650,7 @@ paths: type: string enum: - deletion - - &262 + - &263 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40375,7 +40662,7 @@ paths: type: string enum: - required_linear_history - - &562 + - &563 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40453,7 +40740,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &263 + - &264 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40477,7 +40764,7 @@ paths: type: string required: - required_deployment_environments - - &264 + - &265 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40489,7 +40776,7 @@ paths: type: string enum: - required_signatures - - &265 + - &266 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40551,7 +40838,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &266 + - &267 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40599,7 +40886,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &267 + - &268 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40611,7 +40898,7 @@ paths: type: string enum: - non_fast_forward - - &268 + - &269 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40647,7 +40934,7 @@ paths: required: - operator - pattern - - &269 + - &270 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40683,7 +40970,7 @@ paths: required: - operator - pattern - - &270 + - &271 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40719,7 +41006,7 @@ paths: required: - operator - pattern - - &271 + - &272 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40755,7 +41042,7 @@ paths: required: - operator - pattern - - &272 + - &273 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40791,7 +41078,7 @@ paths: required: - operator - pattern - - &273 + - &274 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40816,7 +41103,7 @@ paths: type: string required: - restricted_file_paths - - &274 + - &275 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40840,7 +41127,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &275 + - &276 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40863,7 +41150,7 @@ paths: type: string required: - restricted_file_extensions - - &276 + - &277 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40888,7 +41175,7 @@ paths: maximum: 100 required: - max_file_size - - &277 + - &278 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40938,7 +41225,7 @@ paths: - repository_id required: - workflows - - &278 + - &279 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40999,7 +41286,7 @@ paths: - tool required: - code_scanning_tools - - &563 + - &564 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41097,21 +41384,20 @@ paths: - push - repository default: branch - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *258 + items: *258 + conditions: *259 rules: type: array description: An array of rules within the ruleset. - items: &281 + items: &282 title: Repository Rule type: object description: A repository rule. oneOf: - - *259 - *260 - *261 - *262 @@ -41131,6 +41417,7 @@ paths: - *276 - *277 - *278 + - *279 required: - name - enforcement @@ -41168,9 +41455,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &280 + default: &281 value: id: 21 name: super cool ruleset @@ -41225,7 +41512,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &566 + - &567 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 @@ -41240,7 +41527,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -41256,14 +41543,14 @@ paths: - week - month default: day - - &568 + - &569 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 - - &569 + - &570 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41283,7 +41570,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -41339,7 +41626,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -41383,7 +41670,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &572 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41399,7 +41686,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -41506,7 +41793,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -41579,9 +41866,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '404': *6 '500': *96 put: @@ -41625,16 +41912,16 @@ paths: - tag - push - repository - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *258 + items: *258 + conditions: *259 rules: description: An array of rules within the ruleset. type: array - items: *281 + items: *282 examples: default: value: @@ -41669,9 +41956,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 '404': *6 '500': *96 delete: @@ -41728,7 +42015,7 @@ paths: application/json: schema: type: array - items: &282 + items: &283 title: Ruleset version type: object description: The historical version of a ruleset @@ -41752,7 +42039,7 @@ paths: type: string format: date-time examples: - default: &576 + default: &577 value: - version_id: 3 actor: @@ -41805,9 +42092,9 @@ paths: description: Response content: application/json: - schema: &577 + schema: &578 allOf: - - *282 + - *283 - type: object required: - state @@ -41877,7 +42164,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &578 + - &579 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41888,7 +42175,7 @@ paths: enum: - open - resolved - - &579 + - &580 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41898,7 +42185,7 @@ paths: required: false schema: type: string - - &580 + - &581 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41907,7 +42194,7 @@ paths: required: false schema: type: string - - &581 + - &582 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. @@ -41922,7 +42209,7 @@ paths: - *46 - *19 - *17 - - &582 + - &583 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 @@ -41932,7 +42219,7 @@ paths: required: false schema: type: string - - &583 + - &584 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 @@ -41942,7 +42229,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41951,7 +42238,7 @@ paths: required: false schema: type: string - - &585 + - &586 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41960,7 +42247,7 @@ paths: schema: type: boolean default: false - - &586 + - &587 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41969,7 +42256,7 @@ paths: schema: type: boolean default: false - - &587 + - &588 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41988,27 +42275,27 @@ paths: items: type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &588 + state: &589 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: &589 + resolution: &590 type: - string - 'null' @@ -42115,14 +42402,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &590 + - &591 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &592 + - &593 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42179,7 +42466,7 @@ paths: - blob_url - commit_sha - commit_url - - &593 + - &594 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. @@ -42240,7 +42527,7 @@ paths: - page_url - commit_sha - commit_url - - &594 + - &595 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42255,7 +42542,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &595 + - &596 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42270,7 +42557,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &596 + - &597 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42285,7 +42572,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &597 + - &598 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42300,7 +42587,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &598 + - &599 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42315,7 +42602,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &599 + - &600 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42330,7 +42617,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &600 + - &601 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. @@ -42345,7 +42632,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &601 + - &602 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. @@ -42360,7 +42647,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &602 + - &603 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. @@ -42375,7 +42662,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &603 + - &604 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. @@ -42390,7 +42677,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &604 + - &605 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 @@ -42630,7 +42917,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &284 + pattern_config_version: &285 type: - string - 'null' @@ -42640,7 +42927,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &283 + items: &284 type: object properties: token_type: @@ -42709,7 +42996,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *283 + items: *284 examples: default: value: @@ -42766,7 +43053,7 @@ paths: schema: type: object properties: - pattern_config_version: *284 + pattern_config_version: *285 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42792,7 +43079,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *284 + custom_pattern_version: *285 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42890,7 +43177,7 @@ paths: application/json: schema: type: array - items: &608 + items: &609 description: A repository security advisory. type: object properties: @@ -43134,7 +43421,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 credits_detailed: type: - array @@ -43145,7 +43432,7 @@ paths: type: object properties: user: *4 - type: *285 + type: *286 state: type: string description: The state of the user's acceptance of the @@ -43171,7 +43458,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *167 + items: *169 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43209,7 +43496,7 @@ paths: - private_fork additionalProperties: false examples: - default: &609 + default: &610 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43596,9 +43883,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43683,7 +43970,7 @@ paths: description: Response content: application/json: - schema: &673 + schema: &676 type: object properties: total_minutes_used: @@ -43753,7 +44040,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &674 + default: &677 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43789,7 +44076,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &678 type: object properties: total_gigabytes_bandwidth_used: @@ -43807,7 +44094,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &676 + default: &679 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43839,7 +44126,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &681 type: object properties: days_left_in_billing_cycle: @@ -43857,7 +44144,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &681 + default: &682 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44007,9 +44294,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44078,7 +44365,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -44101,7 +44388,7 @@ paths: url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *61 - - *122 + - *124 responses: '204': description: Response @@ -44142,7 +44429,7 @@ paths: type: integer network_configurations: type: array - items: &286 + items: &287 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44267,9 +44554,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: &287 + default: &288 value: id: 123456789ABCDEF name: My network configuration @@ -44298,7 +44585,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &288 + - &289 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44310,9 +44597,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 headers: Link: *52 x-github: @@ -44334,7 +44621,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *288 + - *289 requestBody: required: true content: @@ -44373,9 +44660,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44395,7 +44682,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *288 + - *289 responses: '204': description: Response @@ -44540,13 +44827,13 @@ paths: application/json: schema: type: array - items: *289 + items: *290 examples: - default: *290 + default: *291 '500': *96 '403': *27 '404': *6 - '422': *291 + '422': *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44574,9 +44861,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 headers: Link: *52 '403': *27 @@ -44670,7 +44957,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44744,7 +45031,7 @@ paths: parent: anyOf: - type: 'null' - - *218 + - *220 members_count: type: integer examples: @@ -45069,7 +45356,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &294 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45146,9 +45433,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -45233,16 +45520,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -45312,7 +45599,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45423,7 +45710,7 @@ paths: - updated_at - url examples: - default: &626 + default: &627 value: - author: login: octocat @@ -45532,9 +45819,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: author: login: octocat @@ -45608,7 +45895,7 @@ paths: parameters: - *61 - *62 - - &296 + - &297 name: discussion_number description: The number that identifies the discussion. in: path @@ -45620,9 +45907,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45646,7 +45933,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: false content: @@ -45669,9 +45956,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &627 + default: &628 value: author: login: octocat @@ -45743,7 +46030,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 responses: '204': description: Response @@ -45771,7 +46058,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 - *46 - *17 - *19 @@ -45782,7 +46069,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45862,7 +46149,7 @@ paths: - updated_at - url examples: - default: &628 + default: &629 value: - author: login: octocat @@ -45932,7 +46219,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: true content: @@ -45954,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &298 + default: &299 value: author: login: octocat @@ -46024,8 +46311,8 @@ paths: parameters: - *61 - *62 - - *296 - - &299 + - *297 + - &300 name: comment_number description: The number that identifies the comment. in: path @@ -46037,9 +46324,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46063,8 +46350,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 requestBody: required: true content: @@ -46086,9 +46373,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &629 + default: &630 value: author: login: octocat @@ -46154,8 +46441,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 responses: '204': description: Response @@ -46183,8 +46470,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 - 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. @@ -46210,7 +46497,7 @@ paths: application/json: schema: type: array - items: &300 + items: &301 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46254,7 +46541,7 @@ paths: - content - created_at examples: - default: &302 + default: &303 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46306,8 +46593,8 @@ paths: parameters: - *61 - *62 - - *296 - - *299 + - *297 + - *300 requestBody: required: true content: @@ -46340,9 +46627,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *301 examples: - default: &301 + default: &302 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46371,9 +46658,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46398,9 +46685,9 @@ paths: parameters: - *61 - *62 - - *296 - - *299 - - &303 + - *297 + - *300 + - &304 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46434,7 +46721,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 - 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. @@ -46460,9 +46747,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -46490,7 +46777,7 @@ paths: parameters: - *61 - *62 - - *296 + - *297 requestBody: required: true content: @@ -46522,16 +46809,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46556,8 +46843,8 @@ paths: parameters: - *61 - *62 - - *296 - - *303 + - *297 + - *304 responses: '204': description: Response @@ -46592,9 +46879,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 x-github: @@ -46678,7 +46965,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: Team Membership description: Team Membership type: object @@ -46706,7 +46993,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &630 + response-if-user-is-a-team-maintainer: &631 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46769,9 +47056,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-users-membership-with-team-is-now-pending: &631 + response-if-users-membership-with-team-is-now-pending: &632 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46844,7 +47131,7 @@ paths: application/json: schema: type: array - items: &305 + items: &306 title: Team Project description: A team's access to a project. type: object @@ -46913,7 +47200,7 @@ paths: - updated_at - permissions examples: - default: &632 + default: &633 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46978,7 +47265,7 @@ paths: parameters: - *61 - *62 - - &306 + - &307 name: project_id description: The unique identifier of the project. in: path @@ -46990,9 +47277,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: &633 + default: &634 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47056,7 +47343,7 @@ paths: parameters: - *61 - *62 - - *306 + - *307 requestBody: required: false content: @@ -47125,7 +47412,7 @@ paths: parameters: - *61 - *62 - - *306 + - *307 responses: '204': description: Response @@ -47163,9 +47450,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -47196,14 +47483,14 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &634 + schema: &635 title: Team Repository description: A team's access to a repository. type: object @@ -47846,8 +48133,8 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 requestBody: required: false content: @@ -47894,8 +48181,8 @@ paths: parameters: - *61 - *62 - - *307 - *308 + - *309 responses: '204': description: Response @@ -47930,9 +48217,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - response-if-child-teams-exist: &635 + response-if-child-teams-exist: &636 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48059,7 +48346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &309 + - &310 name: column_id description: The unique identifier of the column. in: path @@ -48071,7 +48358,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &311 title: Project Column description: Project columns contain cards of work. type: object @@ -48125,7 +48412,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &312 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48160,7 +48447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *309 + - *310 requestBody: required: true content: @@ -48185,9 +48472,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 '304': *35 '403': *27 '401': *23 @@ -48212,7 +48499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *309 + - *310 responses: '204': description: Response @@ -48241,7 +48528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *309 + - *310 requestBody: required: true content: @@ -48302,15 +48589,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *306 + - *307 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &312 + default: &313 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48367,7 +48654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *306 + - *307 requestBody: required: false content: @@ -48416,9 +48703,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *312 + default: *313 '404': description: Not Found if the authenticated user does not have access to the project @@ -48439,7 +48726,7 @@ paths: items: type: string '401': *23 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -48462,7 +48749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *306 + - *307 responses: '204': description: Delete Success @@ -48483,7 +48770,7 @@ paths: items: type: string '401': *23 - '410': *313 + '410': *314 '404': *6 x-github: githubCloudOnly: false @@ -48507,7 +48794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *306 + - *307 - 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 @@ -48564,7 +48851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *306 + - *307 - *57 requestBody: required: false @@ -48619,7 +48906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *306 + - *307 - *57 responses: '204': @@ -48651,7 +48938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *306 + - *307 - *57 responses: '200': @@ -48749,7 +49036,7 @@ paths: resources: type: object properties: - core: &314 + core: &315 title: Rate Limit type: object properties: @@ -48766,21 +49053,21 @@ paths: - remaining - reset - used - graphql: *314 - search: *314 - code_search: *314 - source_import: *314 - integration_manifest: *314 - code_scanning_upload: *314 - actions_runner_registration: *314 - scim: *314 - dependency_snapshots: *314 - dependency_sbom: *314 - code_scanning_autofix: *314 + graphql: *315 + search: *315 + code_search: *315 + source_import: *315 + integration_manifest: *315 + code_scanning_upload: *315 + actions_runner_registration: *315 + scim: *315 + dependency_snapshots: *315 + dependency_sbom: *315 + code_scanning_autofix: *315 required: - core - search - rate: *314 + rate: *315 required: - rate - resources @@ -48885,14 +49172,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *315 + schema: *316 examples: default-response: summary: Default response @@ -49393,7 +49680,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *316 + '301': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49411,8 +49698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -49660,10 +49947,10 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 - '307': &318 + default: *318 + '307': &319 description: Temporary Redirect content: application/json: @@ -49692,8 +49979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -49715,7 +50002,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *318 + '307': *319 '404': *6 '409': *45 x-github: @@ -49739,11 +50026,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 - - &349 + - &350 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49766,7 +50053,7 @@ paths: type: integer artifacts: type: array - items: &319 + items: &320 title: Artifact description: An artifact type: object @@ -49861,7 +50148,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &351 value: total_count: 2 artifacts: @@ -49922,9 +50209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *307 - *308 - - &320 + - *309 + - &321 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49936,7 +50223,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -49974,9 +50261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *307 - *308 - - *320 + - *309 + - *321 responses: '204': description: Response @@ -50000,9 +50287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *307 - *308 - - *320 + - *309 + - *321 - name: archive_format in: path required: true @@ -50016,7 +50303,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': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50039,14 +50326,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default: value: @@ -50072,11 +50359,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 - - &322 + - &323 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 @@ -50110,7 +50397,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Repository actions caches description: Repository actions caches type: object @@ -50160,7 +50447,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &325 value: total_count: 1 actions_caches: @@ -50192,23 +50479,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: - - *307 - *308 + - *309 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *323 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50228,8 +50515,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: - - *307 - *308 + - *309 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50260,9 +50547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *307 - *308 - - &325 + - *309 + - &326 name: job_id description: The unique identifier of the job. in: path @@ -50274,7 +50561,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &354 title: Job description: Information of a job execution in a workflow run type: object @@ -50621,9 +50908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *307 - *308 - - *325 + - *309 + - *326 responses: '302': description: Response @@ -50651,9 +50938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *307 - *308 - - *325 + - *309 + - *326 requestBody: required: false content: @@ -50675,7 +50962,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50699,8 +50986,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: - - *307 - *308 + - *309 responses: '200': description: Status response @@ -50750,8 +51037,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -50785,7 +51072,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50814,8 +51101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -50833,7 +51120,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &356 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50854,7 +51141,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &357 value: total_count: 2 secrets: @@ -50887,9 +51174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *307 - *308 - - *326 + - *309 + - *327 - *19 responses: '200': @@ -50906,7 +51193,7 @@ paths: type: integer variables: type: array - items: &359 + items: &360 title: Actions Variable type: object properties: @@ -50940,7 +51227,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &361 value: total_count: 2 variables: @@ -50973,8 +51260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -50983,12 +51270,12 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &329 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *118 - selected_actions_url: *327 - sha_pinning_required: *119 + allowed_actions: *120 + selected_actions_url: *328 + sha_pinning_required: *121 required: - enabled examples: @@ -51016,8 +51303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51028,9 +51315,9 @@ paths: schema: type: object properties: - enabled: *328 - allowed_actions: *118 - sha_pinning_required: *119 + enabled: *329 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -51060,14 +51347,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: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: access_level: @@ -51084,7 +51371,7 @@ paths: required: - access_level examples: - default: &330 + default: &331 value: access_level: organization x-github: @@ -51108,15 +51395,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: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 responses: '204': description: Response @@ -51140,14 +51427,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -51171,8 +51458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Empty response for successful settings update @@ -51182,7 +51469,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *333 examples: default: summary: Set retention days @@ -51206,16 +51493,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *120 + schema: *122 examples: - default: *333 + default: *334 '404': *6 x-github: enabledForGitHubApps: true @@ -51234,8 +51521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51245,7 +51532,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -51269,16 +51556,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: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: *121 + default: *123 '403': *27 '404': *6 x-github: @@ -51298,15 +51585,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: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *335 + schema: *336 examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -51330,16 +51617,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *124 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51358,8 +51645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -51367,9 +51654,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -51391,16 +51678,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *336 + schema: *337 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51421,8 +51708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Success response @@ -51433,9 +51720,9 @@ paths: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51462,8 +51749,8 @@ paths: in: query schema: type: string - - *307 - *308 + - *309 - *17 - *19 responses: @@ -51481,9 +51768,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *52 x-github: @@ -51507,8 +51794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -51516,9 +51803,9 @@ paths: application/json: schema: type: array - items: *338 + items: *339 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51540,8 +51827,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -51584,7 +51871,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *341 '404': *6 '422': *7 '409': *45 @@ -51615,16 +51902,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *307 - *308 + - *309 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51652,16 +51939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *307 - *308 + - *309 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *342 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51683,17 +51970,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *343 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51714,9 +52001,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: '204': description: Response @@ -51742,11 +52029,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: - '200': *139 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -51768,9 +52055,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: - - *307 - *308 - - *134 + - *309 + - *136 requestBody: required: true content: @@ -51794,7 +52081,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51818,9 +52105,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: - - *307 - *308 - - *134 + - *309 + - *136 requestBody: required: true content: @@ -51845,7 +52132,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51869,11 +52156,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: - - *307 - *308 - - *134 + - *309 + - *136 responses: - '200': *344 + '200': *345 '404': *6 x-github: githubCloudOnly: false @@ -51900,12 +52187,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: - - *307 - *308 - - *134 - - *345 + - *309 + - *136 + - *346 responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -51931,9 +52218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *307 - *308 - - &363 + - *309 + - &364 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. @@ -51941,7 +52228,7 @@ paths: required: false schema: type: string - - &364 + - &365 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51949,7 +52236,7 @@ paths: required: false schema: type: string - - &365 + - &366 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51958,7 +52245,7 @@ paths: required: false schema: type: string - - &366 + - &367 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 @@ -51985,7 +52272,7 @@ paths: - pending - *17 - *19 - - &367 + - &368 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)." @@ -51994,7 +52281,7 @@ paths: schema: type: string format: date-time - - &346 + - &347 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52003,13 +52290,13 @@ paths: schema: type: boolean default: false - - &368 + - &369 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &370 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52032,7 +52319,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &348 title: Workflow Run description: An invocation of a workflow type: object @@ -52149,7 +52436,7 @@ paths: type: - array - 'null' - items: &388 + items: &389 title: Pull Request Minimal type: object properties: @@ -52276,7 +52563,7 @@ paths: head_commit: anyOf: - type: 'null' - - &392 + - &393 title: Simple Commit description: A commit. type: object @@ -52350,8 +52637,8 @@ paths: - timestamp - author - committer - repository: *133 - head_repository: *133 + repository: *135 + head_repository: *135 head_repository_id: type: integer examples: @@ -52391,7 +52678,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &371 value: total_count: 1 workflow_runs: @@ -52627,24 +52914,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *307 - *308 - - &348 + - *309 + - &349 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: &351 + default: &352 value: id: 30433642 name: Build @@ -52885,9 +53172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '204': description: Response @@ -52910,9 +53197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -53040,15 +53327,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: - - *307 - *308 - - *348 + - *309 + - *349 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53075,12 +53362,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *307 - *308 - - *348 + - *309 + - *349 - *17 - *19 - - *349 + - *350 responses: '200': description: Response @@ -53096,9 +53383,9 @@ paths: type: integer artifacts: type: array - items: *319 + items: *320 examples: - default: *350 + default: *351 headers: Link: *52 x-github: @@ -53122,25 +53409,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *307 - *308 - - *348 - - &352 + - *309 + - *349 + - &353 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *347 responses: '200': description: Response content: application/json: - schema: *347 + schema: *348 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53163,10 +53450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *307 - *308 - - *348 - - *352 + - *309 + - *349 + - *353 - *17 - *19 responses: @@ -53184,9 +53471,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *354 examples: - default: &354 + default: &355 value: total_count: 1 jobs: @@ -53299,10 +53586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *307 - *308 - - *348 - - *352 + - *309 + - *349 + - *353 responses: '302': description: Response @@ -53330,15 +53617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53365,9 +53652,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: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: true content: @@ -53434,15 +53721,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -53469,9 +53756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 - 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 @@ -53501,9 +53788,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *52 x-github: @@ -53528,9 +53815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '302': description: Response @@ -53557,9 +53844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '204': description: Response @@ -53586,9 +53873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -53657,7 +53944,7 @@ paths: items: type: object properties: - type: &466 + type: &467 type: string description: The type of reviewer. enum: @@ -53668,7 +53955,7 @@ paths: reviewer: anyOf: - *4 - - *167 + - *169 required: - environment - wait_timer @@ -53743,9 +54030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: true content: @@ -53795,7 +54082,7 @@ paths: application/json: schema: type: array - items: &461 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53907,7 +54194,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53963,9 +54250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: false content: @@ -53987,7 +54274,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54010,9 +54297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *307 - *308 - - *348 + - *309 + - *349 requestBody: required: false content: @@ -54034,7 +54321,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54066,9 +54353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *307 - *308 - - *348 + - *309 + - *349 responses: '200': description: Response @@ -54205,8 +54492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -54224,9 +54511,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *356 examples: - default: *356 + default: *357 headers: Link: *52 x-github: @@ -54251,16 +54538,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54282,17 +54569,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: &479 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54318,9 +54605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -54351,7 +54638,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54377,9 +54664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -54404,9 +54691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *307 - *308 - - *326 + - *309 + - *327 - *19 responses: '200': @@ -54423,9 +54710,9 @@ paths: type: integer variables: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *52 x-github: @@ -54448,8 +54735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -54476,7 +54763,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -54501,17 +54788,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: &480 + default: &481 value: name: USERNAME value: octocat @@ -54537,9 +54824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 requestBody: required: true content: @@ -54581,9 +54868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *307 - *308 - - *144 + - *309 + - *146 responses: '204': description: Response @@ -54608,8 +54895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -54627,7 +54914,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &362 title: Workflow description: A GitHub Actions workflow type: object @@ -54745,9 +55032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *307 - *308 - - &362 + - *309 + - &363 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54762,7 +55049,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: default: value: @@ -54795,9 +55082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54822,9 +55109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54875,9 +55162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '204': description: Response @@ -54904,19 +55191,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *307 - *308 - - *362 + - *309 - *363 - *364 - *365 - *366 + - *367 - *17 - *19 - - *367 - - *346 - *368 + - *347 - *369 + - *370 responses: '200': description: Response @@ -54932,9 +55219,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *348 examples: - default: *370 + default: *371 headers: Link: *52 x-github: @@ -54966,9 +55253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *307 - *308 - - *362 + - *309 + - *363 responses: '200': description: Response @@ -55029,8 +55316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *307 - *308 + - *309 - *46 - *17 - *38 @@ -55198,8 +55485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -55236,8 +55523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *307 - *308 + - *309 - name: assignee in: path required: true @@ -55273,8 +55560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -55386,8 +55673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *307 - *308 + - *309 - *17 - *38 - *39 @@ -55444,7 +55731,7 @@ paths: initiator: type: string examples: - default: *371 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55464,8 +55751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -55473,7 +55760,7 @@ paths: application/json: schema: type: array - items: &372 + items: &373 title: Autolink reference description: An autolink reference. type: object @@ -55532,8 +55819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -55572,9 +55859,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: id: 1 key_prefix: TICKET- @@ -55605,9 +55892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *307 - *308 - - &374 + - *309 + - &375 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55619,9 +55906,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 '404': *6 x-github: githubCloudOnly: false @@ -55641,9 +55928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *307 - *308 - - *374 + - *309 + - *375 responses: '204': description: Response @@ -55667,8 +55954,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: - - *307 - *308 + - *309 responses: '200': description: Response if Dependabot is enabled @@ -55718,8 +56005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -55740,8 +56027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -55761,8 +56048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *307 - *308 + - *309 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55800,7 +56087,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &377 title: Branch Protection description: Branch Protection type: object @@ -55843,7 +56130,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &380 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -55860,7 +56147,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &382 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55882,7 +56169,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *167 + items: *169 apps: description: The list of apps with review dismissal access. @@ -55914,7 +56201,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *167 + items: *169 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55944,7 +56231,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &379 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56007,7 +56294,7 @@ paths: type: string teams: type: array - items: *167 + items: *169 apps: type: array items: @@ -56237,9 +56524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *307 - *308 - - &377 + - *309 + - &378 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). @@ -56253,14 +56540,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &388 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &437 + commit: &438 title: Commit description: Commit type: object @@ -56299,7 +56586,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &376 title: Git User description: Metaproperties for Git author/committer information. @@ -56320,7 +56607,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 message: type: string examples: @@ -56344,7 +56631,7 @@ paths: required: - sha - url - verification: &486 + verification: &487 title: Verification type: object properties: @@ -56380,14 +56667,14 @@ paths: author: oneOf: - *4 - - *142 + - *144 type: - 'null' - object committer: oneOf: - *4 - - *142 + - *144 type: - 'null' - object @@ -56424,7 +56711,7 @@ paths: type: integer files: type: array - items: &448 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -56520,7 +56807,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *377 protection_url: type: string format: uri @@ -56629,7 +56916,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *316 + '301': *317 '404': *6 x-github: githubCloudOnly: false @@ -56651,15 +56938,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -56853,9 +57140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -57115,7 +57402,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &385 title: Status Check Policy description: Status Check Policy type: object @@ -57196,7 +57483,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 apps: type: array items: *5 @@ -57214,7 +57501,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 apps: type: array items: *5 @@ -57274,7 +57561,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *379 required_conversation_resolution: type: object properties: @@ -57386,9 +57673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57413,17 +57700,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &380 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57445,17 +57732,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57474,9 +57761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57501,17 +57788,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &382 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57607,9 +57894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -57707,9 +57994,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *382 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -57730,9 +58017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57759,17 +58046,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &383 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57792,17 +58079,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *383 + default: *384 '404': *6 x-github: githubCloudOnly: false @@ -57822,9 +58109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57849,17 +58136,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: &385 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -57885,9 +58172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -57939,9 +58226,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: - default: *385 + default: *386 '404': *6 '422': *15 x-github: @@ -57963,9 +58250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -57989,9 +58276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58025,9 +58312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58094,9 +58381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58160,9 +58447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: content: application/json: @@ -58228,15 +58515,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response content: application/json: - schema: *378 + schema: *379 examples: default: value: @@ -58327,9 +58614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '204': description: Response @@ -58352,9 +58639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58364,7 +58651,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &387 value: - id: 1 slug: octoapp @@ -58421,9 +58708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58457,7 +58744,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58478,9 +58765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58514,7 +58801,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58535,9 +58822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58571,7 +58858,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *387 '422': *15 x-github: githubCloudOnly: false @@ -58593,9 +58880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58603,9 +58890,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '404': *6 x-github: githubCloudOnly: false @@ -58625,9 +58912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58663,9 +58950,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58686,9 +58973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: false content: @@ -58724,9 +59011,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58747,9 +59034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: content: application/json: @@ -58784,9 +59071,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -58808,9 +59095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 responses: '200': description: Response @@ -58844,9 +59131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58904,9 +59191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -58964,9 +59251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -59026,9 +59313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 requestBody: required: true content: @@ -59050,7 +59337,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -59166,8 +59453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -59446,7 +59733,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59581,8 +59868,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &691 + items: *389 + deployment: &694 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59869,9 +60156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *307 - *308 - - &390 + - *309 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -59883,9 +60170,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: &391 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59985,9 +60272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *307 - *308 - - *390 + - *309 + - *391 requestBody: required: true content: @@ -60227,9 +60514,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *390 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60249,9 +60536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *307 - *308 - - *390 + - *309 + - *391 - *17 - *19 responses: @@ -60361,15 +60648,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *307 - *308 - - *390 + - *309 + - *391 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -60407,8 +60694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -60430,7 +60717,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &393 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60512,12 +60799,12 @@ paths: type: - array - 'null' - items: *388 + items: *389 app: anyOf: - type: 'null' - *5 - repository: *133 + repository: *135 created_at: type: - string @@ -60528,7 +60815,7 @@ paths: - string - 'null' format: date-time - head_commit: *392 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -60556,7 +60843,7 @@ paths: - check_runs_url - pull_requests examples: - default: &394 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -60847,9 +61134,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60868,8 +61155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -60930,7 +61217,7 @@ paths: required: - app_id - setting - repository: *133 + repository: *135 examples: default: value: @@ -61178,9 +61465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *307 - *308 - - &395 + - *309 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61192,9 +61479,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61217,17 +61504,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *307 - *308 - - *395 - - &443 + - *309 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &444 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61266,9 +61553,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *390 examples: - default: &445 + default: &446 value: total_count: 1 check_runs: @@ -61370,15 +61657,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *307 - *308 - - *395 + - *309 + - *396 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -61405,21 +61692,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *307 - *308 - - *396 + - *309 - *397 + - *398 - *19 - *17 - - &414 + - &415 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: *398 - - &415 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61444,13 +61731,13 @@ paths: be returned. in: query required: false - schema: *399 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *400 + schema: *401 responses: '200': description: Response @@ -61461,24 +61748,24 @@ paths: items: type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: *401 - state: *158 - fixed_at: *154 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: *402 - dismissed_comment: *403 - rule: *404 - tool: *405 - most_recent_instance: *406 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -61601,7 +61888,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &407 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61628,9 +61915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *307 - *308 - - &408 + - *309 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61638,30 +61925,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *149 + schema: *151 responses: '200': description: Response content: application/json: - schema: &409 + schema: &410 type: object properties: - number: *149 - created_at: *150 - updated_at: *151 - url: *152 - html_url: *153 - instances_url: *401 - state: *158 - fixed_at: *154 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *155 - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -61723,8 +62010,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *405 - most_recent_instance: *406 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -61820,7 +62107,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -61840,9 +62127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: true content: @@ -61857,8 +62144,8 @@ paths: enum: - open - dismissed - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -61877,7 +62164,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -61953,7 +62240,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &413 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -61980,15 +62267,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: - - *307 - *308 - - *408 + - *309 + - *409 responses: '200': description: Response content: application/json: - schema: &410 + schema: &411 type: object properties: status: @@ -62015,13 +62302,13 @@ paths: - description - started_at examples: - default: &411 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &412 + '400': &413 description: Bad Request content: application/json: @@ -62032,7 +62319,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': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62057,29 +62344,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: - - *307 - *308 - - *408 + - *309 + - *409 responses: '200': description: OK content: application/json: - schema: *410 + schema: *411 examples: - default: *411 + default: *412 '202': description: Accepted content: application/json: - schema: *410 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *412 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62111,9 +62398,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: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: false content: @@ -62159,8 +62446,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *412 - '403': *413 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity @@ -62184,13 +62471,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 - *19 - *17 - - *414 - *415 + - *416 responses: '200': description: Response @@ -62198,7 +62485,7 @@ paths: application/json: schema: type: array - items: *406 + items: *407 examples: default: value: @@ -62237,7 +62524,7 @@ paths: end_column: 50 classifications: - source - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62271,25 +62558,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *307 - *308 - - *396 + - *309 - *397 + - *398 - *19 - *17 - - *415 + - *416 - 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: *398 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62311,23 +62598,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *398 - commit_sha: &427 + ref: *399 + commit_sha: &428 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: *416 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *418 error: type: string examples: @@ -62352,8 +62639,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *405 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -62415,7 +62702,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62451,8 +62738,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: - - *307 - *308 + - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62465,7 +62752,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -62519,7 +62806,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *407 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed @@ -62606,8 +62893,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: - - *307 - *308 + - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62663,7 +62950,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': *413 + '403': *414 '404': *6 '503': *97 x-github: @@ -62685,8 +62972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -62694,7 +62981,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -62806,7 +63093,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': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62835,8 +63122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *307 - *308 + - *309 - name: language in: path description: The language of the CodeQL database. @@ -62848,7 +63135,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -62880,9 +63167,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': &450 + '302': &451 description: Found - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -62904,8 +63191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *307 - *308 + - *309 - name: language in: path description: The language of the CodeQL database. @@ -62915,7 +63202,7 @@ paths: responses: '204': description: Response - '403': *413 + '403': *414 '404': *6 '503': *97 x-github: @@ -62943,8 +63230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -62953,7 +63240,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63032,7 +63319,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63042,7 +63329,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *421 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63090,7 +63377,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63132,7 +63419,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63164,7 +63451,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63179,7 +63466,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: *422 + items: *423 required: - repository_count - repositories @@ -63202,8 +63489,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63219,7 +63506,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &425 summary: Default response value: id: 1 @@ -63371,10 +63658,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission @@ -63402,8 +63689,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: - - *307 - *308 + - *309 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63415,9 +63702,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *97 x-github: @@ -63440,7 +63727,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: - - *307 + - *308 - name: repo in: path description: The name of the controller repository. @@ -63475,7 +63762,7 @@ paths: type: object properties: repository: *51 - analysis_status: *426 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63600,8 +63887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -63694,7 +63981,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *407 + '403': *408 '404': *6 '503': *97 x-github: @@ -63715,8 +64002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -63785,7 +64072,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -63810,7 +64097,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *413 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -63881,8 +64168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -63890,7 +64177,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -63950,7 +64237,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -63964,7 +64251,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': *413 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -63987,8 +64274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *307 - *308 + - *309 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64036,7 +64323,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': *407 + '403': *408 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64061,8 +64348,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: - - *307 - *308 + - *309 responses: '200': description: Response @@ -64118,7 +64405,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': *163 + '204': *165 '304': *35 '403': *27 '404': *6 @@ -64143,8 +64430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *307 - *308 + - *309 - 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 @@ -64272,8 +64559,8 @@ paths: parameters: - *17 - *19 - - *307 - *308 + - *309 responses: '200': description: Response @@ -64289,7 +64576,7 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: default: value: @@ -64587,8 +64874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -64652,17 +64939,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -64691,8 +64978,8 @@ paths: parameters: - *17 - *19 - - *307 - *308 + - *309 responses: '200': description: Response @@ -64756,8 +65043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *307 - *308 + - *309 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -64794,9 +65081,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &642 + default: &643 value: total_count: 2 machines: @@ -64836,8 +65123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *307 - *308 + - *309 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -64924,8 +65211,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: - - *307 - *308 + - *309 - 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 @@ -64994,8 +65281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -65013,7 +65300,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65034,7 +65321,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *52 x-github: @@ -65057,16 +65344,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65086,17 +65373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65116,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -65146,7 +65433,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -65170,9 +65457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -65200,8 +65487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *307 - *308 + - *309 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65239,7 +65526,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -65432,8 +65719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 responses: '204': @@ -65480,8 +65767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 requestBody: required: false @@ -65508,7 +65795,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -65520,7 +65807,7 @@ paths: format: int64 examples: - 42 - repository: *133 + repository: *135 invitee: anyOf: - type: 'null' @@ -65696,7 +65983,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *102 + schema: *104 '403': *27 x-github: triggersNotification: true @@ -65736,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *307 - *308 + - *309 - *57 responses: '204': @@ -65769,8 +66056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *307 - *308 + - *309 - *57 responses: '200': @@ -65791,7 +66078,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -65845,8 +66132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -65856,7 +66143,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -65914,7 +66201,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65973,17 +66260,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &440 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66040,8 +66327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -66064,7 +66351,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66115,8 +66402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -66138,8 +66425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66166,9 +66453,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -66189,8 +66476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -66223,16 +66510,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -66254,10 +66541,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -66306,8 +66593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *307 - *308 + - *309 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66363,9 +66650,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66459,9 +66746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *307 - *308 - - &438 + - *309 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -66533,9 +66820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *307 - *308 - - *438 + - *309 + - *439 - *17 - *19 responses: @@ -66545,9 +66832,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *439 + default: *440 headers: Link: *52 x-github: @@ -66575,9 +66862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *307 - *308 - - *438 + - *309 + - *439 requestBody: required: true content: @@ -66612,9 +66899,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *440 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66642,9 +66929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *307 - *308 - - *438 + - *309 + - *439 - *17 - *19 responses: @@ -66654,9 +66941,9 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: &540 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67193,11 +67480,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *307 - *308 + - *309 - *19 - *17 - - &442 + - &443 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)" @@ -67212,9 +67499,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: &526 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67327,11 +67614,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *307 - *308 - - *442 + - *309 - *443 - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67365,9 +67652,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *390 examples: - default: *445 + default: *446 headers: Link: *52 x-github: @@ -67392,9 +67679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67402,7 +67689,7 @@ paths: schema: type: integer example: 1 - - *443 + - *444 - *17 - *19 responses: @@ -67420,7 +67707,7 @@ paths: type: integer check_suites: type: array - items: *393 + items: *394 examples: default: value: @@ -67620,9 +67907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - *17 - *19 responses: @@ -67693,7 +67980,7 @@ paths: type: string total_count: type: integer - repository: *133 + repository: *135 commit_url: type: string format: uri @@ -67824,9 +68111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *307 - *308 - - *442 + - *309 + - *443 - *17 - *19 responses: @@ -67836,7 +68123,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Status description: The status of a commit. type: object @@ -67917,7 +68204,7 @@ paths: site_admin: false headers: Link: *52 - '301': *316 + '301': *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67945,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -67979,11 +68266,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *446 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &447 + - &448 title: Community Health File type: object properties: @@ -68003,19 +68290,19 @@ paths: contributing: anyOf: - type: 'null' - - *447 + - *448 readme: anyOf: - type: 'null' - - *447 + - *448 issue_template: anyOf: - type: 'null' - - *447 + - *448 pull_request_template: anyOf: - type: 'null' - - *447 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68144,8 +68431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *307 - *308 + - *309 - *19 - *17 - name: basehead @@ -68193,8 +68480,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *437 - merge_base_commit: *437 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68218,10 +68505,10 @@ paths: - 6 commits: type: array - items: *437 + items: *438 files: type: array - items: *448 + items: *449 required: - url - html_url @@ -68507,8 +68794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -68661,7 +68948,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &449 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -68798,7 +69085,7 @@ paths: - size - type - url - - &553 + - &554 title: Content File description: Content File type: object @@ -69016,7 +69303,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *449 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69085,7 +69372,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *450 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69108,8 +69395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -69204,7 +69491,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: File Commit description: File Commit type: object @@ -69360,7 +69647,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: example-for-creating-a-file: value: @@ -69414,7 +69701,7 @@ paths: schema: oneOf: - *3 - - &481 + - &482 description: Repository rule violation was detected type: object properties: @@ -69435,7 +69722,7 @@ paths: items: type: object properties: - placeholder_id: &605 + placeholder_id: &606 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69467,8 +69754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *307 - *308 + - *309 - name: path description: path parameter in: path @@ -69529,7 +69816,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -69584,8 +69871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *307 - *308 + - *309 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69709,22 +69996,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *307 - *308 - - *168 - - *169 + - *309 - *170 - *171 + - *172 + - *173 - 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 - - *172 - - *452 - - *173 - *174 + - *453 + - *175 + - *176 - *46 - name: per_page description: The number of results per page (max 100). For more information, @@ -69743,11 +70030,11 @@ paths: application/json: schema: type: array - items: &455 + items: &456 type: object description: A Dependabot alert. properties: - number: *149 + number: *151 state: type: string description: The state of the Dependabot alert. @@ -69793,13 +70080,13 @@ paths: - direct - transitive - - security_advisory: *453 + security_advisory: *454 security_vulnerability: *50 - url: *152 - html_url: *153 - created_at: *150 - updated_at: *151 - dismissed_at: *155 + url: *154 + html_url: *155 + created_at: *152 + updated_at: *153 + dismissed_at: *157 dismissed_by: anyOf: - type: 'null' @@ -69823,8 +70110,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *454 + fixed_at: *156 + auto_dismissed_at: *455 required: - number - state @@ -70054,9 +70341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *307 - *308 - - &456 + - *309 + - &457 name: alert_number in: path description: |- @@ -70065,13 +70352,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *149 + schema: *151 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70184,9 +70471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *307 - *308 - - *456 + - *309 + - *457 requestBody: required: true content: @@ -70231,7 +70518,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -70360,8 +70647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -70379,7 +70666,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70433,16 +70720,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *458 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70462,15 +70749,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '200': description: Response content: application/json: - schema: *459 + schema: *460 examples: default: value: @@ -70496,9 +70783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 requestBody: required: true content: @@ -70526,7 +70813,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70550,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *307 - *308 - - *141 + - *309 + - *143 responses: '204': description: Response @@ -70574,8 +70861,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: - - *307 - *308 + - *309 - 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 @@ -70749,8 +71036,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: - - *307 - *308 + - *309 responses: '200': description: Response @@ -71010,8 +71297,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -71094,7 +71381,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71133,7 +71420,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71147,7 +71434,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *460 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71280,8 +71567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *307 - *308 + - *309 - name: sha description: The SHA recorded at creation time. in: query @@ -71322,9 +71609,9 @@ paths: application/json: schema: type: array - items: *461 + items: *462 examples: - default: *462 + default: *463 headers: Link: *52 x-github: @@ -71390,8 +71677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -71473,7 +71760,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: simple-example: summary: Simple example @@ -71546,9 +71833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *307 - *308 - - &463 + - *309 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -71560,7 +71847,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -71625,9 +71912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *307 - *308 - - *463 + - *309 + - *464 responses: '204': description: Response @@ -71649,9 +71936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *307 - *308 - - *463 + - *309 + - *464 - *17 - *19 responses: @@ -71661,7 +71948,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -71825,9 +72112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *307 - *308 - - *463 + - *309 + - *464 requestBody: required: true content: @@ -71902,9 +72189,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: &465 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -71960,9 +72247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *307 - *308 - - *463 + - *309 + - *464 - name: status_id in: path required: true @@ -71973,9 +72260,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72000,8 +72287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -72058,8 +72345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -72077,7 +72364,7 @@ paths: - 5 environments: type: array - items: &467 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72139,7 +72426,7 @@ paths: type: string examples: - wait_timer - wait_timer: &469 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72181,11 +72468,11 @@ paths: items: type: object properties: - type: *466 + type: *467 reviewer: anyOf: - *4 - - *167 + - *169 required: - id - node_id @@ -72208,7 +72495,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &471 type: - object - 'null' @@ -72325,9 +72612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *307 - *308 - - &468 + - *309 + - &469 name: environment_name in: path required: true @@ -72340,9 +72627,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: &471 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72426,9 +72713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: false content: @@ -72438,7 +72725,7 @@ paths: - object - 'null' properties: - wait_timer: *469 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72457,14 +72744,14 @@ paths: items: type: object properties: - type: *466 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -72484,9 +72771,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *471 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72510,9 +72797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *307 - *308 - - *468 + - *309 + - *469 responses: '204': description: Default response @@ -72537,9 +72824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *307 - *308 - - *468 + - *309 + - *469 - *17 - *19 responses: @@ -72558,7 +72845,7 @@ paths: - 2 branch_policies: type: array - items: &472 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72619,9 +72906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: true content: @@ -72669,9 +72956,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - example-wildcard: &473 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -72713,10 +73000,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - &474 + - *309 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -72728,9 +73015,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72749,10 +73036,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - *474 + - *309 + - *469 + - *475 requestBody: required: true content: @@ -72781,9 +73068,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72802,10 +73089,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *307 - *308 - - *468 - - *474 + - *309 + - *469 + - *475 responses: '204': description: Response @@ -72830,9 +73117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *468 + - *469 + - *309 - *308 - - *307 responses: '200': description: List of deployment protection rules @@ -72849,7 +73136,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &475 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -72871,7 +73158,7 @@ paths: for the environment. examples: - true - app: &476 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -72974,9 +73261,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: - - *468 + - *469 + - *309 - *308 - - *307 requestBody: content: application/json: @@ -72997,9 +73284,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *476 examples: - default: &477 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73034,9 +73321,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: - - *468 + - *469 + - *309 - *308 - - *307 - *19 - *17 responses: @@ -73056,7 +73343,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *477 examples: default: value: @@ -73091,10 +73378,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *307 - *308 - - *468 - - &478 + - *309 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73106,9 +73393,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *477 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,10 +73416,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *468 + - *469 + - *309 - *308 - - *307 - - *478 + - *479 responses: '204': description: Response @@ -73158,9 +73445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *307 - *308 - - *468 + - *309 + - *469 - *17 - *19 responses: @@ -73178,9 +73465,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *356 examples: - default: *356 + default: *357 headers: Link: *52 x-github: @@ -73205,17 +73492,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *307 - *308 - - *468 + - *309 + - *469 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73237,18 +73524,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73270,10 +73557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 requestBody: required: true content: @@ -73304,7 +73591,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -73330,10 +73617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *307 - *308 - - *468 - - *141 + - *309 + - *469 + - *143 responses: '204': description: Default response @@ -73358,10 +73645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *307 - *308 - - *468 - - *326 + - *309 + - *469 + - *327 - *19 responses: '200': @@ -73378,9 +73665,9 @@ paths: type: integer variables: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *52 x-github: @@ -73403,9 +73690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *307 - *308 - - *468 + - *309 + - *469 requestBody: required: true content: @@ -73432,7 +73719,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -73457,18 +73744,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *307 - *308 - - *468 - - *144 + - *309 + - *469 + - *146 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73489,10 +73776,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *307 - *308 - - *144 - - *468 + - *309 + - *146 + - *469 requestBody: required: true content: @@ -73534,10 +73821,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *307 - *308 - - *144 - - *468 + - *309 + - *146 + - *469 responses: '204': description: Response @@ -73559,8 +73846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -73628,8 +73915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *307 - *308 + - *309 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -73651,7 +73938,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -73788,8 +74075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -73822,9 +74109,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 '400': *14 '422': *15 '403': *27 @@ -73845,8 +74132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -73905,8 +74192,8 @@ paths: application/json: schema: oneOf: - - *102 - - *481 + - *104 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73931,8 +74218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *307 - *308 + - *309 - name: file_sha in: path required: true @@ -74032,8 +74319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74142,7 +74429,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74369,15 +74656,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *307 - *308 - - *438 + - *309 + - *439 responses: '200': description: Response content: application/json: - schema: *482 + schema: *483 examples: default: value: @@ -74433,9 +74720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *307 - *308 - - &483 + - *309 + - &484 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. @@ -74452,7 +74739,7 @@ paths: application/json: schema: type: array - items: &484 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -74528,17 +74815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 responses: '200': description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &485 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74567,8 +74854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74597,9 +74884,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74625,9 +74912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 requestBody: required: true content: @@ -74656,9 +74943,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *15 '409': *45 x-github: @@ -74676,9 +74963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *307 - *308 - - *483 + - *309 + - *484 responses: '204': description: Response @@ -74733,8 +75020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -74801,7 +75088,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -74857,7 +75144,7 @@ paths: - sha - type - url - verification: *486 + verification: *487 required: - sha - url @@ -74867,7 +75154,7 @@ paths: - tag - message examples: - default: &488 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -74940,8 +75227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *307 - *308 + - *309 - name: tag_sha in: path required: true @@ -74952,9 +75239,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '404': *6 '409': *45 x-github: @@ -74978,8 +75265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -75053,7 +75340,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75155,8 +75442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *307 - *308 + - *309 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75179,7 +75466,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default-response: summary: Default response @@ -75238,8 +75525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -75249,7 +75536,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75312,7 +75599,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &722 + last_response: &725 title: Hook Response type: object properties: @@ -75389,8 +75676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -75443,9 +75730,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: &491 + default: &492 value: type: Repository id: 12345678 @@ -75493,17 +75780,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -75523,9 +75810,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 requestBody: required: true content: @@ -75570,9 +75857,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '422': *15 '404': *6 x-github: @@ -75593,9 +75880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75619,9 +75906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '200': description: Response @@ -75648,9 +75935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *307 - *308 - - *180 + - *309 + - *182 requestBody: required: false content: @@ -75694,11 +75981,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *17 - - *181 + - *183 responses: '200': description: Response @@ -75706,9 +75993,9 @@ paths: application/json: schema: type: array - items: *182 + items: *184 examples: - default: *183 + default: *185 '400': *14 '422': *15 x-github: @@ -75727,18 +76014,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *185 + default: *187 '400': *14 '422': *15 x-github: @@ -75757,9 +76044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 - *16 responses: '202': *37 @@ -75782,9 +76069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75809,9 +76096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *307 - *308 - - *180 + - *309 + - *182 responses: '204': description: Response @@ -75834,8 +76121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response if immutable releases are enabled @@ -75883,10 +76170,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -75904,10 +76191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -75962,14 +76249,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &492 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76076,7 +76363,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &496 value: vcs: subversion use_lfs: true @@ -76092,7 +76379,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': &493 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76121,8 +76408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -76170,7 +76457,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -76195,7 +76482,7 @@ paths: type: string '422': *15 '404': *6 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76223,8 +76510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -76276,7 +76563,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-1: summary: Example 1 @@ -76324,7 +76611,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': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76347,12 +76634,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *307 - *308 + - *309 responses: '204': description: Response - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76378,9 +76665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *307 - *308 - - &663 + - *309 + - &664 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76394,7 +76681,7 @@ paths: application/json: schema: type: array - items: &494 + items: &495 title: Porter Author description: Porter Author type: object @@ -76448,7 +76735,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': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76473,8 +76760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *307 - *308 + - *309 - name: author_id in: path required: true @@ -76504,7 +76791,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: default: value: @@ -76517,7 +76804,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76541,8 +76828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76583,7 +76870,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76611,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -76639,11 +76926,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *495 + default: *496 '422': *15 - '503': *493 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76666,8 +76953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76675,8 +76962,8 @@ paths: application/json: schema: *20 examples: - default: *496 - '301': *316 + default: *497 + '301': *317 '404': *6 x-github: githubCloudOnly: false @@ -76696,8 +76983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -76705,12 +76992,12 @@ paths: application/json: schema: anyOf: - - *198 + - *200 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &499 value: limit: collaborators_only origin: repository @@ -76735,13 +77022,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: application/json: - schema: *497 + schema: *498 examples: default: summary: Example request body @@ -76753,9 +77040,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *498 + default: *499 '409': description: Response x-github: @@ -76777,8 +77064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -76801,8 +77088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -76812,9 +77099,9 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: &656 + default: &657 value: - id: 1 repository: @@ -76945,9 +77232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *307 - *308 - - *202 + - *309 + - *204 requestBody: required: false content: @@ -76976,7 +77263,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77107,9 +77394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *307 - *308 - - *202 + - *309 + - *204 responses: '204': description: Response @@ -77140,8 +77427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *307 - *308 + - *309 - 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 @@ -77189,7 +77476,7 @@ paths: required: false schema: type: string - - *206 + - *208 - name: sort description: What to sort results by. in: query @@ -77214,7 +77501,7 @@ paths: type: array items: *78 examples: - default: &506 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77362,7 +77649,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *316 + '301': *317 '422': *15 '404': *6 x-github: @@ -77391,8 +77678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -77484,7 +77771,7 @@ paths: application/json: schema: *78 examples: - default: &503 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -77640,7 +77927,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *313 + '410': *314 x-github: triggersNotification: true githubCloudOnly: false @@ -77668,8 +77955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *307 - *308 + - *309 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77690,9 +77977,9 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: &505 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77750,17 +78037,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: &501 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -77814,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -77838,9 +78125,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -77858,8 +78145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -77880,8 +78167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77908,9 +78195,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -77931,8 +78218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -77965,16 +78252,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -77996,10 +78283,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -78019,8 +78306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -78030,7 +78317,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Issue Event description: Issue Event type: object @@ -78110,7 +78397,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *167 + requested_team: *169 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78369,8 +78656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *307 - *308 + - *309 - name: event_id in: path required: true @@ -78381,7 +78668,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -78574,7 +78861,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *313 + '410': *314 '403': *27 x-github: githubCloudOnly: false @@ -78608,9 +78895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *307 - *308 - - &504 + - *309 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -78624,10 +78911,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '404': *6 - '410': *313 + '410': *314 '304': *35 x-github: githubCloudOnly: false @@ -78652,9 +78939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -78775,13 +79062,13 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '422': *15 '503': *97 '403': *27 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78799,9 +79086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -78829,7 +79116,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78845,9 +79132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: content: application/json: @@ -78874,7 +79161,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78896,9 +79183,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: - - *307 - *308 - - *504 + - *309 + - *505 - name: assignee in: path required: true @@ -78938,9 +79225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *68 - *17 - *19 @@ -78951,13 +79238,13 @@ paths: application/json: schema: type: array - items: *500 + items: *501 examples: - default: *505 + default: *506 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78986,9 +79273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -79010,16 +79297,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: - default: *501 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -79047,9 +79334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79061,12 +79348,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79094,9 +79381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -79120,15 +79407,15 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *316 + '301': *317 '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -79159,9 +79446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *307 - *308 - - *504 + - *309 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79175,13 +79462,13 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 x-github: triggersNotification: true githubCloudOnly: false @@ -79207,9 +79494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79221,12 +79508,12 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79243,9 +79530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -79259,7 +79546,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &509 + - &510 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79308,7 +79595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &510 + - &511 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79436,7 +79723,7 @@ paths: - performed_via_github_app - assignee - assigner - - &511 + - &512 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79482,7 +79769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &512 + - &513 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79528,7 +79815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &514 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79577,7 +79864,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &515 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79606,7 +79893,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *167 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -79619,7 +79906,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79648,7 +79935,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *167 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -79661,7 +79948,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &517 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79717,7 +80004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Locked Issue Event description: Locked Issue Event type: object @@ -79762,7 +80049,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79823,7 +80110,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -79884,7 +80171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -79945,7 +80232,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80038,7 +80325,7 @@ paths: color: red headers: Link: *52 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80055,9 +80342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80067,7 +80354,7 @@ paths: application/json: schema: type: array - items: &507 + items: &508 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80122,7 +80409,7 @@ paths: - color - default examples: - default: &508 + default: &509 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80140,9 +80427,9 @@ paths: default: false headers: Link: *52 - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80159,9 +80446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80220,12 +80507,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *316 + default: *509 + '301': *317 '404': *6 - '410': *313 + '410': *314 '422': *15 x-github: githubCloudOnly: false @@ -80242,9 +80529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80304,12 +80591,12 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 - '301': *316 + default: *509 + '301': *317 '404': *6 - '410': *313 + '410': *314 '422': *15 x-github: githubCloudOnly: false @@ -80326,15 +80613,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '204': description: Response - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80353,9 +80640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - name: name in: path required: true @@ -80368,7 +80655,7 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: default: value: @@ -80379,9 +80666,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *316 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80401,9 +80688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: false content: @@ -80432,7 +80719,7 @@ paths: '204': description: Response '403': *27 - '410': *313 + '410': *314 '404': *6 '422': *15 x-github: @@ -80450,9 +80737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '204': description: Response @@ -80482,9 +80769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 responses: '200': description: Response @@ -80492,10 +80779,10 @@ paths: application/json: schema: *78 examples: - default: *503 - '301': *316 + default: *504 + '301': *317 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80512,9 +80799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - 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. @@ -80540,13 +80827,13 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80564,9 +80851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80598,16 +80885,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -80629,10 +80916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *307 - *308 - - *504 - - *303 + - *309 + - *505 + - *304 responses: '204': description: Response @@ -80661,9 +80948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80687,7 +80974,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80720,9 +81007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80734,11 +81021,11 @@ paths: type: array items: *78 examples: - default: *506 + default: *507 headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80766,9 +81053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80797,14 +81084,14 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *313 + '410': *314 '422': *15 '404': *6 x-github: @@ -80824,9 +81111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 requestBody: required: true content: @@ -80859,7 +81146,7 @@ paths: application/json: schema: *78 examples: - default: *503 + default: *504 '403': *27 '404': *6 '422': *7 @@ -80881,9 +81168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *307 - *308 - - *504 + - *309 + - *505 - *17 - *19 responses: @@ -80898,7 +81185,6 @@ paths: description: Timeline Event type: object anyOf: - - *509 - *510 - *511 - *512 @@ -80911,6 +81197,7 @@ paths: - *519 - *520 - *521 + - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81239,7 +81526,7 @@ paths: type: string comments: type: array - items: &542 + items: &543 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81477,7 +81764,7 @@ paths: type: string comments: type: array - items: *436 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81752,7 +82039,7 @@ paths: headers: Link: *52 '404': *6 - '410': *313 + '410': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81769,8 +82056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -81780,7 +82067,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81848,8 +82135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -81885,9 +82172,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: id: 1 key: ssh-rsa AAA... @@ -81921,9 +82208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *307 - *308 - - &524 + - *309 + - &525 name: key_id description: The unique identifier of the key. in: path @@ -81935,9 +82222,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -81955,9 +82242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *307 - *308 - - *524 + - *309 + - *525 responses: '204': description: Response @@ -81977,8 +82264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -81988,9 +82275,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 '404': *6 @@ -82011,8 +82298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82048,9 +82335,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: &525 + default: &526 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82082,8 +82369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82094,9 +82381,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: - default: *525 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82113,8 +82400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82153,7 +82440,7 @@ paths: description: Response content: application/json: - schema: *507 + schema: *508 examples: default: value: @@ -82179,8 +82466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *307 - *308 + - *309 - name: name in: path required: true @@ -82206,8 +82493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -82246,9 +82533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *307 - *308 - - *414 + - *309 + - *415 responses: '200': description: Response @@ -82395,8 +82682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82461,8 +82748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82496,9 +82783,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *437 + schema: *438 examples: - default: *526 + default: *527 '204': description: Response when already merged '404': @@ -82523,8 +82810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *307 - *308 + - *309 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82565,7 +82852,7 @@ paths: application/json: schema: type: array - items: *242 + items: *243 examples: default: value: @@ -82621,8 +82908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -82662,9 +82949,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: &527 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82723,9 +83010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *307 - *308 - - &528 + - *309 + - &529 name: milestone_number description: The number that identifies the milestone. in: path @@ -82737,9 +83024,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -82756,9 +83043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 requestBody: required: false content: @@ -82796,9 +83083,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *527 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82814,9 +83101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 responses: '204': description: Response @@ -82837,9 +83124,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *307 - *308 - - *528 + - *309 + - *529 - *17 - *19 responses: @@ -82849,9 +83136,9 @@ paths: application/json: schema: type: array - items: *507 + items: *508 examples: - default: *508 + default: *509 headers: Link: *52 x-github: @@ -82870,12 +83157,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *307 - *308 - - *529 + - *309 - *530 - - *68 - *531 + - *68 + - *532 - *17 - *19 responses: @@ -82887,7 +83174,7 @@ paths: type: array items: *90 examples: - default: *532 + default: *533 headers: Link: *52 x-github: @@ -82911,8 +83198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -82970,14 +83257,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: &533 + schema: &534 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83121,7 +83408,7 @@ paths: - custom_404 - public examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83162,8 +83449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83218,9 +83505,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: - default: *534 + default: *535 '422': *15 '409': *45 x-github: @@ -83243,8 +83530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83344,8 +83631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -83371,8 +83658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -83382,7 +83669,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Page Build description: Page Build type: object @@ -83474,8 +83761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *307 - *308 + - *309 responses: '201': description: Response @@ -83522,16 +83809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83579,8 +83866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *307 - *308 + - *309 - name: build_id in: path required: true @@ -83591,9 +83878,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83613,8 +83900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -83722,9 +84009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *307 - *308 - - &537 + - *309 + - &538 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83782,11 +84069,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *307 - *308 - - *537 + - *309 + - *538 responses: - '204': *163 + '204': *165 '404': *6 x-github: githubCloudOnly: false @@ -83811,8 +84098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -84080,7 +84367,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -84107,8 +84394,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: - - *307 - *308 + - *309 responses: '200': description: Private vulnerability reporting status @@ -84145,10 +84432,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84167,10 +84454,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *307 - *308 + - *309 responses: - '204': *163 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84191,8 +84478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *307 - *308 + - *309 - name: state description: Indicates the state of the projects to return. in: query @@ -84213,7 +84500,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -84253,7 +84540,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -84276,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84303,13 +84590,13 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *312 + default: *313 '401': *23 '403': *27 '404': *6 - '410': *313 + '410': *314 '422': *7 x-github: githubCloudOnly: false @@ -84332,8 +84619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -84343,7 +84630,7 @@ paths: type: array items: *95 examples: - default: *538 + default: *539 '403': *27 '404': *6 x-github: @@ -84365,8 +84652,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84382,7 +84669,7 @@ paths: required: - properties examples: - default: *539 + default: *540 responses: '204': description: No Content when custom property values are successfully created @@ -84420,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *307 - *308 + - *309 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84481,9 +84768,9 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: - default: *540 + default: *541 headers: Link: *52 '304': *35 @@ -84515,8 +84802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -84583,7 +84870,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84712,7 +84999,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 active_lock_reason: type: - string @@ -84767,7 +85054,7 @@ paths: type: - array - 'null' - items: *218 + items: *220 head: type: object properties: @@ -84805,14 +85092,14 @@ paths: _links: type: object properties: - comments: *243 - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + comments: *244 + commits: *244 + statuses: *244 + html: *244 + issue: *244 + review_comments: *244 + review_comment: *244 + self: *244 required: - comments - commits @@ -84823,7 +85110,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *541 + auto_merge: *542 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -84925,7 +85212,7 @@ paths: - merged_by - review_comments examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85452,8 +85739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *307 - *308 + - *309 - name: sort in: query required: false @@ -85482,9 +85769,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: &547 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85561,17 +85848,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 responses: '200': description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85646,8 +85933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -85670,9 +85957,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85688,8 +85975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *307 - *308 + - *309 - *77 responses: '204': @@ -85711,8 +85998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *307 - *308 + - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85739,9 +86026,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -85762,8 +86049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *307 - *308 + - *309 - *77 requestBody: required: true @@ -85796,16 +86083,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -85827,10 +86114,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *307 - *308 + - *309 - *77 - - *303 + - *304 responses: '204': description: Response @@ -85873,9 +86160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *307 - *308 - - &546 + - *309 + - &547 name: pull_number description: The number that identifies the pull request. in: path @@ -85888,9 +86175,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '304': *35 '404': *6 '406': @@ -85925,9 +86212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -85969,9 +86256,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 '422': *15 '403': *27 x-github: @@ -85993,9 +86280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -86056,17 +86343,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86096,9 +86383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86119,9 +86406,9 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: - default: *547 + default: *548 headers: Link: *52 x-github: @@ -86154,9 +86441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -86262,7 +86549,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: example-for-a-multi-line-comment: value: @@ -86350,9 +86637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *77 requestBody: required: true @@ -86375,7 +86662,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: default: value: @@ -86461,9 +86748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -86473,9 +86760,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *548 + default: *549 headers: Link: *52 x-github: @@ -86505,9 +86792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -86517,7 +86804,7 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: default: value: @@ -86555,9 +86842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *307 - *308 - - *546 + - *309 + - *547 responses: '204': description: Response if pull request has been merged @@ -86580,9 +86867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -86694,9 +86981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 responses: '200': description: Response @@ -86712,7 +86999,7 @@ paths: items: *4 teams: type: array - items: *167 + items: *169 required: - users - teams @@ -86771,9 +87058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -86810,7 +87097,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -87346,9 +87633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: true content: @@ -87382,7 +87669,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *442 examples: default: value: @@ -87887,9 +88174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 - *17 - *19 responses: @@ -87899,7 +88186,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88055,9 +88342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -88147,9 +88434,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &551 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88212,10 +88499,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - &550 + - *309 + - *547 + - &551 name: review_id description: The unique identifier of the review. in: path @@ -88227,9 +88514,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &552 + default: &553 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88288,10 +88575,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88314,7 +88601,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88376,18 +88663,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *551 + default: *552 '422': *7 '404': *6 x-github: @@ -88414,10 +88701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 - *17 - *19 responses: @@ -88515,9 +88802,9 @@ paths: _links: type: object properties: - self: *243 - html: *243 - pull_request: *243 + self: *244 + html: *244 + pull_request: *244 required: - self - html @@ -88675,10 +88962,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88707,7 +88994,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -88770,10 +89057,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *307 - *308 - - *546 - - *550 + - *309 + - *547 + - *551 requestBody: required: true content: @@ -88808,9 +89095,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *552 + default: *553 '404': *6 '422': *7 '403': *27 @@ -88832,9 +89119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *307 - *308 - - *546 + - *309 + - *547 requestBody: required: false content: @@ -88898,8 +89185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *307 - *308 + - *309 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88912,9 +89199,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: &554 + default: &555 value: type: file encoding: base64 @@ -88956,8 +89243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *307 - *308 + - *309 - name: dir description: The alternate path to look for a README file in: path @@ -88977,9 +89264,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: - default: *554 + default: *555 '404': *6 '422': *15 x-github: @@ -89001,8 +89288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -89012,7 +89299,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Release description: A release. type: object @@ -89094,7 +89381,7 @@ paths: author: *4 assets: type: array - items: &556 + items: &557 title: Release Asset description: Data related to a release. type: object @@ -89281,8 +89568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -89358,9 +89645,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &559 + default: &560 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89465,9 +89752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *307 - *308 - - &557 + - *309 + - &558 name: asset_id description: The unique identifier of the asset. in: path @@ -89479,9 +89766,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &558 + default: &559 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 @@ -89516,7 +89803,7 @@ paths: type: User site_admin: false '404': *6 - '302': *450 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89532,9 +89819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *307 - *308 - - *557 + - *309 + - *558 requestBody: required: false content: @@ -89563,9 +89850,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *558 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +89868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *307 - *308 - - *557 + - *309 + - *558 responses: '204': description: Response @@ -89607,8 +89894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -89694,16 +89981,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *307 - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89720,8 +90007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *307 - *308 + - *309 - name: tag description: tag parameter in: path @@ -89734,9 +90021,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -89758,9 +90045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *307 - *308 - - &560 + - *309 + - &561 name: release_id description: The unique identifier of the release. in: path @@ -89774,9 +90061,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: *555 + schema: *556 examples: - default: *559 + default: *560 '401': description: Unauthorized x-github: @@ -89794,9 +90081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 requestBody: required: false content: @@ -89860,9 +90147,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *559 + default: *560 '404': description: Not Found if the discussion category name is invalid content: @@ -89883,9 +90170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 responses: '204': description: Response @@ -89905,9 +90192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *307 - *308 - - *560 + - *309 + - *561 - *17 - *19 responses: @@ -89917,7 +90204,7 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: default: value: @@ -89998,9 +90285,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: - - *307 - *308 - - *560 + - *309 + - *561 - name: name in: query required: true @@ -90026,7 +90313,7 @@ paths: description: Response for successful upload content: application/json: - schema: *556 + schema: *557 examples: response-for-successful-upload: value: @@ -90081,9 +90368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 - 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. @@ -90107,9 +90394,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 '404': *6 @@ -90130,9 +90417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *307 - *308 - - *560 + - *309 + - *561 requestBody: required: true content: @@ -90162,16 +90449,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -90193,10 +90480,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *307 - *308 - - *560 - - *303 + - *309 + - *561 + - *304 responses: '204': description: Response @@ -90220,9 +90507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *307 - *308 - - *377 + - *309 + - *378 - *17 - *19 responses: @@ -90238,8 +90525,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *259 - - &561 + - *260 + - &562 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90258,69 +90545,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *260 - - *561 - allOf: - *261 - - *561 + - *562 - allOf: - *262 - - *561 - - allOf: - *562 - - *561 - allOf: - *263 - - *561 + - *562 + - allOf: + - *563 + - *562 - allOf: - *264 - - *561 + - *562 - allOf: - *265 - - *561 + - *562 - allOf: - *266 - - *561 + - *562 - allOf: - *267 - - *561 + - *562 - allOf: - *268 - - *561 + - *562 - allOf: - *269 - - *561 + - *562 - allOf: - *270 - - *561 + - *562 - allOf: - *271 - - *561 + - *562 - allOf: - *272 - - *561 + - *562 - allOf: - *273 - - *561 + - *562 - allOf: - *274 - - *561 + - *562 - allOf: - *275 - - *561 + - *562 - allOf: - *276 - - *561 + - *562 - allOf: - *277 - - *561 + - *562 - allOf: - *278 - - *561 + - *562 - allOf: - - *563 - - *561 + - *279 + - *562 + - allOf: + - *564 + - *562 examples: default: value: @@ -90359,8 +90646,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - *17 - *19 - name: includes_parents @@ -90371,7 +90658,7 @@ paths: schema: type: boolean default: true - - *564 + - *565 responses: '200': description: Response @@ -90379,7 +90666,7 @@ paths: application/json: schema: type: array - items: *279 + items: *280 examples: default: value: @@ -90426,8 +90713,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 requestBody: description: Request body required: true @@ -90447,16 +90734,16 @@ paths: - tag - push default: branch - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *254 + items: *258 + conditions: *255 rules: type: array description: An array of rules within the ruleset. - items: *565 + items: *566 required: - name - enforcement @@ -90487,9 +90774,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -90536,12 +90823,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *307 - *308 - - *566 + - *309 - *567 - *568 - *569 + - *570 - *17 - *19 responses: @@ -90549,9 +90836,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *96 x-github: @@ -90572,17 +90859,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *307 - *308 - - *572 + - *309 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *96 x-github: @@ -90610,8 +90897,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90631,9 +90918,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *575 + default: *576 '404': *6 '500': *96 put: @@ -90651,8 +90938,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90677,16 +90964,16 @@ paths: - branch - tag - push - enforcement: *256 + enforcement: *257 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *257 - conditions: *254 + items: *258 + conditions: *255 rules: description: An array of rules within the ruleset. type: array - items: *565 + items: *566 examples: default: value: @@ -90714,9 +91001,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *575 + default: *576 '404': *6 '500': *96 delete: @@ -90734,8 +91021,8 @@ paths: category: repos subcategory: rules parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90758,8 +91045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *307 - *308 + - *309 - *17 - *19 - name: ruleset_id @@ -90775,9 +91062,9 @@ paths: application/json: schema: type: array - items: *282 + items: *283 examples: - default: *576 + default: *577 '404': *6 '500': *96 x-github: @@ -90796,8 +91083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *307 - *308 + - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90815,7 +91102,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -90870,21 +91157,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *307 - *308 - - *578 + - *309 - *579 - *580 - *581 + - *582 - *46 - *19 - *17 - - *582 - *583 - *584 - *585 - *586 - *587 + - *588 responses: '200': description: Response @@ -90892,24 +91179,24 @@ paths: application/json: schema: type: array - items: &591 + items: &592 type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolved_at: type: - string @@ -91003,7 +91290,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *590 + - *591 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91148,16 +91435,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 - - *587 + - *309 + - *409 + - *588 responses: '200': description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91209,9 +91496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 requestBody: required: true content: @@ -91219,8 +91506,8 @@ paths: schema: type: object properties: - state: *588 - resolution: *589 + state: *589 + resolution: *590 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91239,7 +91526,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -91314,9 +91601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *307 - *308 - - *408 + - *309 + - *409 - *19 - *17 responses: @@ -91327,7 +91614,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &742 + items: &745 type: object properties: type: @@ -91354,7 +91641,6 @@ paths: - commit details: oneOf: - - *592 - *593 - *594 - *595 @@ -91367,6 +91653,7 @@ paths: - *602 - *603 - *604 + - *605 examples: default: value: @@ -91452,8 +91739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -91461,14 +91748,14 @@ paths: schema: type: object properties: - reason: &606 + reason: &607 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *605 + placeholder_id: *606 required: - reason - placeholder_id @@ -91485,7 +91772,7 @@ paths: schema: type: object properties: - reason: *606 + reason: *607 expire_at: type: - string @@ -91532,8 +91819,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: - - *307 - *308 + - *309 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91548,7 +91835,7 @@ paths: properties: incremental_scans: type: array - items: &607 + items: &608 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91576,15 +91863,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *607 + items: *608 backfill_scans: type: array - items: *607 + items: *608 custom_pattern_backfill_scans: type: array items: allOf: - - *607 + - *608 - type: object properties: pattern_name: @@ -91654,8 +91941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *307 - *308 + - *309 - *46 - name: sort description: The property to sort the results by. @@ -91699,9 +91986,9 @@ paths: application/json: schema: type: array - items: *608 + items: *609 examples: - default: *609 + default: *610 '400': *14 '404': *6 x-github: @@ -91724,8 +92011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -91805,7 +92092,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 required: - login - type @@ -91895,9 +92182,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: &611 + default: &612 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92130,8 +92417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -92244,7 +92531,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -92391,17 +92678,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *307 - *308 - - *610 + - *309 + - *611 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 + default: *612 '403': *27 '404': *6 x-github: @@ -92425,9 +92712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *307 - *308 - - *610 + - *309 + - *611 requestBody: required: true content: @@ -92507,7 +92794,7 @@ paths: login: type: string description: The username of the user credited. - type: *285 + type: *286 required: - login - type @@ -92598,17 +92885,17 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *611 - add_credit: *611 + default: *612 + add_credit: *612 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *102 + schema: *104 examples: invalid_state_transition: value: @@ -92639,9 +92926,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: - - *307 - *308 - - *610 + - *309 + - *611 responses: '202': *37 '400': *14 @@ -92668,17 +92955,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *307 - *308 - - *610 + - *309 + - *611 responses: '202': description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 '400': *14 '422': *15 '403': *27 @@ -92704,8 +92991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -92801,8 +93088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92811,7 +93098,7 @@ paths: application/json: schema: type: array - items: &612 + items: &613 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92824,7 +93111,7 @@ paths: - 1124 - -435 '202': *37 - '204': *163 + '204': *165 '422': description: Repository contains more than 10,000 commits x-github: @@ -92844,8 +93131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -92896,7 +93183,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92923,8 +93210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -92996,7 +93283,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93018,8 +93305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *307 - *308 + - *309 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93173,8 +93460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *307 - *308 + - *309 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93184,7 +93471,7 @@ paths: application/json: schema: type: array - items: *612 + items: *613 examples: default: value: @@ -93197,7 +93484,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93217,8 +93504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *307 - *308 + - *309 - name: sha in: path required: true @@ -93274,7 +93561,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -93328,8 +93615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93361,14 +93648,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *307 - *308 + - *309 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &614 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93441,8 +93728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *307 - *308 + - *309 requestBody: required: false content: @@ -93468,7 +93755,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: default: value: @@ -93495,8 +93782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -93516,8 +93803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93599,8 +93886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -93608,7 +93895,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Tag protection description: Tag protection type: object @@ -93665,8 +93952,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: - - *307 - *308 + - *309 requestBody: required: true content: @@ -93689,7 +93976,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default: value: @@ -93720,8 +94007,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: - - *307 - *308 + - *309 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93758,8 +94045,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *307 - *308 + - *309 - name: ref in: path required: true @@ -93795,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *307 - *308 + - *309 - *17 - *19 responses: @@ -93806,9 +94093,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - default: *219 + default: *221 headers: Link: *52 '404': *6 @@ -93828,8 +94115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *307 - *308 + - *309 - *19 - *17 responses: @@ -93837,7 +94124,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &617 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93849,7 +94136,7 @@ paths: required: - names examples: - default: &617 + default: &618 value: names: - octocat @@ -93872,8 +94159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -93904,9 +94191,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 '422': *7 x-github: @@ -93927,9 +94214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *307 - *308 - - &618 + - *309 + - &619 name: per description: The time frame to display results for. in: query @@ -93960,7 +94247,7 @@ paths: - 128 clones: type: array - items: &619 + items: &620 title: Traffic type: object properties: @@ -94047,8 +94334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -94142,8 +94429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *307 - *308 + - *309 responses: '200': description: Response @@ -94206,9 +94493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *307 - *308 - - *618 + - *309 + - *619 responses: '200': description: Response @@ -94229,7 +94516,7 @@ paths: - 3782 views: type: array - items: *619 + items: *620 required: - uniques - count @@ -94306,8 +94593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *307 - *308 + - *309 requestBody: required: true content: @@ -94343,7 +94630,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *135 examples: default: value: @@ -94581,8 +94868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *307 - *308 + - *309 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94605,8 +94892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -94628,8 +94915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -94655,8 +94942,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *307 - *308 + - *309 - name: ref in: path required: true @@ -94748,9 +95035,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -94791,7 +95078,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -94980,7 +95267,7 @@ paths: html_url: type: string format: uri - repository: *133 + repository: *135 score: type: number file_size: @@ -94999,7 +95286,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &620 + text_matches: &621 title: Search Result Text Matches type: array items: @@ -95162,7 +95449,7 @@ paths: enum: - author-date - committer-date - - &621 + - &622 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 @@ -95231,7 +95518,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 comment_count: type: integer message: @@ -95250,7 +95537,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *487 required: - author - committer @@ -95265,7 +95552,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *376 parents: type: array items: @@ -95277,12 +95564,12 @@ paths: type: string sha: type: string - repository: *133 + repository: *135 score: type: number node_id: type: string - text_matches: *620 + text_matches: *621 required: - sha - node_id @@ -95474,7 +95761,7 @@ paths: - interactions - created - updated - - *621 + - *622 - *17 - *19 - name: advanced_search @@ -95571,11 +95858,11 @@ paths: type: - string - 'null' - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: type: string state_reason: @@ -95589,7 +95876,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *243 comments: type: integer created_at: @@ -95603,7 +95890,7 @@ paths: - string - 'null' format: date-time - text_matches: *620 + text_matches: *621 pull_request: type: object properties: @@ -95652,7 +95939,7 @@ paths: timeline_url: type: string format: uri - type: *203 + type: *205 performed_via_github_app: anyOf: - type: 'null' @@ -95826,7 +96113,7 @@ paths: enum: - created - updated - - *621 + - *622 - *17 - *19 responses: @@ -95871,7 +96158,7 @@ paths: - 'null' score: type: number - text_matches: *620 + text_matches: *621 required: - id - node_id @@ -95956,7 +96243,7 @@ paths: - forks - help-wanted-issues - updated - - *621 + - *622 - *17 - *19 responses: @@ -96193,7 +96480,7 @@ paths: - admin - pull - push - text_matches: *620 + text_matches: *621 temp_clone_token: type: string allow_merge_commit: @@ -96501,7 +96788,7 @@ paths: - string - 'null' format: uri - text_matches: *620 + text_matches: *621 related: type: - array @@ -96694,7 +96981,7 @@ paths: - followers - repositories - joined - - *621 + - *622 - *17 - *19 responses: @@ -96804,7 +97091,7 @@ paths: type: - boolean - 'null' - text_matches: *620 + text_matches: *621 blog: type: - string @@ -96886,7 +97173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &625 + - &626 name: team_id description: The unique identifier of the team. in: path @@ -96898,9 +97185,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -96927,7 +97214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -96991,16 +97278,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -97028,7 +97315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *625 + - *626 responses: '204': description: Response @@ -97059,7 +97346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *625 + - *626 - *46 - *17 - *19 @@ -97070,9 +97357,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *626 + default: *627 headers: Link: *52 x-github: @@ -97101,7 +97388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *625 + - *626 requestBody: required: true content: @@ -97135,9 +97422,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: triggersNotification: true githubCloudOnly: false @@ -97164,16 +97451,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 responses: '200': description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97198,8 +97485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: false content: @@ -97222,9 +97509,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *627 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97249,8 +97536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 responses: '204': description: Response @@ -97279,8 +97566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *625 - - *296 + - *626 + - *297 - *46 - *17 - *19 @@ -97291,9 +97578,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *628 + default: *629 headers: Link: *52 x-github: @@ -97322,8 +97609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: true content: @@ -97345,9 +97632,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -97374,17 +97661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97409,9 +97696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 requestBody: required: true content: @@ -97433,9 +97720,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97460,9 +97747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 responses: '204': description: Response @@ -97491,9 +97778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 - 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. @@ -97519,9 +97806,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -97550,9 +97837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *625 - - *296 - - *299 + - *626 + - *297 + - *300 requestBody: required: true content: @@ -97584,9 +97871,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97612,8 +97899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 - 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. @@ -97639,9 +97926,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *52 x-github: @@ -97670,8 +97957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *625 - - *296 + - *626 + - *297 requestBody: required: true content: @@ -97703,9 +97990,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97729,7 +98016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -97739,9 +98026,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *201 + default: *203 headers: Link: *52 x-github: @@ -97767,7 +98054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *625 + - *626 - name: role description: Filters members returned by their role in the team. in: query @@ -97818,7 +98105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97855,7 +98142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97895,7 +98182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -97932,16 +98219,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-user-is-a-team-maintainer: *630 + response-if-user-is-a-team-maintainer: *631 '404': *6 x-github: githubCloudOnly: false @@ -97974,7 +98261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 requestBody: required: false @@ -98000,9 +98287,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - response-if-users-membership-with-team-is-now-pending: *631 + response-if-users-membership-with-team-is-now-pending: *632 '403': description: Forbidden if team synchronization is set up '422': @@ -98036,7 +98323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *625 + - *626 - *57 responses: '204': @@ -98065,7 +98352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98075,9 +98362,9 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: - default: *632 + default: *633 headers: Link: *52 '404': *6 @@ -98103,16 +98390,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *625 - - *306 + - *626 + - *307 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *633 + default: *634 '404': description: Not Found if project is not managed by this team x-github: @@ -98136,8 +98423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *625 - - *306 + - *626 + - *307 requestBody: required: false content: @@ -98204,8 +98491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *625 - - *306 + - *626 + - *307 responses: '204': description: Response @@ -98232,7 +98519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98242,9 +98529,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '404': *6 @@ -98274,15 +98561,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *634 + schema: *635 examples: alternative-response-with-extra-repository-information: value: @@ -98433,9 +98720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 requestBody: required: false content: @@ -98485,9 +98772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *625 - - *307 + - *626 - *308 + - *309 responses: '204': description: Response @@ -98512,7 +98799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *625 + - *626 - *17 - *19 responses: @@ -98522,9 +98809,9 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: - response-if-child-teams-exist: *635 + response-if-child-teams-exist: *636 headers: Link: *52 '404': *6 @@ -98557,7 +98844,7 @@ paths: application/json: schema: oneOf: - - &637 + - &638 title: Private User description: Private User type: object @@ -98807,7 +99094,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *636 + - *637 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98967,7 +99254,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -99170,9 +99457,9 @@ paths: type: integer codespaces: type: array - items: *208 + items: *210 examples: - default: *209 + default: *211 '304': *35 '500': *96 '401': *23 @@ -99311,17 +99598,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99365,7 +99652,7 @@ paths: type: integer secrets: type: array - items: &638 + items: &639 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99407,7 +99694,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *52 x-github: @@ -99479,13 +99766,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *638 + schema: *639 examples: default: value: @@ -99515,7 +99802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 requestBody: required: true content: @@ -99560,7 +99847,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -99588,7 +99875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '204': description: Response @@ -99613,7 +99900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 responses: '200': description: Response @@ -99629,9 +99916,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *639 + default: *640 '401': *23 '403': *27 '404': *6 @@ -99656,7 +99943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 requestBody: required: true content: @@ -99710,7 +99997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -99743,7 +100030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -99775,15 +100062,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '304': *35 '500': *96 '401': *23 @@ -99809,7 +100096,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 requestBody: required: false content: @@ -99839,9 +100126,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99863,7 +100150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '202': *37 '304': *35 @@ -99892,13 +100179,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '202': description: Response content: application/json: - schema: &640 + schema: &641 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99951,7 +100238,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &641 + default: &642 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99983,7 +100270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *210 + - *212 - name: export_id in: path required: true @@ -99996,9 +100283,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: - default: *641 + default: *642 '404': *6 x-github: githubCloudOnly: false @@ -100019,7 +100306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *210 + - *212 responses: '200': description: Response @@ -100035,9 +100322,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *642 + default: *643 '304': *35 '500': *96 '401': *23 @@ -100066,7 +100353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *210 + - *212 requestBody: required: true content: @@ -100122,11 +100409,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *315 + repository: *316 machine: anyOf: - type: 'null' - - *429 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -100923,15 +101210,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '304': *35 '500': *96 '400': *14 @@ -100963,15 +101250,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *208 + schema: *210 examples: - default: *428 + default: *429 '500': *96 '401': *23 '403': *27 @@ -101001,9 +101288,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: &653 + default: &654 value: - id: 197 name: hello_docker @@ -101104,7 +101391,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Email description: Email type: object @@ -101174,9 +101461,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: &655 + default: &656 value: - email: octocat@github.com verified: true @@ -101253,7 +101540,7 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: default: value: @@ -101511,7 +101798,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: GPG Key description: A unique encryption key type: object @@ -101656,7 +101943,7 @@ paths: - subkeys - revoked examples: - default: &669 + default: &670 value: - id: 3 name: Octocat's GPG Key @@ -101741,9 +102028,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: id: 3 name: Octocat's GPG Key @@ -101800,7 +102087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &646 + - &647 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101812,9 +102099,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -101837,7 +102124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *646 + - *647 responses: '204': description: Response @@ -102028,7 +102315,7 @@ paths: type: array items: *64 examples: - default: *125 + default: *127 headers: Link: *52 '404': *6 @@ -102053,7 +102340,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *122 + - *124 responses: '204': description: Response @@ -102079,7 +102366,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *122 + - *124 responses: '204': description: Response @@ -102113,12 +102400,12 @@ paths: application/json: schema: anyOf: - - *198 + - *200 - type: object properties: {} additionalProperties: false examples: - default: *199 + default: *201 '204': description: Response when there are no restrictions x-github: @@ -102142,7 +102429,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -102153,7 +102440,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -102234,7 +102521,7 @@ paths: - closed - all default: open - - *206 + - *208 - name: sort description: What to sort results by. in: query @@ -102259,7 +102546,7 @@ paths: type: array items: *78 examples: - default: *207 + default: *209 headers: Link: *52 '404': *6 @@ -102292,7 +102579,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -102395,9 +102682,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102430,15 +102717,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -102461,7 +102748,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *524 + - *525 responses: '204': description: Response @@ -102494,7 +102781,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102573,7 +102860,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102635,9 +102922,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *52 '304': *35 @@ -102677,7 +102964,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: value: @@ -102785,7 +103072,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -102868,7 +103155,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -102936,7 +103223,7 @@ paths: application/json: schema: type: array - items: *214 + items: *216 examples: default: value: @@ -103198,7 +103485,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -103378,7 +103665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *215 + - *217 - name: exclude in: query required: false @@ -103391,7 +103678,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -103585,7 +103872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *215 + - *217 responses: '302': description: Response @@ -103611,7 +103898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *215 + - *217 responses: '204': description: Response @@ -103640,8 +103927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *215 - - *651 + - *217 + - *652 responses: '204': description: Response @@ -103665,7 +103952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *215 + - *217 - *17 - *19 responses: @@ -103675,9 +103962,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '404': *6 @@ -103756,7 +104043,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *19 - *17 responses: @@ -103766,10 +104053,10 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 - '400': *654 + default: *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103789,16 +104076,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: &670 + default: &671 value: id: 40201 name: octo-name @@ -103911,8 +104198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 responses: '204': description: Response @@ -103942,8 +104229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 + - *225 - name: token description: package token schema: @@ -103975,8 +104262,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: - - *222 - - *223 + - *224 + - *225 - *19 - *17 - name: state @@ -103996,7 +104283,7 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: default: value: @@ -104045,15 +104332,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -104089,9 +104376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '204': description: Response @@ -104121,9 +104408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 responses: '204': description: Response @@ -104181,7 +104468,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -104253,9 +104540,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *655 + default: *656 headers: Link: *52 '304': *35 @@ -104368,7 +104655,7 @@ paths: type: array items: *64 examples: - default: &662 + default: &663 summary: Default response value: - id: 1296269 @@ -104686,9 +104973,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *317 + default: *318 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104726,9 +105013,9 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: *656 + default: *657 headers: Link: *52 '304': *35 @@ -104751,7 +105038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *202 + - *204 responses: '204': description: Response @@ -104774,7 +105061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *202 + - *204 responses: '204': description: Response @@ -104807,7 +105094,7 @@ paths: application/json: schema: type: array - items: &657 + items: &658 title: Social account description: Social media account type: object @@ -104824,7 +105111,7 @@ paths: - provider - url examples: - default: &658 + default: &659 value: - provider: twitter url: https://twitter.com/github @@ -104887,9 +105174,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 '422': *15 '304': *35 '404': *6 @@ -104977,7 +105264,7 @@ paths: application/json: schema: type: array - items: &659 + items: &660 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104997,7 +105284,7 @@ paths: - title - created_at examples: - default: &683 + default: &686 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105064,9 +105351,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: &660 + default: &661 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105097,7 +105384,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: - - &661 + - &662 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105109,9 +105396,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: - default: *660 + default: *661 '404': *6 '304': *35 '403': *27 @@ -105134,7 +105421,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: - - *661 + - *662 responses: '204': description: Response @@ -105163,7 +105450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &684 + - &687 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 @@ -105188,11 +105475,11 @@ paths: type: array items: *64 examples: - default-response: *662 + default-response: *663 application/vnd.github.v3.star+json: schema: type: array - items: &685 + items: &688 title: Starred Repository description: Starred Repository type: object @@ -105348,8 +105635,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: - - *307 - *308 + - *309 responses: '204': description: Response if this repository is starred by you @@ -105377,8 +105664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -105402,8 +105689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *307 - *308 + - *309 responses: '204': description: Response @@ -105436,9 +105723,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 '304': *35 @@ -105475,7 +105762,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -105561,10 +105848,10 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: &664 + default-response: &665 summary: Default response value: login: octocat @@ -105599,7 +105886,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &665 + response-with-git-hub-plan-information: &666 summary: Response with GitHub plan information value: login: octocat @@ -105659,7 +105946,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *663 + - *664 - *17 responses: '200': @@ -105708,11 +105995,11 @@ paths: application/json: schema: oneOf: + - *638 - *637 - - *636 examples: - default-response: *664 - response-with-git-hub-plan-information: *665 + default-response: *665 + response-with-git-hub-plan-information: *666 '404': *6 x-github: githubCloudOnly: false @@ -105762,8 +106049,8 @@ paths: required: - subject_digests examples: - default: *666 - withPredicateType: *667 + default: *667 + withPredicateType: *668 responses: '200': description: Response @@ -105817,7 +106104,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106022,12 +106309,12 @@ paths: initiator: type: string examples: - default: *371 + default: *372 '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -106061,9 +106348,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 + default: *654 '403': *27 '401': *23 x-github: @@ -106447,9 +106734,9 @@ paths: application/json: schema: type: array - items: *644 + items: *645 examples: - default: *669 + default: *670 headers: Link: *52 x-github: @@ -106553,7 +106840,7 @@ paths: application/json: schema: *20 examples: - default: *496 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106678,7 +106965,7 @@ paths: - docker - nuget - container - - *652 + - *653 - *57 - *19 - *17 @@ -106689,12 +106976,12 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *653 + default: *654 '403': *27 '401': *23 - '400': *654 + '400': *655 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106714,17 +107001,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: - default: *670 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106745,8 +107032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 responses: '204': @@ -106779,8 +107066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *222 - - *223 + - *224 + - *225 - *57 - name: token description: package token @@ -106813,8 +107100,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: - - *222 - - *223 + - *224 + - *225 - *57 responses: '200': @@ -106823,7 +107110,7 @@ paths: application/json: schema: type: array - items: *224 + items: *226 examples: default: value: @@ -106881,16 +107168,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *222 - - *223 + - *224 - *225 + - *227 - *57 responses: '200': description: Response content: application/json: - schema: *224 + schema: *226 examples: default: value: @@ -106925,10 +107212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *222 - - *223 - - *57 + - *224 - *225 + - *57 + - *227 responses: '204': description: Response @@ -106960,10 +107247,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *222 - - *223 - - *57 + - *224 - *225 + - *57 + - *227 responses: '204': description: Response @@ -107010,7 +107297,7 @@ paths: application/json: schema: type: array - items: *236 + items: *238 examples: default: value: @@ -107085,9 +107372,9 @@ paths: application/json: schema: type: array - items: *237 + items: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -107109,16 +107396,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *239 + - *241 - *57 responses: '200': description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 headers: Link: *52 '304': *35 @@ -107140,7 +107427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *239 + - *241 - *57 - *17 - *38 @@ -107152,9 +107439,9 @@ paths: application/json: schema: type: array - items: *240 + items: *242 examples: - default: *241 + default: *672 headers: Link: *52 '304': *35 @@ -107176,17 +107463,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *239 - - *671 + - *241 + - *673 - *57 responses: '200': description: Response content: application/json: - schema: *240 + schema: *242 examples: - default: *241 + default: *674 headers: Link: *52 '304': *35 @@ -107209,7 +107496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *239 + - *241 - *57 - *38 - *39 @@ -107242,9 +107529,9 @@ paths: application/json: schema: type: array - items: *246 + items: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -107266,7 +107553,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *239 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -107303,10 +107590,10 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - issue: *245 - pull_request: *245 + issue: *246 + pull_request: *246 '304': *35 '403': *27 '401': *23 @@ -107326,9 +107613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *239 + - *241 - *57 - - *248 + - *249 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107348,9 +107635,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - default: *247 + default: *248 headers: Link: *52 '304': *35 @@ -107371,9 +107658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *239 + - *241 - *57 - - *248 + - *249 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107446,13 +107733,13 @@ paths: description: Response content: application/json: - schema: *246 + schema: *247 examples: - text_field: *247 - number_field: *247 - date_field: *247 - single_select_field: *247 - iteration_field: *247 + text_field: *248 + number_field: *248 + date_field: *248 + single_select_field: *248 + iteration_field: *248 '401': *23 '403': *27 '404': *6 @@ -107472,9 +107759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *239 + - *241 - *57 - - *248 + - *249 responses: '204': description: Response @@ -107692,9 +107979,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -107724,9 +108011,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *676 examples: - default: *674 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107754,9 +108041,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *678 examples: - default: *676 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107778,10 +108065,10 @@ paths: parameters: - *57 - *98 - - *677 + - *100 - *99 - - *678 - - *679 + - *680 + - *101 responses: '200': description: Response when getting a billing premium request usage report @@ -107917,9 +108204,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107941,7 +108228,7 @@ paths: parameters: - *57 - *98 - - *682 + - *683 - *99 responses: '200': @@ -108019,6 +108306,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: + - *57 + - *98 + - *100 + - *99 + - *684 + - *101 + - *685 + 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': *27 + '404': *6 + '500': *96 + '503': *97 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -108041,9 +108463,9 @@ paths: application/json: schema: type: array - items: *657 + items: *658 examples: - default: *658 + default: *659 headers: Link: *52 x-github: @@ -108073,9 +108495,9 @@ paths: application/json: schema: type: array - items: *659 + items: *660 examples: - default: *683 + default: *686 headers: Link: *52 x-github: @@ -108100,7 +108522,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *684 + - *687 - *46 - *17 - *19 @@ -108112,11 +108534,11 @@ paths: schema: anyOf: - type: array - items: *685 + items: *688 - type: array items: *64 examples: - default-response: *662 + default-response: *663 headers: Link: *52 x-github: @@ -108145,9 +108567,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *226 + default: *228 headers: Link: *52 x-github: @@ -108276,7 +108698,7 @@ webhooks: type: string enum: - disabled - enterprise: &686 + enterprise: &689 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108345,7 +108767,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &687 + installation: &690 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108366,7 +108788,7 @@ webhooks: required: - id - node_id - organization: &688 + organization: &691 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108439,7 +108861,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &689 + repository: &692 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109352,10 +109774,10 @@ webhooks: type: string enum: - enabled - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -109431,11 +109853,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: &690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: &693 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) @@ -109658,11 +110080,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: *690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: *693 sender: *4 required: - action @@ -109850,11 +110272,11 @@ webhooks: - everyone required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - rule: *690 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + rule: *693 sender: *4 required: - action @@ -109938,7 +110360,7 @@ webhooks: type: string enum: - completed - check_run: &692 + check_run: &695 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110003,8 +110425,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *388 - repository: *133 + items: *389 + repository: *135 status: type: string enum: @@ -110048,7 +110470,7 @@ webhooks: - examples: - neutral - deployment: *691 + deployment: *694 details_url: type: string examples: @@ -110108,7 +110530,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *389 started_at: type: string format: date-time @@ -110146,10 +110568,10 @@ webhooks: - output - app - pull_requests - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -110542,11 +110964,11 @@ webhooks: type: string enum: - created - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -110942,11 +111364,11 @@ webhooks: type: string enum: - requested_action - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 requested_action: description: The action requested by the user. type: object @@ -111351,11 +111773,11 @@ webhooks: type: string enum: - rerequested - check_run: *692 - installation: *687 - enterprise: *686 - organization: *688 - repository: *689 + check_run: *695 + installation: *690 + enterprise: *689 + organization: *691 + repository: *692 sender: *4 required: - check_run @@ -112347,10 +112769,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113035,10 +113457,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113717,10 +114139,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -113889,7 +114311,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114041,20 +114463,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &693 + commit_oid: &696 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: *686 - installation: *687 - organization: *688 - ref: &694 + enterprise: *689 + installation: *690 + organization: *691 + ref: &697 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: *689 + repository: *692 sender: *4 required: - action @@ -114221,7 +114643,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114462,12 +114884,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -114565,7 +114987,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114750,12 +115172,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -114924,7 +115346,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115101,12 +115523,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -115209,7 +115631,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115389,9 +115811,9 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115399,7 +115821,7 @@ webhooks: type: - string - 'null' - repository: *689 + repository: *692 sender: *4 required: - action @@ -115498,7 +115920,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115645,12 +116067,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *693 - enterprise: *686 - installation: *687 - organization: *688 - ref: *694 - repository: *689 + commit_oid: *696 + enterprise: *689 + installation: *690 + organization: *691 + ref: *697 + repository: *692 sender: *4 required: - action @@ -115912,10 +116334,10 @@ webhooks: - updated_at - author_association - body - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -115996,18 +116418,18 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *688 - pusher_type: &695 + organization: *691 + pusher_type: &698 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &696 + ref: &699 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116017,7 +116439,7 @@ webhooks: enum: - tag - branch - repository: *689 + repository: *692 sender: *4 required: - ref @@ -116099,10 +116521,10 @@ webhooks: type: string enum: - created - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116187,9 +116609,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116266,10 +116688,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116346,10 +116768,10 @@ webhooks: type: string enum: - updated - definition: *249 - enterprise: *686 - installation: *687 - organization: *688 + definition: *250 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -116426,10 +116848,10 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - repository: *689 - organization: *688 + enterprise: *689 + installation: *690 + repository: *692 + organization: *691 sender: *4 new_property_values: type: array @@ -116514,18 +116936,18 @@ webhooks: title: delete event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - pusher_type: *695 - ref: *696 + enterprise: *689 + installation: *690 + organization: *691 + pusher_type: *698 + ref: *699 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *689 + repository: *692 sender: *4 required: - ref @@ -116609,11 +117031,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116697,11 +117119,11 @@ webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116785,11 +117207,11 @@ webhooks: type: string enum: - created - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116871,11 +117293,11 @@ webhooks: type: string enum: - dismissed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -116957,11 +117379,11 @@ webhooks: type: string enum: - fixed - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117044,11 +117466,11 @@ webhooks: type: string enum: - reintroduced - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117130,11 +117552,11 @@ webhooks: type: string enum: - reopened - alert: *455 - installation: *687 - organization: *688 - enterprise: *686 - repository: *689 + alert: *456 + installation: *690 + organization: *691 + enterprise: *689 + repository: *692 sender: *4 required: - action @@ -117211,9 +117633,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - key: &697 + enterprise: *689 + installation: *690 + key: &700 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117251,8 +117673,8 @@ webhooks: - verified - created_at - read_only - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -117329,11 +117751,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - key: *697 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + key: *700 + organization: *691 + repository: *692 sender: *4 required: - action @@ -117905,12 +118327,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: &701 + workflow: &704 title: Workflow type: - object @@ -118648,13 +119070,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *462 pull_requests: type: array - items: *544 - repository: *689 - organization: *688 - installation: *687 + items: *545 + repository: *692 + organization: *691 + installation: *690 sender: *4 responses: '200': @@ -118725,7 +119147,7 @@ webhooks: type: string enum: - approved - approver: &698 + approver: &701 type: object properties: avatar_url: @@ -118768,11 +119190,11 @@ webhooks: type: string comment: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - reviewers: &699 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + reviewers: &702 type: array items: type: object @@ -118853,7 +119275,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &700 + workflow_job_run: &703 type: object properties: conclusion: @@ -119599,18 +120021,18 @@ webhooks: type: string enum: - rejected - approver: *698 + approver: *701 comment: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - reviewers: *699 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + reviewers: *702 sender: *4 since: type: string - workflow_job_run: *700 + workflow_job_run: *703 workflow_job_runs: type: array items: @@ -120327,13 +120749,13 @@ webhooks: type: string enum: - requested - enterprise: *686 + enterprise: *689 environment: type: string - installation: *687 - organization: *688 - repository: *689 - requestor: &706 + installation: *690 + organization: *691 + repository: *692 + requestor: &709 title: User type: - object @@ -122276,12 +122698,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Deployment Workflow Run type: @@ -122972,7 +123394,7 @@ webhooks: type: string enum: - answered - answer: &704 + answer: &707 type: object properties: author_association: @@ -123132,7 +123554,7 @@ webhooks: - created_at - updated_at - body - discussion: &702 + discussion: &705 title: Discussion description: A Discussion in a repository. type: object @@ -123428,7 +123850,7 @@ webhooks: - id labels: type: array - items: *507 + items: *508 required: - repository_url - category @@ -123450,10 +123872,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123580,11 +124002,11 @@ webhooks: - from required: - category - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123667,11 +124089,11 @@ webhooks: type: string enum: - closed - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -123753,7 +124175,7 @@ webhooks: type: string enum: - created - comment: &703 + comment: &706 type: object properties: author_association: @@ -123913,11 +124335,11 @@ webhooks: - updated_at - body - reactions - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124000,12 +124422,12 @@ webhooks: type: string enum: - deleted - comment: *703 - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + comment: *706 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124100,12 +124522,12 @@ webhooks: - from required: - body - comment: *703 - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + comment: *706 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124189,11 +124611,11 @@ webhooks: type: string enum: - created - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124275,11 +124697,11 @@ webhooks: type: string enum: - deleted - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124379,11 +124801,11 @@ webhooks: type: string required: - from - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124465,10 +124887,10 @@ webhooks: type: string enum: - labeled - discussion: *702 - enterprise: *686 - installation: *687 - label: &705 + discussion: *705 + enterprise: *689 + installation: *690 + label: &708 title: Label type: object properties: @@ -124501,8 +124923,8 @@ webhooks: - color - default - description - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124585,11 +125007,11 @@ webhooks: type: string enum: - locked - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124671,11 +125093,11 @@ webhooks: type: string enum: - pinned - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124757,11 +125179,11 @@ webhooks: type: string enum: - reopened - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124846,16 +125268,16 @@ webhooks: changes: type: object properties: - new_discussion: *702 - new_repository: *689 + new_discussion: *705 + new_repository: *692 required: - new_discussion - new_repository - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -124938,10 +125360,10 @@ webhooks: type: string enum: - unanswered - discussion: *702 - old_answer: *704 - organization: *688 - repository: *689 + discussion: *705 + old_answer: *707 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125023,12 +125445,12 @@ webhooks: type: string enum: - unlabeled - discussion: *702 - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125111,11 +125533,11 @@ webhooks: type: string enum: - unlocked - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125197,11 +125619,11 @@ webhooks: type: string enum: - unpinned - discussion: *702 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + discussion: *705 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -125274,7 +125696,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *686 + enterprise: *689 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125952,9 +126374,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - forkee @@ -126100,9 +126522,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pages: description: The pages that were updated. type: array @@ -126140,7 +126562,7 @@ webhooks: - action - sha - html_url - repository: *689 + repository: *692 sender: *4 required: - pages @@ -126216,10 +126638,10 @@ webhooks: type: string enum: - created - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: &707 + organization: *691 + repositories: &710 description: An array of repository objects that the installation can access. type: array @@ -126245,8 +126667,8 @@ webhooks: - name - full_name - private - repository: *689 - requester: *706 + repository: *692 + requester: *709 sender: *4 required: - action @@ -126321,11 +126743,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126402,11 +126824,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126483,10 +126905,10 @@ webhooks: type: string enum: - added - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories_added: &708 + organization: *691 + repositories_added: &711 description: An array of repository objects, which were added to the installation. type: array @@ -126532,15 +126954,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *689 - repository_selection: &709 + repository: *692 + repository_selection: &712 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *706 + requester: *709 sender: *4 required: - action @@ -126619,10 +127041,10 @@ webhooks: type: string enum: - removed - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories_added: *708 + organization: *691 + repositories_added: *711 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126649,9 +127071,9 @@ webhooks: - name - full_name - private - repository: *689 - repository_selection: *709 - requester: *706 + repository: *692 + repository_selection: *712 + requester: *709 sender: *4 required: - action @@ -126730,11 +127152,11 @@ webhooks: type: string enum: - suspend - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -126916,10 +127338,10 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 target_type: type: string @@ -126998,11 +127420,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *686 + enterprise: *689 installation: *20 - organization: *688 - repositories: *707 - repository: *689 + organization: *691 + repositories: *710 + repository: *692 requester: type: - 'null' @@ -127250,8 +127672,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128068,8 +128490,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128086,7 +128508,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -128430,8 +128852,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -128511,7 +128933,7 @@ webhooks: type: string enum: - deleted - comment: &710 + comment: &713 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128678,8 +129100,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129492,8 +129914,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129510,7 +129932,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -129856,8 +130278,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -129937,7 +130359,7 @@ webhooks: type: string enum: - edited - changes: &734 + changes: &737 description: The changes to the comment. type: object properties: @@ -129949,9 +130371,9 @@ webhooks: type: string required: - from - comment: *710 - enterprise: *686 - installation: *687 + comment: *713 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130767,8 +131189,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130785,7 +131207,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -131129,8 +131551,8 @@ webhooks: - state - locked - assignee - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131220,9 +131642,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131316,9 +131738,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131411,9 +131833,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131507,9 +131929,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -131594,10 +132016,10 @@ webhooks: type: string enum: - assigned - assignee: *706 - enterprise: *686 - installation: *687 - issue: &713 + assignee: *709 + enterprise: *689 + installation: *690 + issue: &716 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132409,11 +132831,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132430,7 +132852,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -132533,8 +132955,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -132614,8 +133036,8 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133432,11 +133854,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133453,7 +133875,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -133699,8 +134121,8 @@ webhooks: required: - state - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -133779,8 +134201,8 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134588,11 +135010,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134609,7 +135031,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -134711,8 +135133,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -134791,8 +135213,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135623,11 +136045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135644,7 +136066,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -135725,7 +136147,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &711 + milestone: &714 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135868,8 +136290,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -135968,8 +136390,8 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136781,11 +137203,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136799,7 +137221,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -136905,9 +137327,9 @@ webhooks: - active_lock_reason - body - reactions - label: *705 - organization: *688 - repository: *689 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -136987,8 +137409,8 @@ webhooks: type: string enum: - labeled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137799,11 +138221,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137817,7 +138239,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -137923,9 +138345,9 @@ webhooks: - active_lock_reason - body - reactions - label: *705 - organization: *688 - repository: *689 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -138005,8 +138427,8 @@ webhooks: type: string enum: - locked - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138842,11 +139264,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138860,7 +139282,7 @@ webhooks: timeline_url: type: string format: uri - type: *203 + type: *205 title: description: Title of the issue type: string @@ -138943,8 +139365,8 @@ webhooks: format: uri user_view_type: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -139023,8 +139445,8 @@ webhooks: type: string enum: - milestoned - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139854,11 +140276,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139875,7 +140297,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -139955,9 +140377,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *711 - organization: *688 - repository: *689 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -140849,11 +141271,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140949,7 +141371,7 @@ webhooks: required: - login - id - type: *203 + type: *205 required: - id - number @@ -141430,8 +141852,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142243,11 +142665,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142264,7 +142686,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -142366,8 +142788,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -142447,9 +142869,9 @@ webhooks: type: string enum: - pinned - enterprise: *686 - installation: *687 - issue: &712 + enterprise: *689 + installation: *690 + issue: &715 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143255,11 +143677,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143276,7 +143698,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -143378,8 +143800,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -143458,8 +143880,8 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144293,11 +144715,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144394,9 +144816,9 @@ webhooks: format: uri user_view_type: type: string - type: *203 - organization: *688 - repository: *689 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -145285,11 +145707,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145306,7 +145728,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -145888,11 +146310,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *686 - installation: *687 - issue: *712 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *715 + organization: *691 + repository: *692 sender: *4 required: - action @@ -145972,12 +146394,12 @@ webhooks: type: string enum: - typed - enterprise: *686 - installation: *687 - issue: *713 - type: *203 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146058,7 +146480,7 @@ webhooks: type: string enum: - unassigned - assignee: &737 + assignee: &740 title: User type: - object @@ -146130,11 +146552,11 @@ webhooks: required: - login - id - enterprise: *686 - installation: *687 - issue: *713 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146213,12 +146635,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *686 - installation: *687 - issue: *713 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -146298,8 +146720,8 @@ webhooks: type: string enum: - unlocked - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147133,11 +147555,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *622 - issue_dependencies_summary: *623 + sub_issues_summary: *623 + issue_dependencies_summary: *624 issue_field_values: type: array - items: *624 + items: *625 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147154,7 +147576,7 @@ webhooks: title: description: Title of the issue type: string - type: *203 + type: *205 updated_at: type: string format: date-time @@ -147234,8 +147656,8 @@ webhooks: format: uri user_view_type: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147315,11 +147737,11 @@ webhooks: type: string enum: - unpinned - enterprise: *686 - installation: *687 - issue: *712 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *715 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147398,12 +147820,12 @@ webhooks: type: string enum: - untyped - enterprise: *686 - installation: *687 - issue: *713 - type: *203 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + issue: *716 + type: *205 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147483,11 +147905,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147565,11 +147987,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147679,11 +148101,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - label: *705 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + label: *708 + organization: *691 + repository: *692 sender: *4 required: - action @@ -147765,9 +148187,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: &714 + enterprise: *689 + installation: *690 + marketplace_purchase: &717 title: Marketplace Purchase type: object required: @@ -147855,8 +148277,8 @@ webhooks: type: integer unit_count: type: integer - organization: *688 - previous_marketplace_purchase: &715 + organization: *691 + previous_marketplace_purchase: &718 title: Marketplace Purchase type: object properties: @@ -147940,7 +148362,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148020,10 +148442,10 @@ webhooks: - changed effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148111,7 +148533,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148193,10 +148615,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148282,7 +148704,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *689 + repository: *692 sender: *4 required: - action @@ -148363,8 +148785,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 marketplace_purchase: title: Marketplace Purchase type: object @@ -148450,9 +148872,9 @@ webhooks: type: integer unit_count: type: integer - organization: *688 - previous_marketplace_purchase: *715 - repository: *689 + organization: *691 + previous_marketplace_purchase: *718 + repository: *692 sender: *4 required: - action @@ -148532,12 +148954,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *686 - installation: *687 - marketplace_purchase: *714 - organization: *688 - previous_marketplace_purchase: *715 - repository: *689 + enterprise: *689 + installation: *690 + marketplace_purchase: *717 + organization: *691 + previous_marketplace_purchase: *718 + repository: *692 sender: *4 required: - action @@ -148639,11 +149061,11 @@ webhooks: type: string required: - to - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148745,11 +149167,11 @@ webhooks: type: - string - 'null' - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148828,11 +149250,11 @@ webhooks: type: string enum: - removed - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 sender: *4 required: - action @@ -148910,11 +149332,11 @@ webhooks: type: string enum: - added - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148992,7 +149414,7 @@ webhooks: required: - login - id - team: &716 + team: &719 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149222,11 +149644,11 @@ webhooks: type: string enum: - removed - enterprise: *686 - installation: *687 - member: *706 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + member: *709 + organization: *691 + repository: *692 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149305,7 +149727,7 @@ webhooks: required: - login - id - team: *716 + team: *719 required: - action - scope @@ -149387,8 +149809,8 @@ webhooks: type: string enum: - checks_requested - installation: *687 - merge_group: &717 + installation: *690 + merge_group: &720 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149407,15 +149829,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *392 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149501,10 +149923,10 @@ webhooks: - merged - invalidated - dequeued - installation: *687 - merge_group: *717 - organization: *688 - repository: *689 + installation: *690 + merge_group: *720 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149577,7 +149999,7 @@ webhooks: type: string enum: - deleted - enterprise: *686 + enterprise: *689 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149686,12 +150108,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *687 - organization: *688 + installation: *690 + organization: *691 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -149771,11 +150193,11 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -149854,9 +150276,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - milestone: &718 + enterprise: *689 + installation: *690 + milestone: &721 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149998,8 +150420,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150078,11 +150500,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150192,11 +150614,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - milestone: *711 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *714 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150276,11 +150698,11 @@ webhooks: type: string enum: - opened - enterprise: *686 - installation: *687 - milestone: *718 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + milestone: *721 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150359,11 +150781,11 @@ webhooks: type: string enum: - blocked - blocked_user: *706 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + blocked_user: *709 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150442,11 +150864,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *706 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + blocked_user: *709 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150525,9 +150947,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - membership: &719 + enterprise: *689 + installation: *690 + membership: &722 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150637,8 +151059,8 @@ webhooks: - role - organization_url - user - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150716,11 +151138,11 @@ webhooks: type: string enum: - member_added - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -150799,8 +151221,8 @@ webhooks: type: string enum: - member_invited - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150922,10 +151344,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 - user: *706 + user: *709 required: - action - invitation @@ -151003,11 +151425,11 @@ webhooks: type: string enum: - member_removed - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -151094,11 +151516,11 @@ webhooks: properties: from: type: string - enterprise: *686 - installation: *687 - membership: *719 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + membership: *722 + organization: *691 + repository: *692 sender: *4 required: - action @@ -151174,9 +151596,9 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 package: description: Information about the package. type: object @@ -151699,7 +152121,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &720 + items: &723 title: Ruby Gems metadata type: object properties: @@ -151796,7 +152218,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -151872,9 +152294,9 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 package: description: Information about the package. type: object @@ -152236,7 +152658,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *720 + items: *723 source_url: type: string format: uri @@ -152307,7 +152729,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -152488,12 +152910,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *686 + enterprise: *689 id: type: integer - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - id @@ -152570,7 +152992,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &721 + personal_access_token_request: &724 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152720,10 +153142,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *686 - organization: *688 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152800,11 +153222,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *721 - enterprise: *686 - organization: *688 + personal_access_token_request: *724 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152880,11 +153302,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *721 - enterprise: *686 - organization: *688 + personal_access_token_request: *724 + enterprise: *689 + organization: *691 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -152959,11 +153381,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *721 - organization: *688 - enterprise: *686 + personal_access_token_request: *724 + organization: *691 + enterprise: *689 sender: *4 - installation: *687 + installation: *690 required: - action - personal_access_token_request @@ -153068,7 +153490,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *722 + last_response: *725 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153100,8 +153522,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 zen: description: Random string of GitHub zen. @@ -153346,10 +153768,10 @@ webhooks: - from required: - note - enterprise: *686 - installation: *687 - organization: *688 - project_card: &723 + enterprise: *689 + installation: *690 + organization: *691 + project_card: &726 title: Project Card type: object properties: @@ -153472,7 +153894,7 @@ webhooks: - creator - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -153553,11 +153975,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project_card: *723 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_card: *726 + repository: *692 sender: *4 required: - action @@ -153637,9 +154059,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 project_card: title: Project Card type: object @@ -153769,7 +154191,7 @@ webhooks: repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -153863,11 +154285,11 @@ webhooks: - from required: - note - enterprise: *686 - installation: *687 - organization: *688 - project_card: *723 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_card: *726 + repository: *692 sender: *4 required: - action @@ -153961,9 +154383,9 @@ webhooks: - from required: - column_id - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 project_card: allOf: - title: Project Card @@ -154160,7 +154582,7 @@ webhooks: type: string required: - after_id - repository: *689 + repository: *692 sender: *4 required: - action @@ -154240,10 +154662,10 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - organization: *688 - project: &725 + enterprise: *689 + installation: *690 + organization: *691 + project: &728 title: Project type: object properties: @@ -154370,7 +154792,7 @@ webhooks: - creator - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -154450,10 +154872,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project_column: &724 + enterprise: *689 + installation: *690 + organization: *691 + project_column: &727 title: Project Column type: object properties: @@ -154493,7 +154915,7 @@ webhooks: - name - created_at - updated_at - repository: *689 + repository: *692 sender: *4 required: - action @@ -154572,14 +154994,14 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -154668,11 +155090,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 + repository: *692 sender: *4 required: - action @@ -154752,11 +155174,11 @@ webhooks: type: string enum: - moved - enterprise: *686 - installation: *687 - organization: *688 - project_column: *724 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project_column: *727 + repository: *692 sender: *4 required: - action @@ -154836,11 +155258,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -154920,14 +155342,14 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - project: *725 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 repository: anyOf: - type: 'null' - - *689 + - *692 sender: *4 required: - action @@ -155028,11 +155450,11 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -155111,11 +155533,11 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 - organization: *688 - project: *725 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + project: *728 + repository: *692 sender: *4 required: - action @@ -155196,9 +155618,9 @@ webhooks: type: string enum: - closed - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155279,9 +155701,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155362,9 +155784,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155485,9 +155907,9 @@ webhooks: type: string to: type: string - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -155570,7 +155992,7 @@ webhooks: type: string enum: - archived - changes: &729 + changes: &732 type: object properties: archived_at: @@ -155586,9 +156008,9 @@ webhooks: - string - 'null' format: date-time - installation: *687 - organization: *688 - projects_v2_item: &726 + installation: *690 + organization: *691 + projects_v2_item: &729 title: Projects v2 Item description: An item belonging to a project type: object @@ -155606,7 +156028,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *244 + content_type: *245 creator: *4 created_at: type: string @@ -155728,9 +156150,9 @@ webhooks: - 'null' to: type: string - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -155812,9 +156234,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -155895,9 +156317,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156002,7 +156424,7 @@ webhooks: oneOf: - type: string - type: integer - - &727 + - &730 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156026,7 +156448,7 @@ webhooks: required: - id - name - - &728 + - &731 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156066,8 +156488,8 @@ webhooks: oneOf: - type: string - type: integer - - *727 - - *728 + - *730 + - *731 type: - 'null' - string @@ -156090,9 +156512,9 @@ webhooks: - 'null' required: - body - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156189,9 +156611,9 @@ webhooks: type: - string - 'null' - installation: *687 - organization: *688 - projects_v2_item: *726 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156274,10 +156696,10 @@ webhooks: type: string enum: - restored - changes: *729 - installation: *687 - organization: *688 - projects_v2_item: *726 + changes: *732 + installation: *690 + organization: *691 + projects_v2_item: *729 sender: *4 required: - action @@ -156359,9 +156781,9 @@ webhooks: type: string enum: - reopened - installation: *687 - organization: *688 - projects_v2: *237 + installation: *690 + organization: *691 + projects_v2: *239 sender: *4 required: - action @@ -156442,9 +156864,9 @@ webhooks: type: string enum: - created - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156525,9 +156947,9 @@ webhooks: type: string enum: - deleted - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156673,9 +157095,9 @@ webhooks: - string - 'null' format: date - installation: *687 - organization: *688 - projects_v2_status_update: *730 + installation: *690 + organization: *691 + projects_v2_status_update: *733 sender: *4 required: - action @@ -156746,10 +157168,10 @@ webhooks: title: public event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - repository @@ -156826,13 +157248,13 @@ webhooks: type: string enum: - assigned - assignee: *706 - enterprise: *686 - installation: *687 - number: &731 + assignee: *709 + enterprise: *689 + installation: *690 + number: &734 description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -159181,7 +159603,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -159263,11 +159685,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -161609,7 +162031,7 @@ webhooks: - draft reason: type: string - repository: *689 + repository: *692 sender: *4 required: - action @@ -161691,11 +162113,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -164037,7 +164459,7 @@ webhooks: - draft reason: type: string - repository: *689 + repository: *692 sender: *4 required: - action @@ -164119,13 +164541,13 @@ webhooks: type: string enum: - closed - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: &732 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: &735 allOf: - - *544 + - *545 - type: object properties: allow_auto_merge: @@ -164187,7 +164609,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *689 + repository: *692 sender: *4 required: - action @@ -164268,12 +164690,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -164353,11 +164775,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *686 - milestone: *242 - number: *731 - organization: *688 - pull_request: &733 + enterprise: *689 + milestone: *243 + number: *734 + organization: *691 + pull_request: &736 title: Pull Request type: object properties: @@ -166684,7 +167106,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -166763,11 +167185,11 @@ webhooks: type: string enum: - dequeued - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -169113,7 +169535,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *689 + repository: *692 sender: *4 required: - action @@ -169237,12 +169659,12 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -169322,11 +169744,11 @@ webhooks: type: string enum: - enqueued - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -171657,7 +172079,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -171737,11 +172159,11 @@ webhooks: type: string enum: - labeled - enterprise: *686 - installation: *687 - label: *705 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + label: *708 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -174089,7 +174511,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -174170,10 +174592,10 @@ webhooks: type: string enum: - locked - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -176519,7 +176941,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -176599,12 +177021,12 @@ webhooks: type: string enum: - milestoned - enterprise: *686 - milestone: *242 - number: *731 - organization: *688 - pull_request: *733 - repository: *689 + enterprise: *689 + milestone: *243 + number: *734 + organization: *691 + pull_request: *736 + repository: *692 sender: *4 required: - action @@ -176683,12 +177105,12 @@ webhooks: type: string enum: - opened - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -176769,12 +177191,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -176854,12 +177276,12 @@ webhooks: type: string enum: - reopened - enterprise: *686 - installation: *687 - number: *731 - organization: *688 - pull_request: *732 - repository: *689 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 + pull_request: *735 + repository: *692 sender: *4 required: - action @@ -177234,9 +177656,9 @@ webhooks: - start_side - side - reactions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -179466,7 +179888,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -179546,7 +179968,7 @@ webhooks: type: string enum: - deleted - comment: &735 + comment: &738 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179839,9 +180261,9 @@ webhooks: - start_side - side - reactions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -182059,7 +182481,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -182139,11 +182561,11 @@ webhooks: type: string enum: - edited - changes: *734 - comment: *735 - enterprise: *686 - installation: *687 - organization: *688 + changes: *737 + comment: *738 + enterprise: *689 + installation: *690 + organization: *691 pull_request: type: object properties: @@ -184364,7 +184786,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *689 + repository: *692 sender: *4 required: - action @@ -184445,9 +184867,9 @@ webhooks: type: string enum: - dismissed - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -186680,7 +187102,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 review: description: The review that was affected. type: object @@ -186931,9 +187353,9 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -189047,8 +189469,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 - review: &736 + repository: *692 + review: &739 description: The review that was affected. type: object properties: @@ -189286,12 +189708,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -191638,7 +192060,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_reviewer: title: User type: @@ -191724,12 +192146,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -194083,7 +194505,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194278,12 +194700,12 @@ webhooks: type: string enum: - review_requested - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -196632,7 +197054,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_reviewer: title: User type: @@ -196719,12 +197141,12 @@ webhooks: type: string enum: - review_requested - enterprise: *686 - installation: *687 + enterprise: *689 + installation: *690 number: description: The pull request number. type: integer - organization: *688 + organization: *691 pull_request: title: Pull Request type: object @@ -199064,7 +199486,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199248,9 +199670,9 @@ webhooks: type: string enum: - submitted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -201486,8 +201908,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 - review: *736 + repository: *692 + review: *739 sender: *4 required: - action @@ -201567,9 +201989,9 @@ webhooks: type: string enum: - resolved - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -203700,7 +204122,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 sender: *4 thread: type: object @@ -204097,9 +204519,9 @@ webhooks: type: string enum: - unresolved - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 pull_request: title: Simple Pull Request type: object @@ -206213,7 +206635,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *689 + repository: *692 sender: *4 thread: type: object @@ -206612,10 +207034,10 @@ webhooks: type: string before: type: string - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -208950,7 +209372,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -209032,11 +209454,11 @@ webhooks: type: string enum: - unassigned - assignee: *737 - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + assignee: *740 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -211386,7 +211808,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -211465,11 +211887,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *686 - installation: *687 - label: *705 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + label: *708 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -213808,7 +214230,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -213889,10 +214311,10 @@ webhooks: type: string enum: - unlocked - enterprise: *686 - installation: *687 - number: *731 - organization: *688 + enterprise: *689 + installation: *690 + number: *734 + organization: *691 pull_request: title: Pull Request type: object @@ -216221,7 +216643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *689 + repository: *692 sender: *4 required: - action @@ -216424,7 +216846,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *686 + enterprise: *689 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216519,8 +216941,8 @@ webhooks: - url - author - committer - installation: *687 - organization: *688 + installation: *690 + organization: *691 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217108,9 +217530,9 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 registry_package: type: object properties: @@ -217587,7 +218009,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *720 + items: *723 summary: type: string tag_name: @@ -217643,7 +218065,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -217721,9 +218143,9 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 registry_package: type: object properties: @@ -218035,7 +218457,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *720 + items: *723 summary: type: string tag_name: @@ -218085,7 +218507,7 @@ webhooks: - owner - package_version - registry - repository: *689 + repository: *692 sender: *4 required: - action @@ -218162,10 +218584,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - release: &738 + enterprise: *689 + installation: *690 + organization: *691 + release: &741 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218496,7 +218918,7 @@ webhooks: - updated_at - zipball_url - body - repository: *689 + repository: *692 sender: *4 required: - action @@ -218573,11 +218995,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -218694,11 +219116,11 @@ webhooks: type: boolean required: - to - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -218776,9 +219198,9 @@ webhooks: type: string enum: - prereleased - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219114,7 +219536,7 @@ webhooks: - string - 'null' format: uri - repository: *689 + repository: *692 sender: *4 required: - action @@ -219190,10 +219612,10 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - release: &739 + enterprise: *689 + installation: *690 + organization: *691 + release: &742 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219526,7 +219948,7 @@ webhooks: - string - 'null' format: uri - repository: *689 + repository: *692 sender: *4 required: - action @@ -219602,11 +220024,11 @@ webhooks: type: string enum: - released - enterprise: *686 - installation: *687 - organization: *688 - release: *738 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *741 + repository: *692 sender: *4 required: - action @@ -219682,11 +220104,11 @@ webhooks: type: string enum: - unpublished - enterprise: *686 - installation: *687 - organization: *688 - release: *739 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + release: *742 + repository: *692 sender: *4 required: - action @@ -219762,11 +220184,11 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_advisory: *608 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_advisory: *609 sender: *4 required: - action @@ -219842,11 +220264,11 @@ webhooks: type: string enum: - reported - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_advisory: *608 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_advisory: *609 sender: *4 required: - action @@ -219922,10 +220344,10 @@ webhooks: type: string enum: - archived - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220002,10 +220424,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220083,10 +220505,10 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220171,10 +220593,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220289,10 +220711,10 @@ webhooks: - 'null' items: type: string - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220364,10 +220786,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 status: type: string @@ -220448,10 +220870,10 @@ webhooks: type: string enum: - privatized - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220528,10 +220950,10 @@ webhooks: type: string enum: - publicized - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220625,10 +221047,10 @@ webhooks: - name required: - repository - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -220708,11 +221130,11 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 sender: *4 required: - action @@ -220790,11 +221212,11 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 sender: *4 required: - action @@ -220872,11 +221294,11 @@ webhooks: type: string enum: - edited - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - repository_ruleset: *279 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + repository_ruleset: *280 changes: type: object properties: @@ -220895,16 +221317,16 @@ webhooks: properties: added: type: array - items: *254 + items: *255 deleted: type: array - items: *254 + items: *255 updated: type: array items: type: object properties: - condition: *254 + condition: *255 changes: type: object properties: @@ -220937,16 +221359,16 @@ webhooks: properties: added: type: array - items: *565 + items: *566 deleted: type: array - items: *565 + items: *566 updated: type: array items: type: object properties: - rule: *565 + rule: *566 changes: type: object properties: @@ -221183,10 +221605,10 @@ webhooks: - from required: - owner - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221264,10 +221686,10 @@ webhooks: type: string enum: - unarchived - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221345,7 +221767,7 @@ webhooks: type: string enum: - create - alert: &740 + alert: &743 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221469,10 +221891,10 @@ webhooks: type: string enum: - open - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221682,10 +222104,10 @@ webhooks: type: string enum: - dismissed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221763,11 +222185,11 @@ webhooks: type: string enum: - reopen - alert: *740 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -221969,10 +222391,10 @@ webhooks: enum: - fixed - open - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222050,17 +222472,17 @@ webhooks: type: string enum: - created - alert: &741 + alert: &744 type: object properties: - number: *149 - created_at: *150 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *151 - url: *152 - html_url: *153 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri @@ -222164,10 +222586,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222248,11 +222670,11 @@ webhooks: type: string enum: - created - alert: *741 - installation: *687 - location: *742 - organization: *688 - repository: *689 + alert: *744 + installation: *690 + location: *745 + organization: *691 + repository: *692 sender: *4 required: - location @@ -222490,11 +222912,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222572,11 +222994,11 @@ webhooks: type: string enum: - reopened - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222654,11 +223076,11 @@ webhooks: type: string enum: - resolved - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222736,11 +223158,11 @@ webhooks: type: string enum: - validated - alert: *741 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + alert: *744 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -222870,10 +223292,10 @@ webhooks: - organization - enterprise - - repository: *689 - enterprise: *686 - installation: *687 - organization: *688 + repository: *692 + enterprise: *689 + installation: *690 + organization: *691 sender: *4 required: - action @@ -222951,11 +223373,11 @@ webhooks: type: string enum: - published - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - security_advisory: &743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + security_advisory: &746 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223141,11 +223563,11 @@ webhooks: type: string enum: - updated - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 - security_advisory: *743 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 + security_advisory: *746 sender: *4 required: - action @@ -223218,10 +223640,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223407,11 +223829,11 @@ webhooks: from: type: object properties: - security_and_analysis: *253 - enterprise: *686 - installation: *687 - organization: *688 - repository: *315 + security_and_analysis: *254 + enterprise: *689 + installation: *690 + organization: *691 + repository: *316 sender: *4 required: - changes @@ -223489,12 +223911,12 @@ webhooks: type: string enum: - cancelled - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: &744 + sponsorship: &747 type: object properties: created_at: @@ -223799,12 +224221,12 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - sponsorship @@ -223892,12 +224314,12 @@ webhooks: type: string required: - from - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -223974,17 +224396,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &745 + effective_date: &748 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: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - sponsorship @@ -224058,7 +224480,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &746 + changes: &749 type: object properties: tier: @@ -224102,13 +224524,13 @@ webhooks: - from required: - tier - effective_date: *745 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + effective_date: *748 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -224185,13 +224607,13 @@ webhooks: type: string enum: - tier_changed - changes: *746 - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + changes: *749 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - sponsorship: *744 + sponsorship: *747 required: - action - changes @@ -224265,10 +224687,10 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224352,10 +224774,10 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224789,15 +225211,15 @@ webhooks: type: - string - 'null' - enterprise: *686 + enterprise: *689 id: description: The unique identifier of the status. type: integer - installation: *687 + installation: *690 name: type: string - organization: *688 - repository: *689 + organization: *691 + repository: *692 sender: *4 sha: description: The Commit SHA. @@ -224913,9 +225335,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225005,9 +225427,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225097,9 +225519,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225189,9 +225611,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *687 - organization: *688 - repository: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -225268,12 +225690,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - team: &747 + team: &750 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225503,9 +225925,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -225975,7 +226397,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -226051,9 +226473,9 @@ webhooks: type: string enum: - created - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -226523,7 +226945,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -226600,9 +227022,9 @@ webhooks: type: string enum: - deleted - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -227072,7 +227494,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -227216,9 +227638,9 @@ webhooks: - from required: - permissions - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -227688,7 +228110,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - changes @@ -227766,9 +228188,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *686 - installation: *687 - organization: *688 + enterprise: *689 + installation: *690 + organization: *691 repository: title: Repository description: A git repository @@ -228238,7 +228660,7 @@ webhooks: - topics - visibility sender: *4 - team: *747 + team: *750 required: - action - team @@ -228314,10 +228736,10 @@ webhooks: type: string enum: - started - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 required: - action @@ -228390,17 +228812,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *686 + enterprise: *689 inputs: type: - object - 'null' additionalProperties: true - installation: *687 - organization: *688 + installation: *690 + organization: *691 ref: type: string - repository: *689 + repository: *692 sender: *4 workflow: type: string @@ -228482,10 +228904,10 @@ webhooks: type: string enum: - completed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: allOf: @@ -228741,7 +229163,7 @@ webhooks: type: string required: - conclusion - deployment: *461 + deployment: *462 required: - action - repository @@ -228820,10 +229242,10 @@ webhooks: type: string enum: - in_progress - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: allOf: @@ -229105,7 +229527,7 @@ webhooks: required: - status - steps - deployment: *461 + deployment: *462 required: - action - repository @@ -229184,10 +229606,10 @@ webhooks: type: string enum: - queued - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: type: object @@ -229333,7 +229755,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *462 required: - action - repository @@ -229412,10 +229834,10 @@ webhooks: type: string enum: - waiting - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 workflow_job: type: object @@ -229562,7 +229984,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *462 required: - action - repository @@ -229642,12 +230064,12 @@ webhooks: type: string enum: - completed - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object @@ -230666,12 +231088,12 @@ webhooks: type: string enum: - in_progress - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object @@ -231675,12 +232097,12 @@ webhooks: type: string enum: - requested - enterprise: *686 - installation: *687 - organization: *688 - repository: *689 + enterprise: *689 + installation: *690 + organization: *691 + repository: *692 sender: *4 - workflow: *701 + workflow: *704 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 6322acbb3..383c409a5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -69670,6 +69670,410 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -108222,7 +108626,305 @@ }, { "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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": { @@ -108237,25 +108939,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." @@ -108264,10 +109025,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." @@ -108276,59 +109033,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 } ] } @@ -128894,6 +129663,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -199726,6 +200505,11 @@ ], "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.", "type": [ @@ -199736,6 +200520,11 @@ "monalisa" ] }, + "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": [ @@ -199957,6 +200746,11 @@ "null" ] }, + "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", @@ -199998,6 +200792,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" @@ -200060,6 +200855,11 @@ ], "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.", "type": "string", @@ -200067,6 +200867,11 @@ "monalisa" ] }, + "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": [ @@ -200414,6 +201219,11 @@ ], "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.", "type": [ @@ -200424,6 +201234,11 @@ "monalisa" ] }, + "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": [ @@ -200570,6 +201385,11 @@ "null" ] }, + "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", @@ -204298,35 +205118,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" + } + ] } } } @@ -763829,35 +764734,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" + } + ] } } } @@ -788760,6 +789750,397 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5891116cf..6af65f838 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &413 + type: &415 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &242 + schema: &245 title: Validation Error Simple description: Validation Error Simple type: object @@ -1081,7 +1081,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: - - &733 + - &735 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1666,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &326 + - &329 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 @@ -1682,7 +1682,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1778,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &328 + default: &331 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &743 + schema: &745 title: Scim Error description: Scim Error type: object @@ -1841,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &241 + schema: &244 title: Validation Error description: Validation Error type: object @@ -1913,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2048,7 +2048,7 @@ paths: - request - response examples: - default: &330 + default: &333 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2252,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &205 + - &208 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) @@ -3055,7 +3055,7 @@ paths: license: anyOf: - type: 'null' - - &216 + - &219 title: License Simple description: License Simple type: object @@ -7804,7 +7804,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &246 type: object properties: total_active_caches_count: @@ -7819,7 +7819,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &244 + default: &247 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8034,7 +8034,7 @@ paths: - public_ip_enabled - platform examples: - default: &245 + default: &248 value: total_count: 2 runners: @@ -8338,7 +8338,7 @@ paths: application/json: schema: *43 examples: - default: &246 + default: &249 value: id: 1 platform: linux-x64 @@ -8483,7 +8483,7 @@ paths: application/json: schema: *46 examples: - default: &247 + default: &250 value: version: 1.0.0 size_gb: 75 @@ -8651,7 +8651,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 type: object properties: public_ips: @@ -8678,7 +8678,7 @@ paths: required: - public_ips examples: - default: &249 + default: &252 value: public_ips: current_usage: 17 @@ -8718,7 +8718,7 @@ paths: type: array items: *50 examples: - default: &250 + default: &253 value: id: 4-core cpu_cores: 4 @@ -8982,7 +8982,7 @@ paths: - all - local_only - selected - selected_actions_url: &253 + selected_actions_url: &256 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` @@ -9062,7 +9062,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &255 + schema: &258 type: object properties: days: @@ -9080,7 +9080,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &744 + '401': &746 description: Authorization failure '404': *6 x-github: @@ -9108,7 +9108,7 @@ paths: required: true content: application/json: - schema: &256 + schema: &259 type: object properties: days: @@ -9157,7 +9157,7 @@ paths: required: - approval_policy examples: - default: &257 + default: &260 value: approval_policy: first_time_contributors '404': *6 @@ -9215,7 +9215,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &261 type: object required: - run_workflows_from_fork_pull_requests @@ -9269,7 +9269,7 @@ paths: required: true content: application/json: - schema: &259 + schema: &262 type: object required: - run_workflows_from_fork_pull_requests @@ -9705,7 +9705,7 @@ paths: description: Success response content: application/json: - schema: &262 + schema: &265 type: object properties: default_workflow_permissions: &61 @@ -9753,7 +9753,7 @@ paths: required: true content: application/json: - schema: &263 + schema: &266 type: object properties: default_workflow_permissions: *61 @@ -10598,7 +10598,7 @@ paths: application/json: schema: type: array - items: &267 + items: &270 title: Runner Application description: Runner Application type: object @@ -10623,7 +10623,7 @@ paths: - download_url - filename examples: - default: &268 + default: &271 value: - os: osx architecture: x64 @@ -10707,7 +10707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &269 + '201': &272 description: Response content: application/json: @@ -10826,7 +10826,7 @@ paths: - token - expires_at examples: - default: &270 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10866,7 +10866,7 @@ paths: application/json: schema: *73 examples: - default: &271 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10898,7 +10898,7 @@ paths: application/json: schema: *70 examples: - default: &272 + default: &275 value: id: 23 name: MBP @@ -11114,7 +11114,7 @@ paths: - *39 - *69 responses: - '200': &273 + '200': &276 description: Response content: application/json: @@ -11170,7 +11170,7 @@ paths: parameters: - *39 - *69 - - &274 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11267,7 +11267,7 @@ paths: required: true content: application/json: - schema: &281 + schema: &284 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11918,7 +11918,7 @@ paths: required: false schema: type: string - - &282 + - &285 name: include description: |- The event types to include: @@ -11936,7 +11936,7 @@ paths: - web - git - all - - &283 + - &286 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. @@ -11944,7 +11944,7 @@ paths: required: false schema: type: string - - &284 + - &287 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. @@ -11952,7 +11952,7 @@ paths: required: false schema: type: string - - &285 + - &288 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11974,7 +11974,7 @@ paths: application/json: schema: type: array - items: &286 + items: &289 type: object properties: "@timestamp": @@ -12096,7 +12096,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &287 + default: &290 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12764,7 +12764,7 @@ paths: application/json: schema: type: array - items: &288 + items: &291 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12936,7 +12936,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &289 + default: &292 value: - id: 21 number: 42 @@ -13041,7 +13041,7 @@ paths: application/json: schema: type: array - items: &291 + items: &294 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13172,7 +13172,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &292 + default: &295 value: - id: 21 number: 42 @@ -13257,7 +13257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &297 + - &300 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`, @@ -13267,7 +13267,7 @@ paths: schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &298 + - &301 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 @@ -13291,7 +13291,7 @@ paths: be returned. in: query required: false - schema: &299 + schema: &302 type: string description: State of a code scanning alert. enum: @@ -13316,7 +13316,7 @@ paths: application/json: schema: type: array - items: &300 + items: &303 type: object properties: number: &119 @@ -13345,7 +13345,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &528 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13381,7 +13381,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &527 + dismissed_reason: &529 type: - string - 'null' @@ -13392,14 +13392,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &528 + dismissed_comment: &530 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &529 + rule: &531 type: object properties: id: @@ -13460,7 +13460,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &532 type: object properties: name: *105 @@ -13471,15 +13471,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &531 + most_recent_instance: &533 type: object properties: - ref: &524 + ref: &526 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &543 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13490,7 +13490,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &544 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13881,7 +13881,7 @@ paths: - most_recent_instance - repository examples: - default: &301 + default: &304 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14540,7 +14540,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &302 + code_scanning_options: &305 type: - object - 'null' @@ -14738,7 +14738,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &307 type: array description: A list of default code security configurations items: @@ -14754,7 +14754,7 @@ paths: default configuration: *108 examples: - default: &305 + default: &308 value: - default_for_new_repos: public configuration: @@ -15208,7 +15208,7 @@ paths: default: value: default_for_new_repos: all - configuration: &303 + configuration: &306 value: id: 1325 target_type: organization @@ -15293,7 +15293,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 type: object description: Repositories associated with a code security configuration and attachment status @@ -15317,7 +15317,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &307 + repository: &310 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15818,7 +15818,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &293 + - &296 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15895,7 +15895,7 @@ paths: parent: anyOf: - type: 'null' - - &361 + - &364 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16588,7 +16588,7 @@ paths: application/json: schema: type: array - items: &192 + items: &195 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16903,7 +16903,7 @@ paths: - date additionalProperties: true examples: - default: &193 + default: &196 value: - date: '2024-06-24' total_active_users: 24 @@ -17005,7 +17005,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &194 + '422': &197 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -17242,7 +17242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &313 + - &316 name: state in: query description: |- @@ -17251,7 +17251,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &314 + - &317 name: severity in: query description: |- @@ -17260,7 +17260,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &315 + - &318 name: ecosystem in: query description: |- @@ -17269,14 +17269,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &316 + - &319 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 - - &317 + - &320 name: epss_percentage in: query description: |- @@ -17288,7 +17288,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 - - &577 + - &579 name: has in: query description: |- @@ -17302,7 +17302,7 @@ paths: type: string enum: - patch - - &318 + - &321 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17312,7 +17312,7 @@ paths: enum: - development - runtime - - &319 + - &322 name: sort in: query description: |- @@ -17338,7 +17338,7 @@ paths: application/json: schema: type: array - items: &320 + items: &323 type: object description: A Dependabot alert. properties: @@ -17405,7 +17405,7 @@ paths: - direct - transitive - - security_advisory: &578 + security_advisory: &580 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17641,7 +17641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &579 + auto_dismissed_at: &581 type: - string - 'null' @@ -17668,7 +17668,7 @@ paths: - repository additionalProperties: false examples: - default: &321 + default: &324 value: - number: 2 state: dismissed @@ -18449,7 +18449,7 @@ paths: type: array items: *134 examples: - default: &195 + default: &198 value: - id: 1 name: Justice League @@ -18786,7 +18786,7 @@ paths: - name - created_on examples: - default: &423 + default: &425 value: total_count: 2 network_configurations: @@ -19009,7 +19009,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: - *39 - - &424 + - &426 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19021,7 +19021,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &427 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19060,7 +19060,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &428 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19894,7 +19894,7 @@ paths: required: true content: application/json: - schema: &392 + schema: &394 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21023,7 +21023,7 @@ paths: conditions: anyOf: - *151 - - &396 + - &398 title: Organization ruleset conditions type: object description: |- @@ -21073,7 +21073,7 @@ paths: - object rules: type: array - items: &699 + items: &701 title: Repository Rule type: object description: A repository rule. @@ -21082,7 +21082,7 @@ paths: - *160 - *161 - *162 - - &696 + - &698 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21176,7 +21176,7 @@ paths: - *176 - *177 - *178 - - &697 + - &699 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21432,7 +21432,7 @@ paths: type: string format: date-time examples: - default: &399 + default: &401 value: - version_id: 3 actor: @@ -21485,7 +21485,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 allOf: - *183 - type: object @@ -21540,7 +21540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &401 + - &403 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21551,7 +21551,7 @@ paths: enum: - open - resolved - - &402 + - &404 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21561,7 +21561,7 @@ paths: required: false schema: type: string - - &403 + - &405 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21570,7 +21570,7 @@ paths: required: false schema: type: string - - &404 + - &406 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. @@ -21586,7 +21586,7 @@ paths: - *17 - *102 - *103 - - &405 + - &407 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21595,7 +21595,7 @@ paths: required: false schema: type: string - - &406 + - &408 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21604,7 +21604,7 @@ paths: schema: type: boolean default: false - - &407 + - &409 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21613,7 +21613,7 @@ paths: schema: type: boolean default: false - - &408 + - &410 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21629,7 +21629,7 @@ paths: application/json: schema: type: array - items: &409 + items: &411 type: object properties: number: *119 @@ -21645,14 +21645,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &711 + state: &713 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: &712 + resolution: &714 type: - string - 'null' @@ -21759,14 +21759,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &713 + - &715 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &715 + - &717 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21823,7 +21823,7 @@ paths: - blob_url - commit_sha - commit_url - - &716 + - &718 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. @@ -21884,7 +21884,7 @@ paths: - page_url - commit_sha - commit_url - - &717 + - &719 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21899,7 +21899,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &718 + - &720 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21914,7 +21914,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &719 + - &721 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21929,7 +21929,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &720 + - &722 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21944,7 +21944,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &721 + - &723 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21959,7 +21959,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &722 + - &724 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21974,7 +21974,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &723 + - &725 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. @@ -21989,7 +21989,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &724 + - &726 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. @@ -22004,7 +22004,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &725 + - &727 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. @@ -22019,7 +22019,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &726 + - &728 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. @@ -22034,7 +22034,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &727 + - &729 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 @@ -22059,7 +22059,7 @@ paths: - type: 'null' - *4 examples: - default: &410 + default: &412 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22268,7 +22268,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &413 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22355,7 +22355,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &412 + default: &414 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22499,7 +22499,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 type: object properties: total_minutes_used: @@ -22569,7 +22569,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &417 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -22600,7 +22600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &416 + - &418 name: advanced_security_product in: query description: | @@ -22620,7 +22620,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &419 type: object properties: total_advanced_security_committers: @@ -22683,7 +22683,7 @@ paths: required: - repositories examples: - default: &418 + default: &420 value: total_advanced_security_committers: 2 total_count: 2 @@ -23307,7 +23307,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 type: object properties: total_gigabytes_bandwidth_used: @@ -23325,7 +23325,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &422 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -23359,7 +23359,7 @@ paths: required: false schema: type: integer - - &232 + - &192 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 @@ -23377,28 +23377,29 @@ paths: required: false schema: type: integer - - name: organization + - &193 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &233 + - &235 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &234 + - &236 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &235 + - &194 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -23568,7 +23569,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &423 type: object properties: days_left_in_billing_cycle: @@ -23586,7 +23587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &424 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -23612,7 +23613,7 @@ paths: parameters: - *39 - *190 - - &236 + - &237 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 @@ -23634,7 +23635,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &237 + schema: &238 type: object properties: usageItems: @@ -23687,7 +23688,7 @@ paths: - netAmount - organizationName examples: - default: &238 + default: &239 value: usageItems: - date: '2023-08-01' @@ -23710,6 +23711,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: + - *39 + - *190 + - *192 + - *191 + - *193 + - &240 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *194 + - &241 + 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': *27 + '500': *38 + '503': *184 + 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 @@ -23770,13 +23940,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23805,7 +23975,7 @@ paths: type: array items: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -23884,7 +24054,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23902,7 +24072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &196 + - &199 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23921,7 +24091,7 @@ paths: type: array items: *4 examples: - default: &197 + default: &200 value: - login: octocat id: 1 @@ -23960,7 +24130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -23991,7 +24161,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24009,7 +24179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24040,7 +24210,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24058,7 +24228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *196 + - *199 - *132 responses: '200': @@ -24067,7 +24237,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &198 + exampleKey1: &201 value: login: octocat id: 1 @@ -24103,7 +24273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *196 + - *199 - *132 responses: '201': @@ -24112,7 +24282,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *198 + exampleKey1: *201 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24130,7 +24300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *196 + - *199 - *132 responses: '204': @@ -24153,7 +24323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *196 + - *199 - *17 - *19 responses: @@ -24165,7 +24335,7 @@ paths: type: array items: *67 examples: - default: &199 + default: &202 value: login: github id: 1 @@ -24196,7 +24366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24226,7 +24396,7 @@ paths: type: array items: *67 examples: - default: &231 + default: &234 value: - login: github id: 1 @@ -24257,7 +24427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24298,7 +24468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '200': @@ -24307,7 +24477,7 @@ paths: application/json: schema: *67 examples: - default: *199 + default: *202 '404': description: The team is not assigned to the organization x-github: @@ -24326,7 +24496,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '201': @@ -24335,7 +24505,7 @@ paths: application/json: schema: *67 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24352,7 +24522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '204': @@ -24377,7 +24547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &200 + - &203 name: team_slug description: The slug of the team name. in: path @@ -24391,7 +24561,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -24411,7 +24581,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *200 + - *203 requestBody: required: true content: @@ -24471,7 +24641,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -24494,7 +24664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *200 + - *203 responses: '204': description: Response @@ -24593,7 +24763,7 @@ paths: application/json: schema: type: array - items: &226 + items: &229 title: Event description: Event type: object @@ -24604,7 +24774,7 @@ paths: type: - string - 'null' - actor: &201 + actor: &204 title: Actor description: Actor type: object @@ -24645,13 +24815,13 @@ paths: - id - name - url - org: *201 + org: *204 payload: type: object properties: action: type: string - issue: &215 + issue: &218 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -24772,7 +24942,7 @@ paths: milestone: anyOf: - type: 'null' - - &385 + - &387 title: Milestone description: A collection of related issues and pull requests. @@ -24944,7 +25114,7 @@ paths: timeline_url: type: string format: uri - type: &348 + type: &351 title: Issue Type description: The type of issue. type: @@ -25002,7 +25172,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &202 + author_association: &205 title: author_association type: string description: How the author is associated with the repository. @@ -25017,7 +25187,7 @@ paths: - OWNER examples: - OWNER - reactions: &203 + reactions: &206 title: Reaction Rollup type: object properties: @@ -25053,7 +25223,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &771 + sub_issues_summary: &773 title: Sub-issues Summary type: object properties: @@ -25074,7 +25244,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &772 + issue_dependencies_summary: &774 title: Issue Dependencies Summary type: object properties: @@ -25093,7 +25263,7 @@ paths: - total_blocking issue_field_values: type: array - items: &773 + items: &775 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25188,7 +25358,7 @@ paths: - user - created_at - updated_at - comment: &634 + comment: &636 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25238,12 +25408,12 @@ paths: issue_url: type: string format: uri - author_association: *202 + author_association: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - id - node_id @@ -25421,7 +25591,7 @@ paths: _links: type: object properties: - timeline: &204 + timeline: &207 title: Link With Type description: Hypermedia Link with Type type: object @@ -25433,17 +25603,17 @@ paths: required: - href - type - user: *204 - security_advisories: *204 - current_user: *204 - current_user_public: *204 - current_user_actor: *204 - current_user_organization: *204 + user: *207 + security_advisories: *207 + current_user: *207 + current_user_public: *207 + current_user_actor: *207 + current_user_organization: *207 current_user_organizations: type: array - items: *204 - repository_discussions: *204 - repository_discussions_category: *204 + items: *207 + repository_discussions: *207 + repository_discussions_category: *207 required: - timeline - user @@ -25505,7 +25675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *205 + - *208 - *17 - *19 responses: @@ -25515,7 +25685,7 @@ paths: application/json: schema: type: array - items: &206 + items: &209 title: Base Gist description: Base Gist type: object @@ -25612,7 +25782,7 @@ paths: - created_at - updated_at examples: - default: &207 + default: &210 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25736,7 +25906,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &211 title: Gist Simple description: Gist Simple type: object @@ -25754,7 +25924,7 @@ paths: url: type: string format: uri - user: &785 + user: &787 title: Public User description: Public User type: object @@ -26128,7 +26298,7 @@ paths: truncated: type: boolean examples: - default: &209 + default: &212 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -26232,7 +26402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *205 + - *208 - *17 - *19 responses: @@ -26242,9 +26412,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '422': *15 @@ -26266,7 +26436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *205 + - *208 - *17 - *19 responses: @@ -26276,9 +26446,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '401': *23 @@ -26306,7 +26476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &210 + - &213 name: gist_id description: The unique identifier of the gist. in: path @@ -26318,10 +26488,10 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - default: *209 - '403': &213 + default: *212 + '403': &216 description: Forbidden Gist content: application/json: @@ -26370,7 +26540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *210 + - *213 requestBody: required: true content: @@ -26434,9 +26604,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - updateGist: *209 + updateGist: *212 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -26594,7 +26764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -26623,7 +26793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *210 + - *213 - *17 - *19 responses: @@ -26633,7 +26803,7 @@ paths: application/json: schema: type: array - items: &211 + items: &214 title: Gist Comment description: A comment made to a gist. type: object @@ -26671,7 +26841,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *202 + author_association: *205 required: - url - id @@ -26736,7 +26906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *210 + - *213 requestBody: required: true content: @@ -26762,9 +26932,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: &212 + default: &215 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26822,8 +26992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *210 - - &214 + - *213 + - &217 name: comment_id description: The unique identifier of the comment. in: path @@ -26836,12 +27006,12 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: *212 + default: *215 '304': *35 '404': *6 - '403': *213 + '403': *216 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26863,8 +27033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *210 - - *214 + - *213 + - *217 requestBody: required: true content: @@ -26890,9 +27060,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: *212 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -26909,8 +27079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *210 - - *214 + - *213 + - *217 responses: '204': description: Response @@ -26933,7 +27103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *210 + - *213 - *17 - *19 responses: @@ -27034,7 +27204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *210 + - *213 - *17 - *19 responses: @@ -27044,7 +27214,7 @@ paths: application/json: schema: type: array - items: *208 + items: *211 examples: default: value: @@ -27109,13 +27279,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *210 + - *213 responses: '201': description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -27186,7 +27356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *210 + - *213 responses: '204': description: Response if gist is starred @@ -27216,7 +27386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -27238,7 +27408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -27267,7 +27437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *210 + - *213 - name: sha in: path required: true @@ -27278,9 +27448,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - default: *209 + default: *212 '422': *15 '404': *6 '403': *27 @@ -27649,7 +27819,7 @@ paths: - closed - all default: open - - &351 + - &354 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -27668,7 +27838,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - name: collab in: query required: false @@ -27698,9 +27868,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: &352 + default: &355 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27980,7 +28150,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -28278,7 +28448,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &217 + X-CommonMarker-Version: &220 example: 0.17.4 schema: type: string @@ -28333,7 +28503,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *217 + X-CommonMarker-Version: *220 content: text/html: schema: @@ -28362,7 +28532,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: - - &220 + - &223 name: account_id description: account_id parameter in: path @@ -28374,7 +28544,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &222 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -28408,7 +28578,7 @@ paths: - 'null' id: type: integer - plan: &218 + plan: &221 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -28511,7 +28681,7 @@ paths: - 'null' updated_at: type: string - plan: *218 + plan: *221 required: - url - id @@ -28519,7 +28689,7 @@ paths: - login - marketplace_purchase examples: - default: &221 + default: &224 value: url: https://api.github.com/orgs/github type: Organization @@ -28604,9 +28774,9 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: - default: &222 + default: &225 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -28646,14 +28816,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &223 + - &226 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &224 + - &227 name: sort description: The property to sort the results by. in: query @@ -28683,9 +28853,9 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: &225 + default: &228 value: - url: https://api.github.com/orgs/github type: Organization @@ -28759,15 +28929,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: - - *220 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *221 + default: *224 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28799,9 +28969,9 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: - default: *222 + default: *225 headers: Link: *41 '401': *23 @@ -28824,8 +28994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *223 - - *224 + - *226 + - *227 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28845,9 +29015,9 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: *225 + default: *228 headers: Link: *41 '401': *23 @@ -29112,14 +29282,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: - - &446 + - &448 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &449 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29136,7 +29306,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -29181,7 +29351,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &460 + '301': &462 description: Moved permanently content: application/json: @@ -29203,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &663 + - &665 name: all description: If `true`, show notifications marked as read. in: query @@ -29211,7 +29381,7 @@ paths: schema: type: boolean default: false - - &664 + - &666 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29220,8 +29390,8 @@ paths: schema: type: boolean default: false - - *205 - - &665 + - *208 + - &667 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: @@ -29246,14 +29416,14 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Thread description: Thread type: object properties: id: type: string - repository: &266 + repository: &269 title: Minimal Repository description: Minimal Repository type: object @@ -29592,7 +29762,7 @@ paths: type: boolean examples: - false - security_and_analysis: &393 + security_and_analysis: &395 type: - object - 'null' @@ -29765,7 +29935,7 @@ paths: - url - subscription_url examples: - default: &666 + default: &668 value: - id: '1' repository: @@ -29931,7 +30101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &228 + - &231 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 @@ -29945,7 +30115,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -30048,7 +30218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *228 + - *231 responses: '205': description: Reset Content @@ -30071,7 +30241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *228 + - *231 responses: '204': description: No content @@ -30094,13 +30264,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: - - *228 + - *231 responses: '200': description: Response content: application/json: - schema: &229 + schema: &232 title: Thread Subscription description: Thread Subscription type: object @@ -30144,7 +30314,7 @@ paths: - url - subscribed examples: - default: &230 + default: &233 value: subscribed: true ignored: false @@ -30175,7 +30345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *228 + - *231 requestBody: required: false content: @@ -30196,9 +30366,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *35 '403': *27 '401': *23 @@ -30221,7 +30391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *228 + - *231 responses: '204': description: Response @@ -30318,7 +30488,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: example: ; rel="next" @@ -30370,7 +30540,7 @@ paths: - 3 custom_roles: type: array - items: &309 + items: &312 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -30419,7 +30589,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &313 value: id: 8030 name: Security Engineer @@ -30746,7 +30916,7 @@ paths: type: array items: *145 examples: - default: &672 + default: &674 value: - property_name: environment value: production @@ -30796,7 +30966,7 @@ paths: required: - properties examples: - default: &673 + default: &675 value: properties: - property_name: environment @@ -30833,11 +31003,11 @@ paths: parameters: - *81 - *190 - - *232 + - *192 - *191 - - *233 - - *234 - *235 + - *236 + - *194 responses: '200': description: Response when getting a billing premium request usage report @@ -30970,16 +31140,150 @@ paths: parameters: - *81 - *190 - - *236 + - *237 - *191 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 + '400': *14 + '403': *27 + '500': *38 + '503': *184 + 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: + - *81 + - *190 + - *192 + - *191 + - *240 + - *194 + - *241 + 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': *27 '500': *38 @@ -31015,7 +31319,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &242 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -31425,7 +31729,7 @@ paths: - updated_at - archived_at examples: - default-response: &240 + default-response: &243 value: login: github id: 1 @@ -31751,17 +32055,17 @@ paths: description: Response content: application/json: - schema: *239 + schema: *242 examples: - default: *240 + default: *243 '422': description: Validation failed content: application/json: schema: oneOf: - - *241 - - *242 + - *244 + - *245 '409': *112 x-github: githubCloudOnly: false @@ -31816,9 +32120,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *246 examples: - default: *244 + default: *247 headers: Link: *41 x-github: @@ -31859,7 +32163,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &467 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31937,7 +32241,7 @@ paths: type: array items: *42 examples: - default: *245 + default: *248 headers: Link: *41 x-github: @@ -32104,7 +32408,7 @@ paths: application/json: schema: *43 examples: - default: *246 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32196,7 +32500,7 @@ paths: application/json: schema: *46 examples: - default: *247 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32315,9 +32619,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32353,7 +32657,7 @@ paths: type: array items: *50 examples: - default: *250 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32542,7 +32846,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &251 + schema: &254 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -32556,7 +32860,7 @@ paths: required: - include_claim_keys examples: - default: &252 + default: &255 value: include_claim_keys: - repo @@ -32583,15 +32887,15 @@ paths: required: true content: application/json: - schema: *251 + schema: *254 examples: - default: *252 + default: *255 responses: '201': description: Empty response content: application/json: - schema: &277 + schema: &280 title: Empty Object description: An object without any properties. type: object @@ -32630,7 +32934,7 @@ paths: schema: type: object properties: - enabled_repositories: &254 + enabled_repositories: &257 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -32644,7 +32948,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *54 - selected_actions_url: *253 + selected_actions_url: *256 sha_pinning_required: *55 required: - enabled_repositories @@ -32686,7 +32990,7 @@ paths: schema: type: object properties: - enabled_repositories: *254 + enabled_repositories: *257 allowed_actions: *54 sha_pinning_required: *55 required: @@ -32722,7 +33026,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: response: summary: Example response @@ -32753,7 +33057,7 @@ paths: required: true content: application/json: - schema: *256 + schema: *259 examples: application/json: value: @@ -32791,7 +33095,7 @@ paths: application/json: schema: *56 examples: - default: *257 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -32848,7 +33152,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *261 examples: default: *57 '403': *27 @@ -32873,7 +33177,7 @@ paths: required: true content: application/json: - schema: *259 + schema: *262 examples: default: *57 responses: @@ -32925,7 +33229,7 @@ paths: type: array items: *72 examples: - default: &261 + default: &264 value: total_count: 1 repositories: @@ -33110,7 +33414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - &260 + - &263 name: repository_id description: The unique identifier of the repository. in: path @@ -33139,7 +33443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -33335,7 +33639,7 @@ paths: type: array items: *72 examples: - default: *261 + default: *264 '403': *27 '404': *6 x-github: @@ -33404,7 +33708,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: - *81 - - *260 + - *263 responses: '204': description: No content @@ -33431,7 +33735,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: - *81 - - *260 + - *263 responses: '204': description: No content @@ -33465,7 +33769,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: default: *63 x-github: @@ -33499,7 +33803,7 @@ paths: required: false content: application/json: - schema: *263 + schema: *266 examples: default: *63 x-github: @@ -33546,7 +33850,7 @@ paths: type: number runner_groups: type: array - items: &264 + items: &267 type: object properties: id: @@ -33736,9 +34040,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: - default: &265 + default: &268 value: id: 2 name: octo-runner-group @@ -33780,7 +34084,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: default: value: @@ -33873,9 +34177,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: - default: *265 + default: *268 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33939,7 +34243,7 @@ paths: type: array items: *42 examples: - default: *245 + default: *248 headers: Link: *41 x-github: @@ -33980,9 +34284,9 @@ paths: type: number repositories: type: array - items: *266 + items: *269 examples: - default: &788 + default: &790 value: total_count: 1 repositories: @@ -34281,7 +34585,7 @@ paths: parameters: - *81 - *66 - - *260 + - *263 responses: '204': description: Response @@ -34305,7 +34609,7 @@ paths: parameters: - *81 - *66 - - *260 + - *263 responses: '204': description: Response @@ -34523,9 +34827,9 @@ paths: application/json: schema: type: array - items: *267 + items: *270 examples: - default: *268 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34590,7 +34894,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *269 + '201': *272 '404': *6 '422': *7 '409': *112 @@ -34629,7 +34933,7 @@ paths: application/json: schema: *73 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34665,7 +34969,7 @@ paths: application/json: schema: *73 examples: - default: *271 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34696,7 +35000,7 @@ paths: application/json: schema: *70 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34871,7 +35175,7 @@ paths: - *81 - *69 responses: - '200': *273 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -34900,7 +35204,7 @@ paths: parameters: - *81 - *69 - - *274 + - *277 responses: '200': *75 '404': *6 @@ -34945,7 +35249,7 @@ paths: type: integer secrets: type: array - items: &275 + items: &278 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -35026,7 +35330,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35061,7 +35365,7 @@ paths: - key_id - key examples: - default: &486 + default: &488 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35087,7 +35391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *81 - - &276 + - &279 name: secret_name description: The name of the secret. in: path @@ -35099,7 +35403,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -35130,7 +35434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -35187,7 +35491,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -35214,7 +35518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -35241,7 +35545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -35259,9 +35563,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: &280 + default: &283 value: total_count: 1 repositories: @@ -35354,7 +35658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -35407,7 +35711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -35441,7 +35745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -35474,7 +35778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &470 + - &472 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)." @@ -35498,7 +35802,7 @@ paths: type: integer variables: type: array - items: &278 + items: &281 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -35636,7 +35940,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -35662,7 +35966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *81 - - &279 + - &282 name: name description: The name of the variable. in: path @@ -35674,7 +35978,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -35705,7 +36009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *81 - - *279 + - *282 requestBody: required: true content: @@ -35768,7 +36072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *81 - - *279 + - *282 responses: '204': description: Response @@ -35795,7 +36099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *81 - - *279 + - *282 - *19 - *17 responses: @@ -35813,9 +36117,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 '409': description: Response when the visibility of the variable is not set to `selected` @@ -35842,7 +36146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *81 - - *279 + - *282 requestBody: required: true content: @@ -35892,7 +36196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *81 - - *279 + - *282 - name: repository_id in: path required: true @@ -35927,7 +36231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *81 - - *279 + - *282 - name: repository_id in: path required: true @@ -35985,7 +36289,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *284 examples: default: *79 parameters: @@ -36094,6 +36398,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -36288,12 +36606,12 @@ paths: required: - subject_digests examples: - default: &815 + default: &817 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &816 + withPredicateType: &818 value: subject_digests: - sha256:abc123 @@ -36352,7 +36670,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &817 + default: &819 value: attestations_subject_digests: - sha256:abc: @@ -36701,7 +37019,7 @@ paths: initiator: type: string examples: - default: &499 + default: &501 value: attestations: - bundle: @@ -36827,10 +37145,10 @@ paths: required: false schema: type: string - - *282 - - *283 - - *284 - *285 + - *286 + - *287 + - *288 - *17 responses: '200': @@ -36839,9 +37157,9 @@ paths: application/json: schema: type: array - items: *286 + items: *289 examples: - default: *287 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -36870,7 +37188,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36964,7 +37282,7 @@ paths: subcategory: bypass-requests parameters: - *81 - - &290 + - &293 name: repository_name description: The name of the repository to filter on. in: query @@ -36983,9 +37301,9 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: - default: *289 + default: *292 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -37009,7 +37327,7 @@ paths: subcategory: delegated-bypass parameters: - *81 - - *290 + - *293 - *97 - *98 - *99 @@ -37023,9 +37341,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -37052,7 +37370,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &294 + schema: &297 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -37078,7 +37396,7 @@ paths: application/json: schema: type: array - items: &295 + items: &298 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -37109,7 +37427,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *293 + items: *296 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -37128,7 +37446,7 @@ paths: - string - 'null' format: date-time - state: *294 + state: *297 contact_link: description: The contact link of the campaign. type: @@ -37351,9 +37669,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: &296 + default: &299 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -37436,9 +37754,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 '404': *6 '422': description: Unprocessable Entity @@ -37516,7 +37834,7 @@ paths: - string - 'null' format: uri - state: *294 + state: *297 examples: default: value: @@ -37526,9 +37844,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 '400': description: Bad Request content: @@ -37595,8 +37913,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *81 - - *297 - - *298 + - *300 + - *301 - *102 - *103 - *19 @@ -37607,7 +37925,7 @@ paths: be returned. in: query required: false - schema: *299 + schema: *302 - name: sort description: The property by which to sort the results. in: query @@ -37623,7 +37941,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &527 type: string description: Severity of a code scanning alert. enum: @@ -37641,9 +37959,9 @@ paths: application/json: schema: type: array - items: *300 + items: *303 examples: - default: *301 + default: *304 headers: Link: *41 '404': *6 @@ -37858,7 +38176,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *302 + code_scanning_options: *305 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -38001,7 +38319,7 @@ paths: application/json: schema: *108 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38029,9 +38347,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: *305 + default: *308 '304': *35 '403': *27 '404': *6 @@ -38118,7 +38436,7 @@ paths: application/json: schema: *108 examples: - default: *303 + default: *306 '304': *35 '403': *27 '404': *6 @@ -38540,7 +38858,7 @@ paths: default: value: default_for_new_repos: all - configuration: *303 + configuration: *306 '403': *27 '404': *6 x-github: @@ -38593,13 +38911,13 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *307 + repository: *310 '403': *27 '404': *6 x-github: @@ -38639,7 +38957,7 @@ paths: type: integer codespaces: type: array - items: &353 + items: &356 type: object title: Codespace description: A codespace. @@ -38670,11 +38988,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *266 + repository: *269 machine: anyOf: - type: 'null' - - &554 + - &556 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -38961,7 +39279,7 @@ paths: - pulls_url - recent_folders examples: - default: &354 + default: &357 value: total_count: 3 codespaces: @@ -39585,7 +39903,7 @@ paths: type: integer secrets: type: array - items: &308 + items: &311 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -39626,7 +39944,7 @@ paths: - updated_at - visibility examples: - default: &555 + default: &557 value: total_count: 2 secrets: @@ -39664,7 +39982,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &558 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -39699,7 +40017,7 @@ paths: - key_id - key examples: - default: &557 + default: &559 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39723,15 +40041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: &559 + default: &561 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -39759,7 +40077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -39814,7 +40132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -39841,7 +40159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -39867,7 +40185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -39885,9 +40203,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 '404': *6 x-github: githubCloudOnly: false @@ -39910,7 +40228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -39961,7 +40279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -39995,7 +40313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -40584,13 +40902,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40818,7 +41136,7 @@ paths: - 3 custom_roles: type: array - items: *309 + items: *312 examples: default: value: @@ -40910,7 +41228,7 @@ paths: required: true content: application/json: - schema: &311 + schema: &314 type: object properties: name: @@ -40952,9 +41270,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -40985,9 +41303,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -41015,7 +41333,7 @@ paths: required: true content: application/json: - schema: &312 + schema: &315 type: object properties: name: @@ -41054,9 +41372,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41114,7 +41432,7 @@ paths: required: true content: application/json: - schema: *311 + schema: *314 examples: default: value: @@ -41128,9 +41446,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41167,9 +41485,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -41203,7 +41521,7 @@ paths: required: true content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -41218,9 +41536,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41280,11 +41598,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *81 - - *313 - - *314 - - *315 - *316 - *317 + - *318 + - *319 + - *320 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -41322,8 +41640,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *318 - - *319 + - *321 + - *322 - *104 - *102 - *103 @@ -41335,9 +41653,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '304': *35 '400': *14 '403': *27 @@ -41381,7 +41699,7 @@ paths: type: integer secrets: type: array - items: &322 + items: &325 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -41460,7 +41778,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &584 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -41479,7 +41797,7 @@ paths: - key_id - key examples: - default: &583 + default: &585 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41503,13 +41821,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -41538,7 +41856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -41597,7 +41915,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -41622,7 +41940,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -41647,7 +41965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -41665,9 +41983,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41689,7 +42007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -41740,7 +42058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -41772,7 +42090,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -41809,7 +42127,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &591 + - &593 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -41817,7 +42135,7 @@ paths: required: false schema: type: string - - &592 + - &594 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -41825,7 +42143,7 @@ paths: required: false schema: type: string - - &593 + - &595 name: time_period description: |- The time period to filter by. @@ -41841,7 +42159,7 @@ paths: - week - month default: month - - &594 + - &596 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -41856,7 +42174,7 @@ paths: - denied - all default: all - - *290 + - *293 - *17 - *19 responses: @@ -41866,7 +42184,7 @@ paths: application/json: schema: type: array - items: &595 + items: &597 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42029,7 +42347,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &596 + default: &598 value: - id: 21 number: 42 @@ -42116,11 +42434,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - *290 + - *293 - *97 - *98 - *99 - - &597 + - &599 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42146,7 +42464,7 @@ paths: application/json: schema: type: array - items: &598 + items: &600 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42273,7 +42591,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &599 + default: &601 value: - id: 21 number: 42 @@ -42361,7 +42679,7 @@ paths: application/json: schema: type: array - items: &363 + items: &366 title: Package description: A software package type: object @@ -42414,7 +42732,7 @@ paths: repository: anyOf: - type: 'null' - - *266 + - *269 created_at: type: string format: date-time @@ -42432,7 +42750,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &367 value: - id: 197 name: hello_docker @@ -42520,7 +42838,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: 200-response: value: @@ -42619,7 +42937,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -42709,7 +43027,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &442 + default: &444 value: group_id: '123' group_name: Octocat admins @@ -42764,7 +43082,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -42804,7 +43122,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &440 + default: &442 value: groups: - group_id: '123' @@ -42848,7 +43166,7 @@ paths: application/json: schema: type: array - items: &345 + items: &348 title: Organization Invitation description: Organization Invitation type: object @@ -42902,7 +43220,7 @@ paths: - invitation_teams_url - node_id examples: - default: &346 + default: &349 value: - id: 1 login: monalisa @@ -42969,7 +43287,7 @@ paths: application/json: schema: type: array - items: &394 + items: &396 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -42983,7 +43301,7 @@ paths: - name - description examples: - default: &395 + default: &397 value: - name: add_assignee description: Assign or remove a user @@ -43024,7 +43342,7 @@ paths: application/json: schema: type: array - items: &323 + items: &326 title: Org Hook description: Org Hook type: object @@ -43207,9 +43525,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: - default: &324 + default: &327 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -43254,7 +43572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *81 - - &325 + - &328 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. @@ -43267,9 +43585,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: - default: *324 + default: *327 '404': *6 x-github: githubCloudOnly: false @@ -43291,7 +43609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *81 - - *325 + - *328 requestBody: required: false content: @@ -43337,7 +43655,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -43377,7 +43695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *81 - - *325 + - *328 responses: '204': description: Response @@ -43403,7 +43721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *81 - - *325 + - *328 responses: '200': description: Response @@ -43432,7 +43750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *81 - - *325 + - *328 requestBody: required: false content: @@ -43481,9 +43799,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *17 - - *326 + - *329 responses: '200': description: Response @@ -43491,9 +43809,9 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: - default: *328 + default: *331 '400': *14 '422': *15 x-github: @@ -43517,16 +43835,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '400': *14 '422': *15 x-github: @@ -43550,7 +43868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *16 responses: '202': *37 @@ -43577,7 +43895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *81 - - *325 + - *328 responses: '204': description: Response @@ -43600,7 +43918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *81 - - &335 + - &338 name: actor_type in: path description: The type of the actor @@ -43613,14 +43931,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &336 + - &339 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &331 + - &334 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`.' @@ -43628,7 +43946,7 @@ paths: required: true schema: type: string - - &332 + - &335 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) @@ -43723,12 +44041,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *81 - - *331 - - *332 + - *334 + - *335 - *19 - *17 - *104 - - &341 + - &344 name: sort description: The property to sort the results by. in: query @@ -43808,14 +44126,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *81 - - *331 - - *332 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: &333 + schema: &336 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -43831,7 +44149,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &337 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -43852,23 +44170,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *81 - - &337 + - &340 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *331 - - *332 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -43887,18 +44205,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *81 - - *331 - - *332 + - *334 - *335 - - *336 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -43916,9 +44234,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *81 - - *331 - - *332 - - &338 + - *334 + - *335 + - &341 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -43931,7 +44249,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &342 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -43947,7 +44265,7 @@ paths: type: integer format: int64 examples: - default: &340 + default: &343 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -43984,18 +44302,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *81 - - *337 - - *331 - - *332 - - *338 + - *340 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -44013,19 +44331,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *81 - - *335 - - *336 - - *331 - - *332 - *338 + - *339 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -44043,13 +44361,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *81 - - *337 - - *331 - - *332 + - *340 + - *334 + - *335 - *19 - *17 - *104 - - *341 + - *344 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -44133,7 +44451,7 @@ paths: application/json: schema: *20 examples: - default: &630 + default: &632 value: id: 1 account: @@ -44299,12 +44617,12 @@ paths: application/json: schema: anyOf: - - &343 + - &346 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &342 + limit: &345 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -44332,7 +44650,7 @@ paths: properties: {} additionalProperties: false examples: - default: &344 + default: &347 value: limit: collaborators_only origin: organization @@ -44361,13 +44679,13 @@ paths: required: true content: application/json: - schema: &631 + schema: &633 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *342 + limit: *345 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -44392,9 +44710,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -44472,9 +44790,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 '404': *6 @@ -44552,7 +44870,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -44609,7 +44927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *81 - - &347 + - &350 name: invitation_id description: The unique identifier of the invitation. in: path @@ -44643,7 +44961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *81 - - *347 + - *350 - *17 - *19 responses: @@ -44653,9 +44971,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: &362 + default: &365 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -44698,7 +45016,7 @@ paths: application/json: schema: type: array - items: *348 + items: *351 examples: default: value: @@ -44786,9 +45104,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: &349 + default: &352 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -44821,7 +45139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *81 - - &350 + - &353 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -44877,9 +45195,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 '422': *7 x-github: @@ -44904,7 +45222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *81 - - *350 + - *353 responses: '204': description: Response @@ -44967,7 +45285,7 @@ paths: - closed - all default: open - - *351 + - *354 - name: type description: Can be the name of an issue type. in: query @@ -44986,7 +45304,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -44996,9 +45314,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *352 + default: *355 headers: Link: *41 '404': *6 @@ -45058,7 +45376,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '422': *15 @@ -45157,9 +45475,9 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: - default: *354 + default: *357 '304': *35 '500': *38 '401': *23 @@ -45186,7 +45504,7 @@ paths: parameters: - *81 - *132 - - &355 + - &358 name: codespace_name in: path required: true @@ -45221,15 +45539,15 @@ paths: parameters: - *81 - *132 - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: &553 + default: &555 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -45485,7 +45803,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: Org Membership description: Org Membership type: object @@ -45554,7 +45872,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &357 + response-if-user-has-an-active-admin-membership-with-organization: &360 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -45651,9 +45969,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - response-if-user-already-had-membership-with-organization: *357 + response-if-user-already-had-membership-with-organization: *360 '422': *15 '403': *27 x-github: @@ -45725,7 +46043,7 @@ paths: application/json: schema: type: array - items: &358 + items: &361 title: Migration description: A migration. type: object @@ -46063,7 +46381,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -46242,7 +46560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *81 - - &359 + - &362 name: migration_id description: The unique identifier of the migration. in: path @@ -46270,7 +46588,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -46440,7 +46758,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *81 - - *359 + - *362 responses: '302': description: Response @@ -46462,7 +46780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *81 - - *359 + - *362 responses: '204': description: Response @@ -46486,8 +46804,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *81 - - *359 - - &800 + - *362 + - &802 name: repo_name description: repo_name parameter in: path @@ -46515,7 +46833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *81 - - *359 + - *362 - *17 - *19 responses: @@ -46525,9 +46843,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: &369 + default: &372 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -46736,7 +47054,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &360 + items: &363 title: Organization Role description: Organization roles type: object @@ -46945,7 +47263,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -46997,7 +47315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -47023,7 +47341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *81 - - *200 + - *203 - *131 responses: '204': @@ -47054,7 +47372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *81 - - *200 + - *203 - *131 responses: '204': @@ -47175,7 +47493,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -47272,7 +47590,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -47431,7 +47749,7 @@ paths: parent: anyOf: - type: 'null' - - *361 + - *364 type: description: The ownership type of the team type: string @@ -47464,7 +47782,7 @@ paths: - type - parent examples: - default: *362 + default: *365 headers: Link: *41 '404': @@ -47523,7 +47841,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *361 + items: *364 name: type: - string @@ -47640,7 +47958,7 @@ paths: - type - url examples: - default: *197 + default: *200 headers: Link: *41 '404': @@ -47691,7 +48009,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -47833,7 +48151,7 @@ paths: - nuget - container - *81 - - &801 + - &803 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -47869,12 +48187,12 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *364 + default: *367 '403': *27 '401': *23 - '400': &803 + '400': &805 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47896,7 +48214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &365 + - &368 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 @@ -47914,7 +48232,7 @@ paths: - docker - nuget - container - - &366 + - &369 name: package_name description: The name of the package. in: path @@ -47927,7 +48245,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -47979,8 +48297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *365 - - *366 + - *368 + - *369 - *81 responses: '204': @@ -48013,8 +48331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *365 - - *366 + - *368 + - *369 - *81 - name: token description: package token @@ -48047,8 +48365,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: - - *365 - - *366 + - *368 + - *369 - *81 - *19 - *17 @@ -48069,7 +48387,7 @@ paths: application/json: schema: type: array - items: &367 + items: &370 title: Package Version description: A version of a software package type: object @@ -48204,10 +48522,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: - - *365 - - *366 + - *368 + - *369 - *81 - - &368 + - &371 name: package_version_id description: Unique identifier of the package version. in: path @@ -48219,7 +48537,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -48255,10 +48573,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *365 - - *366 - - *81 - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -48290,10 +48608,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *365 - - *366 - - *81 - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -48323,7 +48641,7 @@ paths: - *81 - *17 - *19 - - &370 + - &373 name: sort description: The property by which to sort the results. in: query @@ -48334,7 +48652,7 @@ paths: - created_at default: created_at - *104 - - &371 + - &374 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -48346,7 +48664,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &372 + - &375 name: repository description: The name of the repository to use to filter the results. in: query @@ -48355,7 +48673,7 @@ paths: type: string examples: - Hello-World - - &373 + - &376 name: permission description: The permission to use to filter the results. in: query @@ -48364,7 +48682,7 @@ paths: type: string examples: - issues_read - - &374 + - &377 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) @@ -48374,7 +48692,7 @@ paths: schema: type: string format: date-time - - &375 + - &378 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) @@ -48384,7 +48702,7 @@ paths: schema: type: string format: date-time - - &376 + - &379 name: token_id description: The ID of the token in: query @@ -48701,9 +49019,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -48729,14 +49047,14 @@ paths: - *81 - *17 - *19 - - *370 - - *104 - - *371 - - *372 - *373 + - *104 - *374 - *375 - *376 + - *377 + - *378 + - *379 responses: '500': *38 '422': *15 @@ -49018,9 +49336,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -49062,7 +49380,7 @@ paths: type: integer configurations: type: array - items: &377 + items: &380 title: Organization private registry description: Private registry configuration for an organization type: object @@ -49091,6 +49409,10 @@ 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. @@ -49099,6 +49421,16 @@ paths: - 'null' examples: - monalisa + 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. @@ -49191,6 +49523,15 @@ paths: type: - string - 'null' + 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 @@ -49236,6 +49577,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 @@ -49286,12 +49628,25 @@ 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. type: string examples: - monalisa + 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 @@ -49321,7 +49676,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &378 + org-private-registry-with-selected-visibility: &381 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -49413,15 +49768,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *377 + schema: *380 examples: - default: *378 + default: *381 '404': *6 x-github: githubCloudOnly: false @@ -49443,7 +49798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -49481,6 +49836,15 @@ paths: type: - string - 'null' + 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 @@ -49540,7 +49904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -49586,7 +49950,7 @@ paths: application/json: schema: type: array - items: &379 + items: &382 title: Project description: Projects are a way to organize columns and cards of work. @@ -49768,7 +50132,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: default: value: @@ -49806,7 +50170,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &457 + '410': &459 description: Gone content: application/json: @@ -49849,7 +50213,7 @@ paths: application/json: schema: type: array - items: &380 + items: &383 title: Projects v2 Project description: A projects v2 project type: object @@ -49923,7 +50287,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &876 + - &880 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -50008,7 +50372,7 @@ paths: - deleted_at - deleted_by examples: - default: &381 + default: &384 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50111,7 +50475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &382 + - &385 name: project_number description: The project's number. in: path @@ -50124,9 +50488,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -50148,7 +50512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *382 + - *385 - *81 - *17 - *102 @@ -50160,7 +50524,7 @@ paths: application/json: schema: type: array - items: &383 + items: &386 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -50310,9 +50674,9 @@ paths: - updated_at - project_url examples: - default: &384 + default: &822 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -50332,6 +50696,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: *41 '304': *35 @@ -50353,8 +50777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *382 - - &820 + - *385 + - &823 name: field_id description: The unique identifier of the field. in: path @@ -50367,9 +50791,30 @@ paths: description: Response content: application/json: - schema: *383 + schema: *386 examples: - default: *384 + default: &824 + 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: *41 '304': *35 @@ -50392,7 +50837,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: - - *382 + - *385 - *81 - 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) @@ -50425,7 +50870,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Projects v2 Item description: An item belonging to a project type: object @@ -50442,7 +50887,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &387 + content_type: &389 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50499,7 +50944,7 @@ paths: - updated_at - archived_at examples: - default: &390 + default: &392 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -51194,7 +51639,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *382 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -51231,7 +51676,7 @@ paths: description: Response content: application/json: - schema: &821 + schema: &825 title: Projects v2 Item description: An item belonging to a project type: object @@ -51244,8 +51689,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *215 - - &566 + - *218 + - &568 title: Pull Request Simple description: Pull Request Simple type: object @@ -51365,7 +51810,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 active_lock_reason: type: - string @@ -51420,7 +51865,7 @@ paths: type: - array - 'null' - items: *293 + items: *296 head: type: object properties: @@ -51464,7 +51909,7 @@ paths: _links: type: object properties: - comments: &386 + comments: &388 title: Link description: Hypermedia Link type: object @@ -51473,13 +51918,13 @@ paths: type: string required: - href - commits: *386 - statuses: *386 - html: *386 - issue: *386 - review_comments: *386 - review_comment: *386 - self: *386 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -51489,8 +51934,8 @@ paths: - review_comments - review_comment - self - author_association: *202 - auto_merge: &675 + author_association: *205 + auto_merge: &677 title: Auto merge description: The status of auto merging a pull request. type: @@ -51592,7 +52037,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *387 + content_type: *389 creator: *4 created_at: type: string @@ -51629,7 +52074,7 @@ paths: - updated_at - archived_at examples: - issue: &388 + issue: &390 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -51684,7 +52129,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: *388 + pull_request: *390 '304': *35 '403': *27 '401': *23 @@ -51704,9 +52149,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: - - *382 + - *385 - *81 - - &391 + - &393 name: item_id description: The unique identifier of the project item. in: path @@ -51732,9 +52177,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -51755,9 +52200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *382 + - *385 - *81 - - *391 + - *393 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -51830,13 +52275,13 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - text_field: *390 - number_field: *390 - date_field: *390 - single_select_field: *390 - iteration_field: *390 + text_field: *392 + number_field: *392 + date_field: *392 + single_select_field: *392 + iteration_field: *392 '401': *23 '403': *27 '404': *6 @@ -51856,9 +52301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *382 + - *385 - *81 - - *391 + - *393 responses: '204': description: Response @@ -52021,7 +52466,7 @@ paths: required: true content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -52249,7 +52694,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -52387,9 +52832,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -52593,7 +53038,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: Full Repository description: Full Repository type: object @@ -53039,7 +53484,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 organization: anyOf: - type: 'null' @@ -53058,7 +53503,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &571 + code_of_conduct: &573 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -53088,7 +53533,7 @@ paths: - key - name - html_url - security_and_analysis: *393 + security_and_analysis: *395 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53172,7 +53617,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &463 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -53698,9 +54143,9 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53725,7 +54170,7 @@ paths: - *81 - *17 - *19 - - &698 + - &700 name: targets description: | A comma-separated list of rule targets to filter by. @@ -53817,11 +54262,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *396 + conditions: *398 rules: type: array description: An array of rules within the ruleset. - items: &398 + items: &400 title: Repository Rule type: object description: A repository rule. @@ -53885,7 +54330,7 @@ paths: application/json: schema: *179 examples: - default: &397 + default: &399 value: id: 21 name: super cool ruleset @@ -53940,7 +54385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &700 + - &702 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 @@ -53950,16 +54395,16 @@ paths: schema: type: string x-multi-segment: true - - *290 + - *293 - *99 - - &701 + - &703 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 - - &702 + - &704 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53979,7 +54424,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &705 title: Rule Suites description: Response type: array @@ -54035,7 +54480,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &704 + default: &706 value: - id: 21 actor_id: 12 @@ -54079,7 +54524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &705 + - &707 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54095,7 +54540,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &708 title: Rule Suite description: Response type: object @@ -54202,7 +54647,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &707 + default: &709 value: id: 21 actor_id: 12 @@ -54277,7 +54722,7 @@ paths: application/json: schema: *179 examples: - default: *397 + default: *399 '404': *6 '500': *38 put: @@ -54326,11 +54771,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *396 + conditions: *398 rules: description: An array of rules within the ruleset. type: array - items: *398 + items: *400 examples: default: value: @@ -54367,7 +54812,7 @@ paths: application/json: schema: *179 examples: - default: *397 + default: *399 '404': *6 '500': *38 delete: @@ -54426,7 +54871,7 @@ paths: type: array items: *183 examples: - default: *399 + default: *401 '404': *6 '500': *38 x-github: @@ -54463,7 +54908,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -54526,14 +54971,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 - - *401 - - *402 - *403 - *404 + - *405 + - *406 - *104 - *19 - *17 - - &709 + - &711 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 @@ -54543,7 +54988,7 @@ paths: required: false schema: type: string - - &710 + - &712 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 @@ -54553,10 +54998,10 @@ paths: required: false schema: type: string - - *405 - - *406 - *407 - *408 + - *409 + - *410 responses: '200': description: Response @@ -54564,9 +55009,9 @@ paths: application/json: schema: type: array - items: *409 + items: *411 examples: - default: *410 + default: *412 headers: Link: *41 '404': *6 @@ -54601,9 +55046,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 '403': *27 '404': *6 patch: @@ -54756,7 +55201,7 @@ paths: application/json: schema: type: array - items: &731 + items: &733 description: A repository security advisory. type: object properties: @@ -55000,7 +55445,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 credits_detailed: type: - array @@ -55011,7 +55456,7 @@ paths: type: object properties: user: *4 - type: *413 + type: *415 state: type: string description: The state of the user's acceptance of the @@ -55037,7 +55482,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *293 + items: *296 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -55075,7 +55520,7 @@ paths: - private_fork additionalProperties: false examples: - default: &732 + default: &734 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55462,9 +55907,9 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55488,7 +55933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -55514,7 +55959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -55549,9 +55994,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55576,7 +56021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *416 + - *418 - *17 - *19 responses: @@ -55584,9 +56029,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *419 examples: - default: *418 + default: *420 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55614,9 +56059,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55644,9 +56089,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55792,9 +56237,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55863,7 +56308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -55886,7 +56331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -55929,7 +56374,7 @@ paths: type: array items: *137 examples: - default: *423 + default: *425 headers: Link: *41 x-github: @@ -56130,15 +56575,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: - *81 - - *424 + - *426 responses: '200': description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 headers: Link: *41 x-github: @@ -56176,7 +56621,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56228,7 +56673,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &449 + default: &451 value: groups: - group_id: '123' @@ -56274,7 +56719,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *81 - - *200 + - *203 - 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`). @@ -56306,13 +56751,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56340,9 +56785,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 headers: Link: *41 '403': *27 @@ -56436,7 +56881,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &429 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56510,7 +56955,7 @@ paths: parent: anyOf: - type: 'null' - - *361 + - *364 members_count: type: integer examples: @@ -56835,7 +57280,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &430 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56906,15 +57351,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -56936,7 +57381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *81 - - *200 + - *203 requestBody: required: false content: @@ -56999,16 +57444,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '201': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 '422': *15 '403': *27 @@ -57034,7 +57479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -57061,7 +57506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *81 - - *200 + - *203 - *104 - *17 - *19 @@ -57078,7 +57523,7 @@ paths: application/json: schema: type: array - items: &429 + items: &431 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57169,7 +57614,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *203 + reactions: *206 required: - author - body @@ -57189,7 +57634,7 @@ paths: - updated_at - url examples: - default: &775 + default: &777 value: - author: login: octocat @@ -57264,7 +57709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *81 - - *200 + - *203 requestBody: required: true content: @@ -57298,9 +57743,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &430 + default: &432 value: author: login: octocat @@ -57373,8 +57818,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *81 - - *200 - - &431 + - *203 + - &433 name: discussion_number description: The number that identifies the discussion. in: path @@ -57386,9 +57831,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57411,8 +57856,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: false content: @@ -57435,9 +57880,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &776 + default: &778 value: author: login: octocat @@ -57508,8 +57953,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 responses: '204': description: Response @@ -57536,8 +57981,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *81 - - *200 - - *431 + - *203 + - *433 - *104 - *17 - *19 @@ -57548,7 +57993,7 @@ paths: application/json: schema: type: array - items: &432 + items: &434 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -57613,7 +58058,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *203 + reactions: *206 required: - author - body @@ -57628,7 +58073,7 @@ paths: - updated_at - url examples: - default: &777 + default: &779 value: - author: login: octocat @@ -57697,8 +58142,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: true content: @@ -57720,9 +58165,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &433 + default: &435 value: author: login: octocat @@ -57789,9 +58234,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *81 - - *200 - - *431 - - &434 + - *203 + - *433 + - &436 name: comment_number description: The number that identifies the comment. in: path @@ -57803,9 +58248,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57828,9 +58273,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 requestBody: required: true content: @@ -57852,9 +58297,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &778 + default: &780 value: author: login: octocat @@ -57919,9 +58364,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 responses: '204': description: Response @@ -57948,9 +58393,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 - 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. @@ -57976,7 +58421,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58020,7 +58465,7 @@ paths: - content - created_at examples: - default: &437 + default: &439 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58071,9 +58516,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 requestBody: required: true content: @@ -58106,9 +58551,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *437 examples: - default: &436 + default: &438 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58137,9 +58582,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58163,10 +58608,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *81 - - *200 - - *431 - - *434 - - &438 + - *203 + - *433 + - *436 + - &440 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58199,8 +58644,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 - 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. @@ -58226,9 +58671,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -58255,8 +58700,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: true content: @@ -58288,16 +58733,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58321,9 +58766,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *81 - - *200 - - *431 - - *438 + - *203 + - *433 + - *440 responses: '204': description: Response @@ -58347,15 +58792,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: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58375,7 +58820,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: - *81 - - *200 + - *203 requestBody: required: true content: @@ -58399,9 +58844,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58421,7 +58866,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: - *81 - - *200 + - *203 responses: '204': description: Response @@ -58446,7 +58891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -58456,9 +58901,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 x-github: @@ -58481,7 +58926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *81 - - *200 + - *203 - name: role description: Filters members returned by their role in the team. in: query @@ -58504,7 +58949,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -58535,14 +58980,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 responses: '200': description: Response content: application/json: - schema: &443 + schema: &445 title: Team Membership description: Team Membership type: object @@ -58570,7 +59015,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &779 + response-if-user-is-a-team-maintainer: &781 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58607,7 +59052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 requestBody: required: false @@ -58633,9 +59078,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: &780 + response-if-users-membership-with-team-is-now-pending: &782 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58671,7 +59116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 responses: '204': @@ -58698,7 +59143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -58708,7 +59153,7 @@ paths: application/json: schema: type: array - items: &444 + items: &446 title: Team Project description: A team's access to a project. type: object @@ -58777,7 +59222,7 @@ paths: - updated_at - permissions examples: - default: &781 + default: &783 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58841,8 +59286,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *81 - - *200 - - &445 + - *203 + - &447 name: project_id description: The unique identifier of the project. in: path @@ -58854,9 +59299,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &782 + default: &784 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58919,8 +59364,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *81 - - *200 - - *445 + - *203 + - *447 requestBody: required: false content: @@ -58988,8 +59433,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *81 - - *200 - - *445 + - *203 + - *447 responses: '204': description: Response @@ -59017,7 +59462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -59027,9 +59472,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -59059,15 +59504,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &785 title: Team Repository description: A team's access to a repository. type: object @@ -59093,7 +59538,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 forks: type: integer permissions: @@ -59709,9 +60154,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 requestBody: required: false content: @@ -59757,9 +60202,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 responses: '204': description: Response @@ -59786,15 +60231,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59817,7 +60262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *81 - - *200 + - *203 requestBody: required: true content: @@ -59860,7 +60305,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -59893,7 +60338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -59903,9 +60348,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &786 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60032,7 +60477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &452 name: card_id description: The unique identifier of the card. in: path @@ -60044,7 +60489,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &453 title: Project Card description: Project cards represent a scope of work. type: object @@ -60119,7 +60564,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &454 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60175,7 +60620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *450 + - *452 requestBody: required: false content: @@ -60205,9 +60650,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 '304': *35 '403': *27 '401': *23 @@ -60234,7 +60679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *452 responses: '204': description: Response @@ -60278,7 +60723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *452 requestBody: required: true content: @@ -60391,7 +60836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &455 name: column_id description: The unique identifier of the column. in: path @@ -60403,7 +60848,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: Project Column description: Project columns contain cards of work. type: object @@ -60457,7 +60902,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &457 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60492,7 +60937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *453 + - *455 requestBody: required: true content: @@ -60517,9 +60962,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '304': *35 '403': *27 '401': *23 @@ -60544,7 +60989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *455 responses: '204': description: Response @@ -60573,7 +61018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *455 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -60594,7 +61039,7 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: default: value: @@ -60653,7 +61098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *455 requestBody: required: true content: @@ -60697,9 +61142,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 '304': *35 '403': *27 '401': *23 @@ -60709,8 +61154,8 @@ paths: application/json: schema: oneOf: - - *241 - - *242 + - *244 + - *245 '503': description: Response content: @@ -60755,7 +61200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *455 requestBody: required: true content: @@ -60816,15 +61261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *447 responses: '200': description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: &456 + default: &458 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -60881,7 +61326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *447 requestBody: required: false content: @@ -60930,9 +61375,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *456 + default: *458 '404': description: Not Found if the authenticated user does not have access to the project @@ -60953,7 +61398,7 @@ paths: items: type: string '401': *23 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -60976,7 +61421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *447 responses: '204': description: Delete Success @@ -60997,7 +61442,7 @@ paths: items: type: string '401': *23 - '410': *457 + '410': *459 '404': *6 x-github: githubCloudOnly: false @@ -61021,7 +61466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *447 - 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 @@ -61048,7 +61493,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -61078,7 +61523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 + - *447 - *132 requestBody: required: false @@ -61133,7 +61578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 + - *447 - *132 responses: '204': @@ -61165,7 +61610,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: - - *445 + - *447 - *132 responses: '200': @@ -61263,7 +61708,7 @@ paths: resources: type: object properties: - core: &458 + core: &460 title: Rate Limit type: object properties: @@ -61280,21 +61725,21 @@ paths: - remaining - reset - used - graphql: *458 - search: *458 - code_search: *458 - source_import: *458 - integration_manifest: *458 - code_scanning_upload: *458 - actions_runner_registration: *458 - scim: *458 - dependency_snapshots: *458 - dependency_sbom: *458 - code_scanning_autofix: *458 + graphql: *460 + search: *460 + code_search: *460 + source_import: *460 + integration_manifest: *460 + code_scanning_upload: *460 + actions_runner_registration: *460 + scim: *460 + dependency_snapshots: *460 + dependency_sbom: *460 + code_scanning_autofix: *460 required: - core - search - rate: *458 + rate: *460 required: - rate - resources @@ -61399,14 +61844,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: default-response: summary: Default response @@ -61911,7 +62356,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *460 + '301': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61929,8 +62374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -62188,10 +62633,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 - '307': &462 + default: *463 + '307': &464 description: Temporary Redirect content: application/json: @@ -62220,8 +62665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -62243,7 +62688,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': *462 + '307': *464 '404': *6 '409': *112 x-github: @@ -62267,11 +62712,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - - &477 + - &479 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62294,7 +62739,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &465 title: Artifact description: An artifact type: object @@ -62389,7 +62834,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &480 value: total_count: 2 artifacts: @@ -62450,9 +62895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *448 + - *449 + - &466 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62464,7 +62909,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: default: value: @@ -62502,9 +62947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *448 + - *449 + - *466 responses: '204': description: Response @@ -62528,9 +62973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *448 + - *449 + - *466 - name: archive_format in: path required: true @@ -62544,7 +62989,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': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62567,14 +63012,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -62600,11 +63045,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: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - - &466 + - &468 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 @@ -62638,7 +63083,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: Repository actions caches description: Repository actions caches type: object @@ -62688,7 +63133,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &470 value: total_count: 1 actions_caches: @@ -62720,23 +63165,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: - - *446 - - *447 + - *448 + - *449 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *468 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,8 +63201,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: - - *446 - - *447 + - *448 + - *449 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62788,9 +63233,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: - - *446 - - *447 - - &469 + - *448 + - *449 + - &471 name: job_id description: The unique identifier of the job. in: path @@ -62802,7 +63247,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &483 title: Job description: Information of a job execution in a workflow run type: object @@ -63149,9 +63594,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: - - *446 - - *447 - - *469 + - *448 + - *449 + - *471 responses: '302': description: Response @@ -63179,9 +63624,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: - - *446 - - *447 - - *469 + - *448 + - *449 + - *471 requestBody: required: false content: @@ -63203,7 +63648,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -63227,8 +63672,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Status response @@ -63278,8 +63723,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -63313,7 +63758,7 @@ paths: description: Empty response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -63342,8 +63787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -63361,7 +63806,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &485 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63382,7 +63827,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &486 value: total_count: 2 secrets: @@ -63415,9 +63860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *446 - - *447 - - *470 + - *448 + - *449 + - *472 - *19 responses: '200': @@ -63434,7 +63879,7 @@ paths: type: integer variables: type: array - items: &487 + items: &489 title: Actions Variable type: object properties: @@ -63468,7 +63913,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &490 value: total_count: 2 variables: @@ -63501,8 +63946,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63511,11 +63956,11 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &473 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 - selected_actions_url: *253 + selected_actions_url: *256 sha_pinning_required: *55 required: - enabled @@ -63546,8 +63991,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63558,7 +64003,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *473 allowed_actions: *54 sha_pinning_required: *55 required: @@ -63591,14 +64036,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &472 + schema: &474 type: object properties: access_level: @@ -63616,7 +64061,7 @@ paths: required: - access_level examples: - default: &473 + default: &475 value: access_level: organization x-github: @@ -63641,15 +64086,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 responses: '204': description: Response @@ -63673,14 +64118,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *255 + schema: *258 examples: default: value: @@ -63704,8 +64149,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Empty response for successful settings update @@ -63715,7 +64160,7 @@ paths: required: true content: application/json: - schema: *256 + schema: *259 examples: default: summary: Set retention days @@ -63739,8 +64184,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63748,7 +64193,7 @@ paths: application/json: schema: *56 examples: - default: *257 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -63767,8 +64212,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63802,14 +64247,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *258 + schema: *261 examples: default: *57 '403': *27 @@ -63831,13 +64276,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *259 + schema: *262 examples: default: *57 responses: @@ -63863,8 +64308,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63895,8 +64340,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63928,14 +64373,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: default: *63 x-github: @@ -63958,8 +64403,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Success response @@ -63970,7 +64415,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *266 examples: default: *63 x-github: @@ -63999,8 +64444,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -64044,8 +64489,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -64053,9 +64498,9 @@ paths: application/json: schema: type: array - items: *267 + items: *270 examples: - default: *268 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64077,8 +64522,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -64121,7 +64566,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *269 + '201': *272 '404': *6 '422': *7 '409': *112 @@ -64152,8 +64597,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: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -64161,7 +64606,7 @@ paths: application/json: schema: *73 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64189,8 +64634,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: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -64198,7 +64643,7 @@ paths: application/json: schema: *73 examples: - default: *271 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64220,8 +64665,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '200': @@ -64230,7 +64675,7 @@ paths: application/json: schema: *70 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64251,8 +64696,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '204': @@ -64279,8 +64724,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '200': *75 @@ -64305,8 +64750,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: - - *446 - - *447 + - *448 + - *449 - *69 requestBody: required: true @@ -64355,8 +64800,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: - - *446 - - *447 + - *448 + - *449 - *69 requestBody: required: true @@ -64406,11 +64851,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: - '200': *273 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -64437,10 +64882,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: - - *446 - - *447 + - *448 + - *449 - *69 - - *274 + - *277 responses: '200': *75 '404': *6 @@ -64468,9 +64913,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: - - *446 - - *447 - - &491 + - *448 + - *449 + - &493 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. @@ -64478,7 +64923,7 @@ paths: required: false schema: type: string - - &492 + - &494 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64486,7 +64931,7 @@ paths: required: false schema: type: string - - &493 + - &495 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64495,7 +64940,7 @@ paths: required: false schema: type: string - - &494 + - &496 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 @@ -64522,7 +64967,7 @@ paths: - pending - *17 - *19 - - &495 + - &497 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)." @@ -64531,7 +64976,7 @@ paths: schema: type: string format: date-time - - &474 + - &476 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64540,13 +64985,13 @@ paths: schema: type: boolean default: false - - &496 + - &498 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &499 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64569,7 +65014,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &477 title: Workflow Run description: An invocation of a workflow type: object @@ -64686,7 +65131,7 @@ paths: type: - array - 'null' - items: &516 + items: &518 title: Pull Request Minimal type: object properties: @@ -64813,7 +65258,7 @@ paths: head_commit: anyOf: - type: 'null' - - &520 + - &522 title: Simple Commit description: A commit. type: object @@ -64887,8 +65332,8 @@ paths: - timestamp - author - committer - repository: *266 - head_repository: *266 + repository: *269 + head_repository: *269 head_repository_id: type: integer examples: @@ -64928,7 +65373,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &500 value: total_count: 1 workflow_runs: @@ -65164,24 +65609,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *446 - - *447 - - &476 + - *448 + - *449 + - &478 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *476 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &479 + default: &481 value: id: 30433642 name: Build @@ -65422,9 +65867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '204': description: Response @@ -65447,9 +65892,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -65577,15 +66022,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -65612,12 +66057,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 - *17 - *19 - - *477 + - *479 responses: '200': description: Response @@ -65633,9 +66078,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *465 examples: - default: *478 + default: *480 headers: Link: *41 x-github: @@ -65659,25 +66104,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - &480 + - *448 + - *449 + - *478 + - &482 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *476 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65700,10 +66145,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: - - *446 - - *447 - - *476 - - *480 + - *448 + - *449 + - *478 + - *482 - *17 - *19 responses: @@ -65721,9 +66166,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *483 examples: - default: &482 + default: &484 value: total_count: 1 jobs: @@ -65836,10 +66281,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *446 - - *447 - - *476 - - *480 + - *448 + - *449 + - *478 + - *482 responses: '302': description: Response @@ -65867,15 +66312,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '202': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -65902,9 +66347,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: true content: @@ -65971,15 +66416,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '202': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66006,9 +66451,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 - 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 @@ -66038,9 +66483,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *483 examples: - default: *482 + default: *484 headers: Link: *41 x-github: @@ -66065,9 +66510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '302': description: Response @@ -66094,9 +66539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '204': description: Response @@ -66123,9 +66568,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -66194,7 +66639,7 @@ paths: items: type: object properties: - type: &600 + type: &602 type: string description: The type of reviewer. enum: @@ -66205,7 +66650,7 @@ paths: reviewer: anyOf: - *4 - - *293 + - *296 required: - environment - wait_timer @@ -66280,9 +66725,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: true content: @@ -66332,7 +66777,7 @@ paths: application/json: schema: type: array - items: &586 + items: &588 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66444,7 +66889,7 @@ paths: - created_at - updated_at examples: - default: &587 + default: &589 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66500,9 +66945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: false content: @@ -66524,7 +66969,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66547,9 +66992,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: false content: @@ -66571,7 +67016,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66604,9 +67049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -66743,8 +67188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -66762,9 +67207,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *485 examples: - default: *484 + default: *486 headers: Link: *41 x-github: @@ -66789,16 +67234,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66820,17 +67265,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: &613 + default: &615 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66856,9 +67301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -66889,7 +67334,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66915,9 +67360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -66942,9 +67387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *448 + - *449 + - *472 - *19 responses: '200': @@ -66961,9 +67406,9 @@ paths: type: integer variables: type: array - items: *487 + items: *489 examples: - default: *488 + default: *490 headers: Link: *41 x-github: @@ -66986,8 +67431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -67014,7 +67459,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -67039,17 +67484,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &614 + default: &616 value: name: USERNAME value: octocat @@ -67075,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 requestBody: required: true content: @@ -67119,9 +67564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 responses: '204': description: Response @@ -67146,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -67165,7 +67610,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &491 title: Workflow description: A GitHub Actions workflow type: object @@ -67283,9 +67728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *448 + - *449 + - &492 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67300,7 +67745,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: default: value: @@ -67333,9 +67778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67360,9 +67805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67413,9 +67858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67442,19 +67887,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: - - *446 - - *447 - - *490 - - *491 + - *448 + - *449 - *492 - *493 - *494 - - *17 - - *19 - *495 - - *474 - *496 + - *17 + - *19 - *497 + - *476 + - *498 + - *499 responses: '200': description: Response @@ -67470,9 +67915,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *477 examples: - default: *498 + default: *500 headers: Link: *41 x-github: @@ -67505,9 +67950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '200': description: Response @@ -67568,8 +68013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 + - *448 + - *449 - *104 - *17 - *102 @@ -67737,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -67750,7 +68195,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -67775,8 +68220,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: - - *446 - - *447 + - *448 + - *449 - name: assignee in: path required: true @@ -67812,8 +68257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -67925,8 +68370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *102 - *103 @@ -67983,7 +68428,7 @@ paths: initiator: type: string examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68003,8 +68448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -68012,7 +68457,7 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Autolink reference description: An autolink reference. type: object @@ -68071,8 +68516,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -68111,9 +68556,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: id: 1 key_prefix: TICKET- @@ -68144,9 +68589,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: - - *446 - - *447 - - &502 + - *448 + - *449 + - &504 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68158,9 +68603,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -68180,9 +68625,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: - - *446 - - *447 - - *502 + - *448 + - *449 + - *504 responses: '204': description: Response @@ -68206,8 +68651,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response if Dependabot is enabled @@ -68257,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -68279,8 +68724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -68300,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *448 + - *449 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68339,7 +68784,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &506 title: Branch Protection description: Branch Protection type: object @@ -68382,7 +68827,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &509 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68399,7 +68844,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &511 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68421,7 +68866,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *293 + items: *296 apps: description: The list of apps with review dismissal access. @@ -68453,7 +68898,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *293 + items: *296 apps: description: The list of apps allowed to bypass pull request requirements. @@ -68483,7 +68928,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &508 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68546,7 +68991,7 @@ paths: type: string teams: type: array - items: *293 + items: *296 apps: type: array items: @@ -68776,9 +69221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *448 + - *449 + - &507 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). @@ -68792,14 +69237,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &517 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &562 + commit: &564 title: Commit description: Commit type: object @@ -68838,7 +69283,7 @@ paths: author: anyOf: - type: 'null' - - &503 + - &505 title: Git User description: Metaproperties for Git author/committer information. @@ -68859,7 +69304,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 message: type: string examples: @@ -68883,7 +69328,7 @@ paths: required: - sha - url - verification: &620 + verification: &622 title: Verification type: object properties: @@ -68919,14 +69364,14 @@ paths: author: oneOf: - *4 - - *277 + - *280 type: - 'null' - object committer: oneOf: - *4 - - *277 + - *280 type: - 'null' - object @@ -68963,7 +69408,7 @@ paths: type: integer files: type: array - items: &573 + items: &575 title: Diff Entry description: Diff Entry type: object @@ -69059,7 +69504,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *506 protection_url: type: string format: uri @@ -69168,7 +69613,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *462 '404': *6 x-github: githubCloudOnly: false @@ -69190,15 +69635,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -69392,9 +69837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -69654,7 +70099,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &514 title: Status Check Policy description: Status Check Policy type: object @@ -69735,7 +70180,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 apps: type: array items: *5 @@ -69753,7 +70198,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 apps: type: array items: *5 @@ -69813,7 +70258,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *508 required_conversation_resolution: type: object properties: @@ -69925,9 +70370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -69952,17 +70397,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69984,17 +70429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70013,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70040,17 +70485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70146,9 +70591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70246,9 +70691,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -70269,9 +70714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70298,17 +70743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &511 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70331,17 +70776,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -70361,9 +70806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70388,17 +70833,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &513 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70424,9 +70869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70478,9 +70923,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *513 + default: *515 '404': *6 '422': *15 x-github: @@ -70502,9 +70947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70528,9 +70973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -70564,9 +71009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70633,9 +71078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70699,9 +71144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: content: application/json: @@ -70767,15 +71212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -70866,9 +71311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70891,9 +71336,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -70903,7 +71348,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &516 value: - id: 1 slug: octoapp @@ -70960,9 +71405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -70996,7 +71441,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71017,9 +71462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71053,7 +71498,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71074,9 +71519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71110,7 +71555,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71132,9 +71577,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -71142,9 +71587,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -71164,9 +71609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -71202,9 +71647,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71225,9 +71670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -71263,9 +71708,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71286,9 +71731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: content: application/json: @@ -71323,9 +71768,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71347,9 +71792,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -71359,7 +71804,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '404': *6 x-github: githubCloudOnly: false @@ -71383,9 +71828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71418,7 +71863,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71443,9 +71888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71478,7 +71923,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71503,9 +71948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71538,7 +71983,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71565,9 +72010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71589,7 +72034,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -71703,8 +72148,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 @@ -71718,9 +72163,9 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: - default: *289 + default: *292 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71740,8 +72185,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71755,7 +72200,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -71814,8 +72259,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 @@ -71829,9 +72274,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '404': *6 '403': *27 '500': *38 @@ -71855,8 +72300,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71868,7 +72313,7 @@ paths: description: A single bypass request. content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -71926,8 +72371,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71998,8 +72443,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_response_id in: path required: true @@ -72032,8 +72477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -72312,7 +72757,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &519 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72447,8 +72892,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *516 - deployment: &837 + items: *518 + deployment: &841 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72735,9 +73180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *446 - - *447 - - &518 + - *448 + - *449 + - &520 name: check_run_id description: The unique identifier of the check run. in: path @@ -72749,9 +73194,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: &519 + default: &521 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72851,9 +73296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 requestBody: required: true content: @@ -73093,9 +73538,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *519 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73115,9 +73560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 - *17 - *19 responses: @@ -73227,15 +73672,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -73273,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -73296,7 +73741,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &523 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73378,12 +73823,12 @@ paths: type: - array - 'null' - items: *516 + items: *518 app: anyOf: - type: 'null' - *5 - repository: *266 + repository: *269 created_at: type: - string @@ -73394,7 +73839,7 @@ paths: - string - 'null' format: date-time - head_commit: *520 + head_commit: *522 latest_check_runs_count: type: integer check_runs_url: @@ -73422,7 +73867,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &524 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73713,9 +74158,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73734,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -73796,7 +74241,7 @@ paths: required: - app_id - setting - repository: *266 + repository: *269 examples: default: value: @@ -74044,9 +74489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *446 - - *447 - - &523 + - *448 + - *449 + - &525 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74058,9 +74503,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74083,17 +74528,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: - - *446 - - *447 - - *523 - - &568 + - *448 + - *449 + - *525 + - &570 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &569 + - &571 name: status description: Returns check runs with the specified `status`. in: query @@ -74132,9 +74577,9 @@ paths: type: integer check_runs: type: array - items: *517 + items: *519 examples: - default: &570 + default: &572 value: total_count: 1 check_runs: @@ -74236,15 +74681,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *448 + - *449 + - *525 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -74271,21 +74716,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: - - *446 - - *447 - - *297 - - *298 + - *448 + - *449 + - *300 + - *301 - *19 - *17 - - &539 + - &541 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: *524 - - &540 + schema: *526 + - &542 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74310,13 +74755,13 @@ paths: be returned. in: query required: false - schema: *299 + schema: *302 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *525 + schema: *527 responses: '200': description: Response @@ -74332,7 +74777,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *526 + instances_url: *528 state: *107 fixed_at: *129 dismissed_by: @@ -74340,11 +74785,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_reason: *529 + dismissed_comment: *530 + rule: *531 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -74467,7 +74912,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &532 + '403': &534 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74494,9 +74939,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: - - *446 - - *447 - - &533 + - *448 + - *449 + - &535 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74510,7 +74955,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 type: object properties: number: *119 @@ -74518,7 +74963,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *526 + instances_url: *528 state: *107 fixed_at: *129 dismissed_by: @@ -74526,8 +74971,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *529 + dismissed_comment: *530 rule: type: object properties: @@ -74589,8 +75034,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -74686,7 +75131,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -74706,9 +75151,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: true content: @@ -74723,8 +75168,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *529 + dismissed_comment: *530 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74743,7 +75188,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -74819,7 +75264,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &540 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74846,15 +75291,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 responses: '200': description: Response content: application/json: - schema: &535 + schema: &537 type: object properties: status: @@ -74881,13 +75326,13 @@ paths: - description - started_at examples: - default: &536 + default: &538 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &539 description: Bad Request content: application/json: @@ -74898,7 +75343,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': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -74923,29 +75368,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 responses: '200': description: OK content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '202': description: Accepted content: application/json: - schema: *535 + schema: *537 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *539 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74977,9 +75422,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: false content: @@ -75025,8 +75470,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *539 + '403': *540 '404': *6 '422': description: Unprocessable Entity @@ -75050,13 +75495,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 - *19 - *17 - - *539 - - *540 + - *541 + - *542 responses: '200': description: Response @@ -75064,7 +75509,7 @@ paths: application/json: schema: type: array - items: *531 + items: *533 examples: default: value: @@ -75103,7 +75548,7 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75137,25 +75582,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: - - *446 - - *447 - - *297 - - *298 + - *448 + - *449 + - *300 + - *301 - *19 - *17 - - *540 + - *542 - 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: *524 + schema: *526 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &545 type: string description: An identifier for the upload. examples: @@ -75177,23 +75622,23 @@ paths: application/json: schema: type: array - items: &544 + items: &546 type: object properties: - ref: *524 - commit_sha: &552 + ref: *526 + commit_sha: &554 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: *541 + analysis_key: *543 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *544 error: type: string examples: @@ -75218,8 +75663,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *545 + tool: *532 deletable: type: boolean warning: @@ -75281,7 +75726,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75317,8 +75762,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: - - *446 - - *447 + - *448 + - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75331,7 +75776,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: response: summary: application/json response @@ -75385,7 +75830,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *534 '404': *6 '422': description: Response if analysis could not be processed @@ -75472,8 +75917,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: - - *446 - - *447 + - *448 + - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75529,7 +75974,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': *538 + '403': *540 '404': *6 '503': *184 x-github: @@ -75551,8 +75996,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -75560,7 +76005,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: CodeQL Database description: A CodeQL database. type: object @@ -75672,7 +76117,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': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75701,8 +76146,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: - - *446 - - *447 + - *448 + - *449 - name: language in: path description: The language of the CodeQL database. @@ -75714,7 +76159,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: default: value: @@ -75746,9 +76191,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': &575 + '302': &577 description: Found - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75770,8 +76215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *446 - - *447 + - *448 + - *449 - name: language in: path description: The language of the CodeQL database. @@ -75781,7 +76226,7 @@ paths: responses: '204': description: Response - '403': *538 + '403': *540 '404': *6 '503': *184 x-github: @@ -75809,8 +76254,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -75819,7 +76264,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &548 type: string description: The language targeted by the CodeQL query enum: @@ -75898,7 +76343,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &552 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75908,7 +76353,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *546 + query_language: *548 query_pack_url: type: string description: The download url for the query pack. @@ -75956,7 +76401,7 @@ paths: items: type: object properties: - repository: &547 + repository: &549 title: Repository Identifier description: Repository Identifier type: object @@ -75998,7 +76443,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &553 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76030,7 +76475,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &550 type: object properties: repository_count: @@ -76045,7 +76490,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: *547 + items: *549 required: - repository_count - repositories @@ -76068,8 +76513,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *550 + over_limit_repos: *550 required: - access_mismatch_repos - not_found_repos @@ -76085,7 +76530,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &551 summary: Default response value: id: 1 @@ -76237,10 +76682,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *551 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *551 '404': *6 '422': description: Unable to process variant analysis submission @@ -76268,8 +76713,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: - - *446 - - *447 + - *448 + - *449 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76281,9 +76726,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *549 + default: *551 '404': *6 '503': *184 x-github: @@ -76306,7 +76751,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: - - *446 + - *448 - name: repo in: path description: The name of the controller repository. @@ -76341,7 +76786,7 @@ paths: type: object properties: repository: *113 - analysis_status: *551 + analysis_status: *553 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76466,8 +76911,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -76560,7 +77005,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -76581,8 +77026,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -76651,7 +77096,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -76676,7 +77121,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *540 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76747,8 +77192,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -76756,7 +77201,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *554 ref: type: string description: |- @@ -76816,7 +77261,7 @@ paths: schema: type: object properties: - id: *543 + id: *545 url: type: string description: The REST API URL for checking the status of the upload. @@ -76830,7 +77275,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': *538 + '403': *540 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76853,8 +77298,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: - - *446 - - *447 + - *448 + - *449 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76902,7 +77347,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': *532 + '403': *534 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -76927,8 +77372,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77009,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *448 + - *449 - 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 @@ -77138,8 +77583,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77155,7 +77600,7 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: default: value: @@ -77453,8 +77898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -77518,17 +77963,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '400': *14 '401': *23 '403': *27 @@ -77557,8 +78002,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77622,8 +78067,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: - - *446 - - *447 + - *448 + - *449 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77660,9 +78105,9 @@ paths: type: integer machines: type: array - items: *554 + items: *556 examples: - default: &791 + default: &793 value: total_count: 2 machines: @@ -77702,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *446 - - *447 + - *448 + - *449 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77790,8 +78235,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: - - *446 - - *447 + - *448 + - *449 - 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 @@ -77860,8 +78305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -77879,7 +78324,7 @@ paths: type: integer secrets: type: array - items: &558 + items: &560 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77900,7 +78345,7 @@ paths: - created_at - updated_at examples: - default: *555 + default: *557 headers: Link: *41 x-github: @@ -77923,16 +78368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77952,17 +78397,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77982,9 +78427,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: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -78012,7 +78457,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -78036,9 +78481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -78066,8 +78511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *448 + - *449 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78105,7 +78550,7 @@ paths: application/json: schema: type: array - items: &560 + items: &562 title: Collaborator description: Collaborator type: object @@ -78298,8 +78743,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: - - *446 - - *447 + - *448 + - *449 - *132 responses: '204': @@ -78346,8 +78791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 + - *448 + - *449 - *132 requestBody: required: false @@ -78374,7 +78819,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &633 + schema: &635 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78386,7 +78831,7 @@ paths: format: int64 examples: - 42 - repository: *266 + repository: *269 invitee: anyOf: - type: 'null' @@ -78562,7 +79007,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *241 + schema: *244 '403': *27 x-github: triggersNotification: true @@ -78602,8 +79047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 + - *448 + - *449 - *132 responses: '204': @@ -78635,8 +79080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 + - *448 + - *449 - *132 responses: '200': @@ -78657,7 +79102,7 @@ paths: user: anyOf: - type: 'null' - - *560 + - *562 required: - permission - role_name @@ -78711,8 +79156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -78722,7 +79167,7 @@ paths: application/json: schema: type: array - items: &561 + items: &563 title: Commit Comment description: Commit Comment type: object @@ -78763,8 +79208,8 @@ paths: updated_at: type: string format: date-time - author_association: *202 - reactions: *203 + author_association: *205 + reactions: *206 required: - url - html_url @@ -78780,7 +79225,7 @@ paths: - created_at - updated_at examples: - default: &564 + default: &566 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78839,17 +79284,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &565 + default: &567 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78906,9 +79351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -78930,7 +79375,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -78981,9 +79426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -79004,9 +79449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -79032,9 +79477,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -79055,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -79089,16 +79534,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -79120,10 +79565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -79172,8 +79617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *448 + - *449 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -79229,9 +79674,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: &682 + default: &684 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79325,9 +79770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *446 - - *447 - - &563 + - *448 + - *449 + - &565 name: commit_sha description: The SHA of the commit. in: path @@ -79399,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 - *17 - *19 responses: @@ -79411,9 +79856,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: *564 + default: *566 headers: Link: *41 x-github: @@ -79441,9 +79886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 requestBody: required: true content: @@ -79478,9 +79923,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *565 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79508,9 +79953,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: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 - *17 - *19 responses: @@ -79520,9 +79965,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &674 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80059,11 +80504,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 - - &567 + - &569 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)" @@ -80078,9 +80523,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &660 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80193,11 +80638,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: - - *446 - - *447 - - *567 - - *568 + - *448 + - *449 - *569 + - *570 + - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -80231,9 +80676,9 @@ paths: type: integer check_runs: type: array - items: *517 + items: *519 examples: - default: *570 + default: *572 headers: Link: *41 x-github: @@ -80258,9 +80703,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: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -80268,7 +80713,7 @@ paths: schema: type: integer example: 1 - - *568 + - *570 - *17 - *19 responses: @@ -80286,7 +80731,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *523 examples: default: value: @@ -80486,9 +80931,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: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - *17 - *19 responses: @@ -80559,7 +81004,7 @@ paths: type: string total_count: type: integer - repository: *266 + repository: *269 commit_url: type: string format: uri @@ -80690,9 +81135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - *17 - *19 responses: @@ -80702,7 +81147,7 @@ paths: application/json: schema: type: array - items: &736 + items: &738 title: Status description: The status of a commit. type: object @@ -80783,7 +81228,7 @@ paths: site_admin: false headers: Link: *41 - '301': *460 + '301': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80811,8 +81256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -80845,11 +81290,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *571 + - *573 code_of_conduct_file: anyOf: - type: 'null' - - &572 + - &574 title: Community Health File type: object properties: @@ -80865,23 +81310,23 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 contributing: anyOf: - type: 'null' - - *572 + - *574 readme: anyOf: - type: 'null' - - *572 + - *574 issue_template: anyOf: - type: 'null' - - *572 + - *574 pull_request_template: anyOf: - type: 'null' - - *572 + - *574 required: - code_of_conduct - code_of_conduct_file @@ -81010,8 +81455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 - name: basehead @@ -81059,8 +81504,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *562 - merge_base_commit: *562 + base_commit: *564 + merge_base_commit: *564 status: type: string enum: @@ -81084,10 +81529,10 @@ paths: - 6 commits: type: array - items: *562 + items: *564 files: type: array - items: *573 + items: *575 required: - url - html_url @@ -81373,8 +81818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -81527,7 +81972,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &574 + response-if-content-is-a-file: &576 summary: Response if content is a file value: type: file @@ -81664,7 +82109,7 @@ paths: - size - type - url - - &687 + - &689 title: Content File description: Content File type: object @@ -81882,7 +82327,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *574 + response-if-content-is-a-file: *576 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81951,7 +82396,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *575 + '302': *577 '304': *35 x-github: githubCloudOnly: false @@ -81974,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -82070,7 +82515,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 title: File Commit description: File Commit type: object @@ -82226,7 +82671,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: example-for-creating-a-file: value: @@ -82280,7 +82725,7 @@ paths: schema: oneOf: - *3 - - &615 + - &617 description: Repository rule violation was detected type: object properties: @@ -82301,7 +82746,7 @@ paths: items: type: object properties: - placeholder_id: &728 + placeholder_id: &730 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82333,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -82395,7 +82840,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -82450,8 +82895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *448 + - *449 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82575,22 +83020,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 - - *313 - - *314 - - *315 + - *448 + - *449 - *316 + - *317 + - *318 + - *319 - 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 - - *317 - - *577 - - *318 - - *319 + - *320 + - *579 + - *321 + - *322 - *104 - name: per_page description: The number of results per page (max 100). For more information, @@ -82609,7 +83054,7 @@ paths: application/json: schema: type: array - items: &580 + items: &582 type: object description: A Dependabot alert. properties: @@ -82659,7 +83104,7 @@ paths: - direct - transitive - - security_advisory: *578 + security_advisory: *580 security_vulnerability: *123 url: *124 html_url: *125 @@ -82690,7 +83135,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *579 + auto_dismissed_at: *581 required: - number - state @@ -82920,9 +83365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *446 - - *447 - - &581 + - *448 + - *449 + - &583 name: alert_number in: path description: |- @@ -82937,7 +83382,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -83050,9 +83495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *446 - - *447 - - *581 + - *448 + - *449 + - *583 requestBody: required: true content: @@ -83097,7 +83542,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -83226,8 +83671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -83245,7 +83690,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &586 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -83299,16 +83744,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83328,15 +83773,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -83362,9 +83807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -83392,7 +83837,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -83416,9 +83861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -83440,8 +83885,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: - - *446 - - *447 + - *448 + - *449 - 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 @@ -83615,8 +84060,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -83876,8 +84321,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -83960,7 +84405,7 @@ paths: - version - url additionalProperties: false - metadata: &585 + metadata: &587 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83999,7 +84444,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *585 + metadata: *587 resolved: type: object description: A collection of resolved package dependencies. @@ -84013,7 +84458,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *585 + metadata: *587 relationship: type: string description: A notation of whether a dependency is requested @@ -84146,8 +84591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *448 + - *449 - name: sha description: The SHA recorded at creation time. in: query @@ -84188,9 +84633,9 @@ paths: application/json: schema: type: array - items: *586 + items: *588 examples: - default: *587 + default: *589 headers: Link: *41 x-github: @@ -84256,8 +84701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -84339,7 +84784,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *588 examples: simple-example: summary: Simple example @@ -84412,9 +84857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &588 + - *448 + - *449 + - &590 name: deployment_id description: deployment_id parameter in: path @@ -84426,7 +84871,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *588 examples: default: value: @@ -84491,9 +84936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 responses: '204': description: Response @@ -84515,9 +84960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 - *17 - *19 responses: @@ -84527,7 +84972,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Deployment Status description: The status of a deployment. type: object @@ -84691,9 +85136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 requestBody: required: true content: @@ -84768,9 +85213,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84826,9 +85271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 - name: status_id in: path required: true @@ -84839,9 +85284,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -84868,12 +85313,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *591 - - *592 + - *448 + - *449 - *593 - *594 + - *595 + - *596 - *17 - *19 responses: @@ -84883,9 +85328,9 @@ paths: application/json: schema: type: array - items: *595 + items: *597 examples: - default: *596 + default: *598 '404': *6 '403': *27 '500': *38 @@ -84909,8 +85354,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -84922,7 +85367,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *597 examples: default: value: @@ -84978,8 +85423,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85038,12 +85483,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 - - *597 + - *599 - *17 - *19 responses: @@ -85053,9 +85498,9 @@ paths: application/json: schema: type: array - items: *598 + items: *600 examples: - default: *599 + default: *601 '404': *6 '403': *27 '500': *38 @@ -85080,8 +85525,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85093,7 +85538,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *598 + schema: *600 examples: default: value: @@ -85151,8 +85596,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85221,8 +85666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -85279,8 +85724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -85298,7 +85743,7 @@ paths: - 5 environments: type: array - items: &601 + items: &603 title: Environment description: Details of a deployment environment type: object @@ -85360,7 +85805,7 @@ paths: type: string examples: - wait_timer - wait_timer: &603 + wait_timer: &605 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -85402,11 +85847,11 @@ paths: items: type: object properties: - type: *600 + type: *602 reviewer: anyOf: - *4 - - *293 + - *296 required: - id - node_id @@ -85429,7 +85874,7 @@ paths: - id - node_id - type - deployment_branch_policy: &604 + deployment_branch_policy: &606 type: - object - 'null' @@ -85546,9 +85991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &602 + - *448 + - *449 + - &604 name: environment_name in: path required: true @@ -85561,9 +86006,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &605 + default: &607 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85647,9 +86092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: false content: @@ -85659,7 +86104,7 @@ paths: - object - 'null' properties: - wait_timer: *603 + wait_timer: *605 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -85678,14 +86123,14 @@ paths: items: type: object properties: - type: *600 + type: *602 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *604 + deployment_branch_policy: *606 additionalProperties: false examples: default: @@ -85705,9 +86150,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *605 + default: *607 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85731,9 +86176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 responses: '204': description: Default response @@ -85758,9 +86203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 - *17 - *19 responses: @@ -85779,7 +86224,7 @@ paths: - 2 branch_policies: type: array - items: &606 + items: &608 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85840,9 +86285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: true content: @@ -85890,9 +86335,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - example-wildcard: &607 + example-wildcard: &609 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85934,10 +86379,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - &608 + - *448 + - *449 + - *604 + - &610 name: branch_policy_id in: path required: true @@ -85949,9 +86394,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85970,10 +86415,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - *608 + - *448 + - *449 + - *604 + - *610 requestBody: required: true content: @@ -86002,9 +86447,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86023,10 +86468,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - *608 + - *448 + - *449 + - *604 + - *610 responses: '204': description: Response @@ -86051,9 +86496,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 responses: '200': description: List of deployment protection rules @@ -86070,7 +86515,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &609 + items: &611 title: Deployment protection rule description: Deployment protection rule type: object @@ -86092,7 +86537,7 @@ paths: for the environment. examples: - true - app: &610 + app: &612 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86195,9 +86640,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 requestBody: content: application/json: @@ -86218,9 +86663,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *609 + schema: *611 examples: - default: &611 + default: &613 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86255,9 +86700,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 - *19 - *17 responses: @@ -86277,7 +86722,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *610 + items: *612 examples: default: value: @@ -86312,10 +86757,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: - - *446 - - *447 - - *602 - - &612 + - *448 + - *449 + - *604 + - &614 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86327,9 +86772,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *611 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86350,10 +86795,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: - - *602 - - *447 - - *446 - - *612 + - *604 + - *449 + - *448 + - *614 responses: '204': description: Response @@ -86379,9 +86824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 - *17 - *19 responses: @@ -86399,9 +86844,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *485 examples: - default: *484 + default: *486 headers: Link: *41 x-github: @@ -86426,17 +86871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86458,18 +86903,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86491,10 +86936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 requestBody: required: true content: @@ -86525,7 +86970,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -86551,10 +86996,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 responses: '204': description: Default response @@ -86579,10 +87024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *446 - - *447 - - *602 - - *470 + - *448 + - *449 + - *604 + - *472 - *19 responses: '200': @@ -86599,9 +87044,9 @@ paths: type: integer variables: type: array - items: *487 + items: *489 examples: - default: *488 + default: *490 headers: Link: *41 x-github: @@ -86624,9 +87069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: true content: @@ -86653,7 +87098,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -86678,18 +87123,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *602 - - *279 + - *448 + - *449 + - *604 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86710,10 +87155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 - - *279 - - *602 + - *448 + - *449 + - *282 + - *604 requestBody: required: true content: @@ -86755,10 +87200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 - - *279 - - *602 + - *448 + - *449 + - *282 + - *604 responses: '204': description: Response @@ -86780,8 +87225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -86791,7 +87236,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: 200-response: value: @@ -86849,8 +87294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *448 + - *449 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86872,7 +87317,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -87009,8 +87454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -87043,9 +87488,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 '400': *14 '422': *15 '403': *27 @@ -87066,8 +87511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87126,8 +87571,8 @@ paths: application/json: schema: oneOf: - - *241 - - *615 + - *244 + - *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87152,8 +87597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *448 + - *449 - name: file_sha in: path required: true @@ -87253,8 +87698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87363,7 +87808,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &618 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87590,15 +88035,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 responses: '200': description: Response content: application/json: - schema: *616 + schema: *618 examples: default: value: @@ -87654,9 +88099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &617 + - *448 + - *449 + - &619 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. @@ -87673,7 +88118,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Git Reference description: Git references within a repository type: object @@ -87749,17 +88194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 responses: '200': description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: &619 + default: &621 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87788,8 +88233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87818,9 +88263,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87846,9 +88291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 requestBody: required: true content: @@ -87877,9 +88322,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 '422': *15 '409': *112 x-github: @@ -87897,9 +88342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 responses: '204': description: Response @@ -87954,8 +88399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -88022,7 +88467,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Git Tag description: Metadata for a Git tag type: object @@ -88078,7 +88523,7 @@ paths: - sha - type - url - verification: *620 + verification: *622 required: - sha - url @@ -88088,7 +88533,7 @@ paths: - tag - message examples: - default: &622 + default: &624 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88161,8 +88606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *448 + - *449 - name: tag_sha in: path required: true @@ -88173,9 +88618,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '409': *112 x-github: @@ -88199,8 +88644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -88274,7 +88719,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &625 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88376,8 +88821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *448 + - *449 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88400,7 +88845,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default-response: summary: Default response @@ -88459,8 +88904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -88470,7 +88915,7 @@ paths: application/json: schema: type: array - items: &624 + items: &626 title: Webhook description: Webhooks for repositories. type: object @@ -88533,7 +88978,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &868 + last_response: &872 title: Hook Response type: object properties: @@ -88610,8 +89055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -88664,9 +89109,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &625 + default: &627 value: type: Repository id: 12345678 @@ -88714,17 +89159,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '200': description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 x-github: githubCloudOnly: false @@ -88744,9 +89189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 requestBody: required: true content: @@ -88791,9 +89236,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '422': *15 '404': *6 x-github: @@ -88814,9 +89259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -88840,9 +89285,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '200': description: Response @@ -88869,9 +89314,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 requestBody: required: false content: @@ -88915,11 +89360,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *17 - - *326 + - *329 responses: '200': description: Response @@ -88927,9 +89372,9 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: - default: *328 + default: *331 '400': *14 '422': *15 x-github: @@ -88948,18 +89393,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '400': *14 '422': *15 x-github: @@ -88978,9 +89423,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *16 responses: '202': *37 @@ -89003,9 +89448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -89030,9 +89475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -89055,8 +89500,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response if immutable releases are enabled @@ -89104,8 +89549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '409': *112 @@ -89125,8 +89570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '409': *112 @@ -89183,14 +89628,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &626 + schema: &628 title: Import description: A repository import from an external source. type: object @@ -89297,7 +89742,7 @@ paths: - html_url - authors_url examples: - default: &629 + default: &631 value: vcs: subversion use_lfs: true @@ -89313,7 +89758,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': &627 + '503': &629 description: Unavailable due to service under maintenance. content: application/json: @@ -89342,8 +89787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -89391,7 +89836,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: default: value: @@ -89416,7 +89861,7 @@ paths: type: string '422': *15 '404': *6 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89444,8 +89889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -89497,7 +89942,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: example-1: summary: Example 1 @@ -89545,7 +89990,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': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89568,12 +90013,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89599,9 +90044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *446 - - *447 - - &812 + - *448 + - *449 + - &814 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89615,7 +90060,7 @@ paths: application/json: schema: type: array - items: &628 + items: &630 title: Porter Author description: Porter Author type: object @@ -89669,7 +90114,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': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89694,8 +90139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *446 - - *447 + - *448 + - *449 - name: author_id in: path required: true @@ -89725,7 +90170,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -89738,7 +90183,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89762,8 +90207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89804,7 +90249,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89832,8 +90277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -89860,11 +90305,11 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *629 + default: *631 '422': *15 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89887,8 +90332,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89896,8 +90341,8 @@ paths: application/json: schema: *20 examples: - default: *630 - '301': *460 + default: *632 + '301': *462 '404': *6 x-github: githubCloudOnly: false @@ -89917,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89926,12 +90371,12 @@ paths: application/json: schema: anyOf: - - *343 + - *346 - type: object properties: {} additionalProperties: false examples: - default: &632 + default: &634 value: limit: collaborators_only origin: repository @@ -89956,13 +90401,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *631 + schema: *633 examples: default: summary: Example request body @@ -89974,9 +90419,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *632 + default: *634 '409': description: Response x-github: @@ -89998,8 +90443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -90022,8 +90467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -90033,9 +90478,9 @@ paths: application/json: schema: type: array - items: *633 + items: *635 examples: - default: &805 + default: &807 value: - id: 1 repository: @@ -90166,9 +90611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *446 - - *447 - - *347 + - *448 + - *449 + - *350 requestBody: required: false content: @@ -90197,7 +90642,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: default: value: @@ -90328,9 +90773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *446 - - *447 - - *347 + - *448 + - *449 + - *350 responses: '204': description: Response @@ -90361,8 +90806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *448 + - *449 - 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 @@ -90410,7 +90855,7 @@ paths: required: false schema: type: string - - *351 + - *354 - name: sort description: What to sort results by. in: query @@ -90423,7 +90868,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -90433,9 +90878,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: &640 + default: &642 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90583,7 +91028,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *460 + '301': *462 '422': *15 '404': *6 x-github: @@ -90612,8 +91057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -90703,9 +91148,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: &637 + default: &639 value: id: 1 node_id: MDU6SXNzdWUx @@ -90861,7 +91306,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *457 + '410': *459 x-github: triggersNotification: true githubCloudOnly: false @@ -90889,9 +91334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 - - *224 + - *448 + - *449 + - *227 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -90901,7 +91346,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -90911,9 +91356,9 @@ paths: application/json: schema: type: array - items: *634 + items: *636 examples: - default: &639 + default: &641 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90971,17 +91416,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &635 + default: &637 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91035,9 +91480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -91059,9 +91504,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 '422': *15 x-github: githubCloudOnly: false @@ -91079,9 +91524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -91101,9 +91546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -91129,9 +91574,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -91152,9 +91597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -91186,16 +91631,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -91217,10 +91662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -91240,8 +91685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -91251,7 +91696,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Issue Event description: Issue Event type: object @@ -91298,7 +91743,7 @@ paths: issue: anyOf: - type: 'null' - - *215 + - *218 label: title: Issue Event Label description: Issue Event Label @@ -91331,7 +91776,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *293 + requested_team: *296 dismissed_review: title: Issue Event Dismissed Review type: object @@ -91398,7 +91843,7 @@ paths: required: - from - to - author_association: *202 + author_association: *205 lock_reason: type: - string @@ -91590,8 +92035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *448 + - *449 - name: event_id in: path required: true @@ -91602,7 +92047,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: default: value: @@ -91795,7 +92240,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *459 '403': *27 x-github: githubCloudOnly: false @@ -91829,9 +92274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &638 + - *448 + - *449 + - &640 name: issue_number description: The number that identifies the issue. in: path @@ -91843,12 +92288,12 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '404': *6 - '410': *457 + '410': *459 '304': *35 x-github: githubCloudOnly: false @@ -91873,9 +92318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -91994,15 +92439,15 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 '422': *15 '503': *184 '403': *27 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92020,9 +92465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -92048,9 +92493,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92066,9 +92511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: content: application/json: @@ -92093,9 +92538,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92117,9 +92562,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: assignee in: path required: true @@ -92159,10 +92604,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *638 - - *205 + - *448 + - *449 + - *640 + - *208 - *17 - *19 responses: @@ -92172,13 +92617,13 @@ paths: application/json: schema: type: array - items: *634 + items: *636 examples: - default: *639 + default: *641 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92207,9 +92652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -92231,16 +92676,16 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -92268,9 +92713,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92280,14 +92725,14 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92315,9 +92760,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -92339,17 +92784,17 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *462 '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -92380,9 +92825,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92394,15 +92839,15 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 x-github: triggersNotification: true githubCloudOnly: false @@ -92428,9 +92873,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92440,14 +92885,14 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92464,9 +92909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92480,7 +92925,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &643 + - &645 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92529,7 +92974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &646 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92657,7 +93102,7 @@ paths: - performed_via_github_app - assignee - assigner - - &645 + - &647 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92703,7 +93148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &648 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92749,7 +93194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &649 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92798,7 +93243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &650 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92827,7 +93272,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *293 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -92840,7 +93285,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &651 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92869,7 +93314,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *293 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -92882,7 +93327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &652 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92938,7 +93383,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &653 title: Locked Issue Event description: Locked Issue Event type: object @@ -92983,7 +93428,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &654 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93044,7 +93489,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &655 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93105,7 +93550,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &656 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93166,7 +93611,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &657 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93259,7 +93704,7 @@ paths: color: red headers: Link: *41 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93276,9 +93721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -93288,7 +93733,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -93343,7 +93788,7 @@ paths: - color - default examples: - default: &642 + default: &644 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93361,9 +93806,9 @@ paths: default: false headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93380,9 +93825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93441,12 +93886,12 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 - '301': *460 + default: *644 + '301': *462 '404': *6 - '410': *457 + '410': *459 '422': *15 x-github: githubCloudOnly: false @@ -93463,9 +93908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93525,12 +93970,12 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 - '301': *460 + default: *644 + '301': *462 '404': *6 - '410': *457 + '410': *459 '422': *15 x-github: githubCloudOnly: false @@ -93547,15 +93992,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '204': description: Response - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93574,9 +94019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: name in: path required: true @@ -93589,7 +94034,7 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: default: value: @@ -93600,9 +94045,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93622,9 +94067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93653,7 +94098,7 @@ paths: '204': description: Response '403': *27 - '410': *457 + '410': *459 '404': *6 '422': *15 x-github: @@ -93671,9 +94116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '204': description: Response @@ -93703,20 +94148,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '200': description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93733,9 +94178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - 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. @@ -93761,13 +94206,13 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93785,9 +94230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -93819,16 +94264,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -93850,10 +94295,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *446 - - *447 - - *638 - - *438 + - *448 + - *449 + - *640 + - *440 responses: '204': description: Response @@ -93882,9 +94327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -93906,9 +94351,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93941,9 +94386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -93953,13 +94398,13 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93987,9 +94432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -94016,16 +94461,16 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -94045,9 +94490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -94078,9 +94523,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 '403': *27 '404': *6 '422': *7 @@ -94102,9 +94547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -94119,8 +94564,6 @@ paths: description: Timeline Event type: object anyOf: - - *643 - - *644 - *645 - *646 - *647 @@ -94132,6 +94575,8 @@ paths: - *653 - *654 - *655 + - *656 + - *657 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94179,12 +94624,12 @@ paths: issue_url: type: string format: uri - author_association: *202 + author_association: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - event - actor @@ -94215,7 +94660,7 @@ paths: properties: type: type: string - issue: *215 + issue: *218 required: - event - created_at @@ -94437,7 +94882,7 @@ paths: type: string body_text: type: string - author_association: *202 + author_association: *205 required: - event - id @@ -94460,7 +94905,7 @@ paths: type: string comments: type: array - items: &676 + items: &678 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94565,7 +95010,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *202 + author_association: *205 _links: type: object properties: @@ -94660,7 +95105,7 @@ paths: enum: - line - file - reactions: *203 + reactions: *206 body_html: type: string examples: @@ -94698,7 +95143,7 @@ paths: type: string comments: type: array - items: *561 + items: *563 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94973,7 +95418,7 @@ paths: headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94990,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -95001,7 +95446,7 @@ paths: application/json: schema: type: array - items: &656 + items: &658 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95069,8 +95514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95106,9 +95551,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: - default: &657 + default: &659 value: id: 1 key: ssh-rsa AAA... @@ -95142,9 +95587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *446 - - *447 - - &658 + - *448 + - *449 + - &660 name: key_id description: The unique identifier of the key. in: path @@ -95156,9 +95601,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: - default: *657 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -95176,9 +95621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *446 - - *447 - - *658 + - *448 + - *449 + - *660 responses: '204': description: Response @@ -95198,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -95209,9 +95654,9 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 + default: *644 headers: Link: *41 '404': *6 @@ -95232,8 +95677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95269,9 +95714,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: &659 + default: &661 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95303,8 +95748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95315,9 +95760,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *659 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -95334,8 +95779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95374,7 +95819,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: default: value: @@ -95400,8 +95845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95427,8 +95872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -95464,8 +95909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '202': *37 '403': @@ -95493,8 +95938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -95520,9 +95965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *446 - - *447 - - *539 + - *448 + - *449 + - *541 responses: '200': description: Response @@ -95588,7 +96033,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 required: - _links - git_url @@ -95669,8 +96114,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95735,8 +96180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95770,9 +96215,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *562 + schema: *564 examples: - default: *660 + default: *662 '204': description: Response when already merged '404': @@ -95797,8 +96242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95839,7 +96284,7 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: default: value: @@ -95895,8 +96340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95936,9 +96381,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &661 + default: &663 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95997,9 +96442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &662 + - *448 + - *449 + - &664 name: milestone_number description: The number that identifies the milestone. in: path @@ -96011,9 +96456,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *661 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -96030,9 +96475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 requestBody: required: false content: @@ -96070,9 +96515,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *661 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96088,9 +96533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 responses: '204': description: Response @@ -96111,9 +96556,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: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 - *17 - *19 responses: @@ -96123,9 +96568,9 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 + default: *644 headers: Link: *41 x-github: @@ -96144,12 +96589,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: - - *446 - - *447 - - *663 - - *664 - - *205 + - *448 + - *449 - *665 + - *666 + - *208 + - *667 - *17 - *19 responses: @@ -96159,9 +96604,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *666 + default: *668 headers: Link: *41 x-github: @@ -96185,8 +96630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -96244,14 +96689,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &667 + schema: &669 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96395,7 +96840,7 @@ paths: - custom_404 - public examples: - default: &668 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96436,8 +96881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -96492,9 +96937,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 '422': *15 '409': *112 x-github: @@ -96517,8 +96962,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -96626,8 +97071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -96653,8 +97098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -96664,7 +97109,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: Page Build description: Page Build type: object @@ -96756,8 +97201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -96804,16 +97249,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96861,8 +97306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *448 + - *449 - name: build_id in: path required: true @@ -96873,9 +97318,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96895,8 +97340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97004,9 +97449,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: - - *446 - - *447 - - &671 + - *448 + - *449 + - &673 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97064,9 +97509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *671 + - *448 + - *449 + - *673 responses: '204': *144 '404': *6 @@ -97093,8 +97538,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -97362,7 +97807,7 @@ paths: description: Empty response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -97389,8 +97834,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Private vulnerability reporting status @@ -97427,8 +97872,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: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '422': *14 @@ -97449,8 +97894,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: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '422': *14 @@ -97473,8 +97918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: Indicates the state of the projects to return. in: query @@ -97495,7 +97940,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -97535,7 +97980,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -97558,8 +98003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97585,13 +98030,13 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -97614,8 +98059,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -97625,7 +98070,7 @@ paths: type: array items: *145 examples: - default: *672 + default: *674 '403': *27 '404': *6 x-github: @@ -97647,8 +98092,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97664,7 +98109,7 @@ paths: required: - properties examples: - default: *673 + default: *675 responses: '204': description: No Content when custom property values are successfully created @@ -97702,8 +98147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97763,9 +98208,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *674 + default: *676 headers: Link: *41 '304': *35 @@ -97797,8 +98242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97865,7 +98310,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &680 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97994,7 +98439,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 active_lock_reason: type: - string @@ -98049,7 +98494,7 @@ paths: type: - array - 'null' - items: *361 + items: *364 head: type: object properties: @@ -98087,14 +98532,14 @@ paths: _links: type: object properties: - comments: *386 - commits: *386 - statuses: *386 - html: *386 - issue: *386 - review_comments: *386 - review_comment: *386 - self: *386 + comments: *388 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -98104,8 +98549,8 @@ paths: - review_comments - review_comment - self - author_association: *202 - auto_merge: *675 + author_association: *205 + auto_merge: *677 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98207,7 +98652,7 @@ paths: - merged_by - review_comments examples: - default: &679 + default: &681 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98734,8 +99179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - name: sort in: query required: false @@ -98754,7 +99199,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -98764,9 +99209,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: &681 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98843,17 +99288,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: &677 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98928,9 +99373,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -98952,9 +99397,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98970,9 +99415,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -98993,9 +99438,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -99021,9 +99466,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -99044,9 +99489,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -99078,16 +99523,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -99109,10 +99554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -99155,9 +99600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *446 - - *447 - - &680 + - *448 + - *449 + - &682 name: pull_number description: The number that identifies the pull request. in: path @@ -99170,9 +99615,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '304': *35 '404': *6 '406': @@ -99207,9 +99652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -99251,9 +99696,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '422': *15 '403': *27 x-github: @@ -99275,9 +99720,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -99338,17 +99783,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -99378,10 +99823,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: - - *446 - - *447 - - *680 - - *224 + - *448 + - *449 + - *682 + - *227 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -99391,7 +99836,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -99401,9 +99846,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *681 + default: *683 headers: Link: *41 x-github: @@ -99436,9 +99881,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -99544,7 +99989,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: example-for-a-multi-line-comment: value: @@ -99632,10 +100077,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: - - *446 - - *447 - - *680 - - *214 + - *448 + - *449 + - *682 + - *217 requestBody: required: true content: @@ -99657,7 +100102,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: default: value: @@ -99743,9 +100188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -99755,9 +100200,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *682 + default: *684 headers: Link: *41 x-github: @@ -99787,9 +100232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -99799,7 +100244,7 @@ paths: application/json: schema: type: array - items: *573 + items: *575 examples: default: value: @@ -99837,9 +100282,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 responses: '204': description: Response if pull request has been merged @@ -99862,9 +100307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -99976,9 +100421,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 responses: '200': description: Response @@ -99994,7 +100439,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 required: - users - teams @@ -100053,9 +100498,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -100092,7 +100537,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -100628,9 +101073,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -100664,7 +101109,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -101169,9 +101614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -101181,7 +101626,7 @@ paths: application/json: schema: type: array - items: &683 + items: &685 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101255,7 +101700,7 @@ paths: type: string body_text: type: string - author_association: *202 + author_association: *205 required: - id - node_id @@ -101337,9 +101782,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -101429,9 +101874,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: &685 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101494,10 +101939,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: - - *446 - - *447 - - *680 - - &684 + - *448 + - *449 + - *682 + - &686 name: review_id description: The unique identifier of the review. in: path @@ -101509,9 +101954,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: &686 + default: &688 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101570,10 +102015,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -101596,7 +102041,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -101658,18 +102103,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 responses: '200': description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: *685 + default: *687 '422': *7 '404': *6 x-github: @@ -101696,10 +102141,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 - *17 - *19 responses: @@ -101793,13 +102238,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *202 + author_association: *205 _links: type: object properties: - self: *386 - html: *386 - pull_request: *386 + self: *388 + html: *388 + pull_request: *388 required: - self - html @@ -101808,7 +102253,7 @@ paths: type: string body_html: type: string - reactions: *203 + reactions: *206 side: description: The side of the first line of the range for a multi-line comment. @@ -101957,10 +102402,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -101989,7 +102434,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -102052,10 +102497,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -102090,9 +102535,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: *686 + default: *688 '404': *6 '422': *7 '403': *27 @@ -102114,9 +102559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -102180,8 +102625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *448 + - *449 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102194,9 +102639,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &688 + default: &690 value: type: file encoding: base64 @@ -102238,8 +102683,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: - - *446 - - *447 + - *448 + - *449 - name: dir description: The alternate path to look for a README file in: path @@ -102259,9 +102704,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 '404': *6 '422': *15 x-github: @@ -102283,8 +102728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -102294,7 +102739,7 @@ paths: application/json: schema: type: array - items: &689 + items: &691 title: Release description: A release. type: object @@ -102376,7 +102821,7 @@ paths: author: *4 assets: type: array - items: &690 + items: &692 title: Release Asset description: Data related to a release. type: object @@ -102451,7 +102896,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *203 + reactions: *206 required: - assets_url - upload_url @@ -102563,8 +103008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -102640,9 +103085,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: &693 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102747,9 +103192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *446 - - *447 - - &691 + - *448 + - *449 + - &693 name: asset_id description: The unique identifier of the asset. in: path @@ -102761,9 +103206,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: &692 + default: &694 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 @@ -102798,7 +103243,7 @@ paths: type: User site_admin: false '404': *6 - '302': *575 + '302': *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102814,9 +103259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *446 - - *447 - - *691 + - *448 + - *449 + - *693 requestBody: required: false content: @@ -102845,9 +103290,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: *692 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102863,9 +103308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *446 - - *447 - - *691 + - *448 + - *449 + - *693 responses: '204': description: Response @@ -102889,8 +103334,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -102976,16 +103421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103002,8 +103447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *446 - - *447 + - *448 + - *449 - name: tag description: tag parameter in: path @@ -103016,9 +103461,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 '404': *6 x-github: githubCloudOnly: false @@ -103040,9 +103485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &694 + - *448 + - *449 + - &696 name: release_id description: The unique identifier of the release. in: path @@ -103056,9 +103501,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: *689 + schema: *691 examples: - default: *693 + default: *695 '401': description: Unauthorized x-github: @@ -103076,9 +103521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 requestBody: required: false content: @@ -103142,9 +103587,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 '404': description: Not Found if the discussion category name is invalid content: @@ -103165,9 +103610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 responses: '204': description: Response @@ -103187,9 +103632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - *17 - *19 responses: @@ -103199,7 +103644,7 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: default: value: @@ -103281,9 +103726,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: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - name: name in: query required: true @@ -103309,7 +103754,7 @@ paths: description: Response for successful upload content: application/json: - schema: *690 + schema: *692 examples: response-for-successful-upload: value: @@ -103364,9 +103809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - 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. @@ -103390,9 +103835,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -103413,9 +103858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 requestBody: required: true content: @@ -103445,16 +103890,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -103476,10 +103921,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *446 - - *447 - - *694 - - *438 + - *448 + - *449 + - *696 + - *440 responses: '204': description: Response @@ -103503,9 +103948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 - *17 - *19 responses: @@ -103522,7 +103967,7 @@ paths: oneOf: - allOf: - *159 - - &695 + - &697 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103543,67 +103988,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *695 + - *697 - allOf: - *161 - - *695 + - *697 - allOf: - *162 - - *695 + - *697 - allOf: - - *696 - - *695 + - *698 + - *697 - allOf: - *163 - - *695 + - *697 - allOf: - *164 - - *695 + - *697 - allOf: - *165 - - *695 + - *697 - allOf: - *166 - - *695 + - *697 - allOf: - *167 - - *695 + - *697 - allOf: - *168 - - *695 + - *697 - allOf: - *169 - - *695 + - *697 - allOf: - *170 - - *695 + - *697 - allOf: - *171 - - *695 + - *697 - allOf: - *172 - - *695 + - *697 - allOf: - *173 - - *695 + - *697 - allOf: - *174 - - *695 + - *697 - allOf: - *175 - - *695 + - *697 - allOf: - *176 - - *695 + - *697 - allOf: - *177 - - *695 + - *697 - allOf: - *178 - - *695 + - *697 - allOf: + - *699 - *697 - - *695 examples: default: value: @@ -103642,8 +104087,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - name: includes_parents @@ -103654,7 +104099,7 @@ paths: schema: type: boolean default: true - - *698 + - *700 responses: '200': description: Response @@ -103709,8 +104154,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 requestBody: description: Request body required: true @@ -103739,7 +104184,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *699 + items: *701 required: - name - enforcement @@ -103772,7 +104217,7 @@ paths: application/json: schema: *179 examples: - default: &708 + default: &710 value: id: 42 name: super cool ruleset @@ -103819,12 +104264,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *446 - - *447 - - *700 - - *99 - - *701 + - *448 + - *449 - *702 + - *99 + - *703 + - *704 - *17 - *19 responses: @@ -103832,9 +104277,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 '404': *6 '500': *38 x-github: @@ -103855,17 +104300,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *446 - - *447 - - *705 + - *448 + - *449 + - *707 responses: '200': description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: *707 + default: *709 '404': *6 '500': *38 x-github: @@ -103893,8 +104338,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103916,7 +104361,7 @@ paths: application/json: schema: *179 examples: - default: *708 + default: *710 '404': *6 '500': *38 put: @@ -103934,8 +104379,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103969,7 +104414,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *699 + items: *701 examples: default: value: @@ -103999,7 +104444,7 @@ paths: application/json: schema: *179 examples: - default: *708 + default: *710 '404': *6 '500': *38 delete: @@ -104017,8 +104462,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104041,8 +104486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - name: ruleset_id @@ -104060,7 +104505,7 @@ paths: type: array items: *183 examples: - default: *399 + default: *401 '404': *6 '500': *38 x-github: @@ -104079,8 +104524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104098,7 +104543,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -104153,21 +104598,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: - - *446 - - *447 - - *401 - - *402 + - *448 + - *449 - *403 - *404 + - *405 + - *406 - *104 - *19 - *17 - - *709 - - *710 - - *405 - - *406 + - *711 + - *712 - *407 - *408 + - *409 + - *410 responses: '200': description: Response @@ -104175,7 +104620,7 @@ paths: application/json: schema: type: array - items: &714 + items: &716 type: object properties: number: *119 @@ -104191,8 +104636,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *711 - resolution: *712 + state: *713 + resolution: *714 resolved_at: type: - string @@ -104286,7 +104731,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *713 + - *715 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104431,16 +104876,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: - - *446 - - *447 - - *533 - - *408 + - *448 + - *449 + - *535 + - *410 responses: '200': description: Response content: application/json: - schema: *714 + schema: *716 examples: default: value: @@ -104492,9 +104937,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: true content: @@ -104502,8 +104947,8 @@ paths: schema: type: object properties: - state: *711 - resolution: *712 + state: *713 + resolution: *714 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104522,7 +104967,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: default: value: @@ -104597,9 +105042,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 - *19 - *17 responses: @@ -104610,7 +105055,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &888 + items: &892 type: object properties: type: @@ -104637,8 +105082,6 @@ paths: - commit details: oneOf: - - *715 - - *716 - *717 - *718 - *719 @@ -104650,6 +105093,8 @@ paths: - *725 - *726 - *727 + - *728 + - *729 examples: default: value: @@ -104735,8 +105180,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -104744,14 +105189,14 @@ paths: schema: type: object properties: - reason: &729 + reason: &731 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *728 + placeholder_id: *730 required: - reason - placeholder_id @@ -104768,7 +105213,7 @@ paths: schema: type: object properties: - reason: *729 + reason: *731 expire_at: type: - string @@ -104815,8 +105260,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: - - *446 - - *447 + - *448 + - *449 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -104831,7 +105276,7 @@ paths: properties: incremental_scans: type: array - items: &730 + items: &732 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104859,15 +105304,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *730 + items: *732 backfill_scans: type: array - items: *730 + items: *732 custom_pattern_backfill_scans: type: array items: allOf: - - *730 + - *732 - type: object properties: pattern_name: @@ -104937,8 +105382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *446 - - *447 + - *448 + - *449 - *104 - name: sort description: The property to sort the results by. @@ -104982,9 +105427,9 @@ paths: application/json: schema: type: array - items: *731 + items: *733 examples: - default: *732 + default: *734 '400': *14 '404': *6 x-github: @@ -105007,8 +105452,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -105088,7 +105533,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 required: - login - type @@ -105178,9 +105623,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: &734 + default: &736 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105413,8 +105858,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -105527,7 +105972,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: default: value: @@ -105674,17 +106119,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '200': description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: *734 + default: *736 '403': *27 '404': *6 x-github: @@ -105708,9 +106153,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 requestBody: required: true content: @@ -105790,7 +106235,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 required: - login - type @@ -105881,17 +106326,17 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: *734 - add_credit: *734 + default: *736 + add_credit: *736 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *241 + schema: *244 examples: invalid_state_transition: value: @@ -105922,9 +106367,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '202': *37 '400': *14 @@ -105951,17 +106396,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '202': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 '400': *14 '422': *15 '403': *27 @@ -105987,8 +106432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106084,8 +106529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106094,7 +106539,7 @@ paths: application/json: schema: type: array - items: &735 + items: &737 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106127,8 +106572,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106206,8 +106651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106301,8 +106746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106456,8 +106901,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106467,7 +106912,7 @@ paths: application/json: schema: type: array - items: *735 + items: *737 examples: default: value: @@ -106500,8 +106945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *448 + - *449 - name: sha in: path required: true @@ -106557,7 +107002,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *738 examples: default: value: @@ -106611,8 +107056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106624,7 +107069,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -106644,14 +107089,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &737 + schema: &739 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106724,8 +107169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -106751,7 +107196,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *739 examples: default: value: @@ -106778,8 +107223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -106799,8 +107244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106882,8 +107327,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106891,7 +107336,7 @@ paths: application/json: schema: type: array - items: &738 + items: &740 title: Tag protection description: Tag protection type: object @@ -106948,8 +107393,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -106972,7 +107417,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *740 examples: default: value: @@ -107003,8 +107448,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: - - *446 - - *447 + - *448 + - *449 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107041,8 +107486,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *446 - - *447 + - *448 + - *449 - name: ref in: path required: true @@ -107078,8 +107523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -107089,9 +107534,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 headers: Link: *41 '404': *6 @@ -107111,8 +107556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 responses: @@ -107120,7 +107565,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &741 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107132,7 +107577,7 @@ paths: required: - names examples: - default: &740 + default: &742 value: names: - octocat @@ -107155,8 +107600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -107187,9 +107632,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *741 examples: - default: *740 + default: *742 '404': *6 '422': *7 x-github: @@ -107210,9 +107655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &741 + - *448 + - *449 + - &743 name: per description: The time frame to display results for. in: query @@ -107243,7 +107688,7 @@ paths: - 128 clones: type: array - items: &742 + items: &744 title: Traffic type: object properties: @@ -107330,8 +107775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -107425,8 +107870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -107489,9 +107934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *741 + - *448 + - *449 + - *743 responses: '200': description: Response @@ -107512,7 +107957,7 @@ paths: - 3782 views: type: array - items: *742 + items: *744 required: - uniques - count @@ -107589,8 +108034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -107626,7 +108071,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -107864,8 +108309,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107888,8 +108333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -107911,8 +108356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -107938,8 +108383,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *446 - - *447 + - *448 + - *449 - name: ref in: path required: true @@ -108031,9 +108476,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108074,7 +108519,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -108184,7 +108629,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &750 + - &752 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108194,7 +108639,7 @@ paths: type: string examples: - members - - &755 + - &757 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108206,7 +108651,7 @@ paths: format: int32 examples: - 1 - - &756 + - &758 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108250,7 +108695,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &745 + items: &747 allOf: - type: object required: @@ -108332,7 +108777,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: &757 + meta: &759 type: object description: The metadata associated with the creation/updates to the user. @@ -108397,30 +108842,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &746 + '400': &748 description: Bad request content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '401': *744 - '403': &747 + schema: *745 + '401': *746 + '403': &749 description: Permission denied - '429': &748 + '429': &750 description: Too many requests content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '500': &749 + schema: *745 + '500': &751 description: Internal server error content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 + schema: *745 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108444,7 +108889,7 @@ paths: required: true content: application/json: - schema: &753 + schema: &755 type: object required: - schemas @@ -108508,9 +108953,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *745 + schema: *747 examples: - group: &751 + group: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108529,13 +108974,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': *746 - '401': *744 - '403': *747 - '409': &754 + '400': *748 + '401': *746 + '403': *749 + '409': &756 description: Duplicate record detected - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108552,7 +108997,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: - - &752 + - &754 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -108561,22 +109006,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *750 + - *752 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *745 + schema: *747 examples: - default: *751 - '400': *746 - '401': *744 - '403': *747 + default: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108595,13 +109040,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: - - *752 + - *754 - *39 requestBody: required: true content: application/json: - schema: *753 + schema: *755 examples: group: summary: Group @@ -108627,17 +109072,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *745 + schema: *747 examples: - group: *751 - groupWithMembers: *751 - '400': *746 - '401': *744 - '403': *747 + group: *753 + groupWithMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108661,13 +109106,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: - - *752 + - *754 - *39 requestBody: required: true content: application/json: - schema: &764 + schema: &766 type: object required: - Operations @@ -108727,17 +109172,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *745 + schema: *747 examples: - updateGroup: *751 - addMembers: *751 - '400': *746 - '401': *744 - '403': *747 + updateGroup: *753 + addMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108753,17 +109198,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: - - *752 + - *754 - *39 responses: '204': description: Group was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108797,8 +109242,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *755 - - *756 + - *757 + - *758 - *39 responses: '200': @@ -108832,7 +109277,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &759 + items: &761 allOf: - type: object required: @@ -108924,7 +109369,7 @@ paths: address. examples: - true - roles: &758 + roles: &760 type: array description: The roles assigned to the user. items: @@ -108983,7 +109428,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *757 + meta: *759 startIndex: type: integer description: A starting index for the returned page @@ -109022,11 +109467,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *746 - '401': *744 - '403': *747 - '429': *748 - '500': *749 + '400': *748 + '401': *746 + '403': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109050,7 +109495,7 @@ paths: required: true content: application/json: - schema: &762 + schema: &764 type: object required: - schemas @@ -109143,9 +109588,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *758 + roles: *760 examples: - user: &763 + user: &765 summary: User value: schemas: @@ -109192,9 +109637,9 @@ paths: description: User has been created content: application/scim+json: - schema: *759 + schema: *761 examples: - user: &760 + user: &762 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109220,13 +109665,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: *760 - '400': *746 - '401': *744 - '403': *747 - '409': *754 - '429': *748 - '500': *749 + enterpriseOwner: *762 + '400': *748 + '401': *746 + '403': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109243,7 +109688,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: - - &761 + - &763 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -109256,15 +109701,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *759 + schema: *761 examples: - default: *760 - '400': *746 - '401': *744 - '403': *747 + default: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109286,30 +109731,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: - - *761 + - *763 - *39 requestBody: required: true content: application/json: - schema: *762 + schema: *764 examples: - user: *763 + user: *765 responses: '200': description: User was updated content: application/scim+json: - schema: *759 + schema: *761 examples: - user: *760 - '400': *746 - '401': *744 - '403': *747 + user: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109344,13 +109789,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: - - *761 + - *763 - *39 requestBody: required: true content: application/json: - schema: *764 + schema: *766 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -109390,18 +109835,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *759 + schema: *761 examples: - userMultiValuedProperties: *760 - userSingleValuedProperties: *760 - disableUser: *760 - '400': *746 - '401': *744 - '403': *747 + userMultiValuedProperties: *762 + userSingleValuedProperties: *762 + disableUser: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109421,17 +109866,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: - - *761 + - *763 - *39 responses: '204': description: User was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109522,7 +109967,7 @@ paths: - 1 Resources: type: array - items: &765 + items: &767 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -109769,22 +110214,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &766 + '404': &768 description: Resource not found content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '403': &767 + schema: *745 + '403': &769 description: Forbidden content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '400': *746 - '429': *748 + schema: *745 + '400': *748 + '429': *750 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -109810,9 +110255,9 @@ paths: description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: &768 + default: &770 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109835,17 +110280,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *766 - '403': *767 - '500': *749 + '404': *768 + '403': *769 + '500': *751 '409': description: Conflict content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '400': *746 + schema: *745 + '400': *748 requestBody: required: true content: @@ -109945,17 +110390,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 - '404': *766 - '403': *767 + default: *770 + '404': *768 + '403': *769 '304': *35 x-github: githubCloudOnly: true @@ -109979,18 +110424,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 + default: *770 '304': *35 - '404': *766 - '403': *767 + '404': *768 + '403': *769 requestBody: required: true content: @@ -110105,19 +110550,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 + default: *770 '304': *35 - '404': *766 - '403': *767 - '400': *746 + '404': *768 + '403': *769 + '400': *748 '429': description: Response content: @@ -110213,12 +110658,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *761 + - *763 responses: '204': description: Response - '404': *766 - '403': *767 + '404': *768 + '403': *769 '304': *35 x-github: githubCloudOnly: true @@ -110333,7 +110778,7 @@ paths: html_url: type: string format: uri - repository: *266 + repository: *269 score: type: number file_size: @@ -110352,7 +110797,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &769 + text_matches: &771 title: Search Result Text Matches type: array items: @@ -110516,7 +110961,7 @@ paths: enum: - author-date - committer-date - - &770 + - &772 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 @@ -110585,7 +111030,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 comment_count: type: integer message: @@ -110604,7 +111049,7 @@ paths: url: type: string format: uri - verification: *620 + verification: *622 required: - author - committer @@ -110619,7 +111064,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 parents: type: array items: @@ -110631,12 +111076,12 @@ paths: type: string sha: type: string - repository: *266 + repository: *269 score: type: number node_id: type: string - text_matches: *769 + text_matches: *771 required: - sha - node_id @@ -110829,7 +111274,7 @@ paths: - interactions - created - updated - - *770 + - *772 - *17 - *19 - name: advanced_search @@ -110926,11 +111371,11 @@ paths: type: - string - 'null' - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: type: string state_reason: @@ -110944,7 +111389,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 comments: type: integer created_at: @@ -110958,7 +111403,7 @@ paths: - string - 'null' format: date-time - text_matches: *769 + text_matches: *771 pull_request: type: object properties: @@ -110996,7 +111441,7 @@ paths: type: string score: type: number - author_association: *202 + author_association: *205 draft: type: boolean repository: *72 @@ -111007,12 +111452,12 @@ paths: timeline_url: type: string format: uri - type: *348 + type: *351 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - assignee - closed_at @@ -111181,7 +111626,7 @@ paths: enum: - created - updated - - *770 + - *772 - *17 - *19 responses: @@ -111226,7 +111671,7 @@ paths: - 'null' score: type: number - text_matches: *769 + text_matches: *771 required: - id - node_id @@ -111312,7 +111757,7 @@ paths: - forks - help-wanted-issues - updated - - *770 + - *772 - *17 - *19 responses: @@ -111531,7 +111976,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 permissions: type: object properties: @@ -111549,7 +111994,7 @@ paths: - admin - pull - push - text_matches: *769 + text_matches: *771 temp_clone_token: type: string allow_merge_commit: @@ -111858,7 +112303,7 @@ paths: - string - 'null' format: uri - text_matches: *769 + text_matches: *771 related: type: - array @@ -112053,7 +112498,7 @@ paths: - followers - repositories - joined - - *770 + - *772 - *17 - *19 responses: @@ -112163,7 +112608,7 @@ paths: type: - boolean - 'null' - text_matches: *769 + text_matches: *771 blog: type: - string @@ -112245,7 +112690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &774 + - &776 name: team_id description: The unique identifier of the team. in: path @@ -112257,9 +112702,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -112286,7 +112731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *774 + - *776 requestBody: required: true content: @@ -112350,16 +112795,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '201': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 '422': *15 '403': *27 @@ -112387,7 +112832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *774 + - *776 responses: '204': description: Response @@ -112418,7 +112863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *774 + - *776 - *104 - *17 - *19 @@ -112429,9 +112874,9 @@ paths: application/json: schema: type: array - items: *429 + items: *431 examples: - default: *775 + default: *777 headers: Link: *41 x-github: @@ -112460,7 +112905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *774 + - *776 requestBody: required: true content: @@ -112494,9 +112939,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: triggersNotification: true githubCloudOnly: false @@ -112523,16 +112968,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112557,8 +113002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 requestBody: required: false content: @@ -112581,9 +113026,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *776 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112608,8 +113053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 responses: '204': description: Response @@ -112638,8 +113083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *774 - - *431 + - *776 + - *433 - *104 - *17 - *19 @@ -112650,9 +113095,9 @@ paths: application/json: schema: type: array - items: *432 + items: *434 examples: - default: *777 + default: *779 headers: Link: *41 x-github: @@ -112681,8 +113126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *774 - - *431 + - *776 + - *433 requestBody: required: true content: @@ -112704,9 +113149,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: triggersNotification: true githubCloudOnly: false @@ -112733,17 +113178,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 responses: '200': description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112768,9 +113213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 requestBody: required: true content: @@ -112792,9 +113237,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *778 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112819,9 +113264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 responses: '204': description: Response @@ -112850,9 +113295,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: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 - 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. @@ -112878,9 +113323,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -112909,9 +113354,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: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 requestBody: required: true content: @@ -112943,9 +113388,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112971,8 +113416,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: - - *774 - - *431 + - *776 + - *433 - 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. @@ -112998,9 +113443,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -113029,8 +113474,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: - - *774 - - *431 + - *776 + - *433 requestBody: required: true content: @@ -113062,9 +113507,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113088,7 +113533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113098,9 +113543,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 x-github: @@ -113126,7 +113571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *774 + - *776 - name: role description: Filters members returned by their role in the team. in: query @@ -113149,7 +113594,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -113177,7 +113622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113214,7 +113659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113254,7 +113699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113291,16 +113736,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: - - *774 + - *776 - *132 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-user-is-a-team-maintainer: *779 + response-if-user-is-a-team-maintainer: *781 '404': *6 x-github: githubCloudOnly: false @@ -113333,7 +113778,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: - - *774 + - *776 - *132 requestBody: required: false @@ -113359,9 +113804,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: *780 + response-if-users-membership-with-team-is-now-pending: *782 '403': description: Forbidden if team synchronization is set up '422': @@ -113395,7 +113840,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: - - *774 + - *776 - *132 responses: '204': @@ -113424,7 +113869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113434,9 +113879,9 @@ paths: application/json: schema: type: array - items: *444 + items: *446 examples: - default: *781 + default: *783 headers: Link: *41 '404': *6 @@ -113462,16 +113907,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: - - *774 - - *445 + - *776 + - *447 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *782 + default: *784 '404': description: Not Found if project is not managed by this team x-github: @@ -113495,8 +113940,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: - - *774 - - *445 + - *776 + - *447 requestBody: required: false content: @@ -113563,8 +114008,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: - - *774 - - *445 + - *776 + - *447 responses: '204': description: Response @@ -113591,7 +114036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113601,9 +114046,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '404': *6 @@ -113633,15 +114078,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *785 examples: alternative-response-with-extra-repository-information: value: @@ -113792,9 +114237,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 requestBody: required: false content: @@ -113844,9 +114289,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 responses: '204': description: Response @@ -113875,15 +114320,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: - - *774 + - *776 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 '403': *27 '404': *6 x-github: @@ -113910,7 +114355,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: - - *774 + - *776 requestBody: required: true content: @@ -113971,7 +114416,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -114002,7 +114447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -114012,9 +114457,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *786 headers: Link: *41 '404': *6 @@ -114047,7 +114492,7 @@ paths: application/json: schema: oneOf: - - &786 + - &788 title: Private User description: Private User type: object @@ -114297,7 +114742,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *787 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114457,7 +114902,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *788 examples: default: value: @@ -114536,7 +114981,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '304': *35 '404': *6 '403': *27 @@ -114660,9 +115105,9 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: - default: *354 + default: *357 '304': *35 '500': *38 '401': *23 @@ -114801,17 +115246,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -114855,7 +115300,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &789 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114897,7 +115342,7 @@ paths: - visibility - selected_repositories_url examples: - default: *555 + default: *557 headers: Link: *41 x-github: @@ -114969,13 +115414,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: - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *787 + schema: *789 examples: default: value: @@ -115005,7 +115450,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: - - *276 + - *279 requestBody: required: true content: @@ -115050,7 +115495,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -115078,7 +115523,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: - - *276 + - *279 responses: '204': description: Response @@ -115103,7 +115548,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: - - *276 + - *279 responses: '200': description: Response @@ -115119,9 +115564,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *788 + default: *790 '401': *23 '403': *27 '404': *6 @@ -115146,7 +115591,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: - - *276 + - *279 requestBody: required: true content: @@ -115200,7 +115645,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: - - *276 + - *279 - name: repository_id in: path required: true @@ -115233,7 +115678,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: - - *276 + - *279 - name: repository_id in: path required: true @@ -115265,15 +115710,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '304': *35 '500': *38 '401': *23 @@ -115299,7 +115744,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: - - *355 + - *358 requestBody: required: false content: @@ -115329,9 +115774,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -115353,7 +115798,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: - - *355 + - *358 responses: '202': *37 '304': *35 @@ -115382,13 +115827,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: - - *355 + - *358 responses: '202': description: Response content: application/json: - schema: &789 + schema: &791 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115441,7 +115886,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &790 + default: &792 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115473,7 +115918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *355 + - *358 - name: export_id in: path required: true @@ -115486,9 +115931,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *791 examples: - default: *790 + default: *792 '404': *6 x-github: githubCloudOnly: false @@ -115509,7 +115954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *355 + - *358 responses: '200': description: Response @@ -115525,9 +115970,9 @@ paths: type: integer machines: type: array - items: *554 + items: *556 examples: - default: *791 + default: *793 '304': *35 '500': *38 '401': *23 @@ -115556,7 +116001,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: - - *355 + - *358 requestBody: required: true content: @@ -115612,11 +116057,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *459 + repository: *461 machine: anyOf: - type: 'null' - - *554 + - *556 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116413,15 +116858,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '304': *35 '500': *38 '400': *14 @@ -116453,15 +116898,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '500': *38 '401': *23 '403': *27 @@ -116491,9 +116936,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: &802 + default: &804 value: - id: 197 name: hello_docker @@ -116594,7 +117039,7 @@ paths: application/json: schema: type: array - items: &792 + items: &794 title: Email description: Email type: object @@ -116664,9 +117109,9 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: - default: &804 + default: &806 value: - email: octocat@github.com verified: true @@ -116743,7 +117188,7 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: default: value: @@ -116855,7 +117300,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '304': *35 @@ -116888,7 +117333,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '304': *35 @@ -117001,7 +117446,7 @@ paths: application/json: schema: type: array - items: &793 + items: &795 title: GPG Key description: A unique encryption key type: object @@ -117146,7 +117591,7 @@ paths: - subkeys - revoked examples: - default: &818 + default: &820 value: - id: 3 name: Octocat's GPG Key @@ -117231,9 +117676,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *795 examples: - default: &794 + default: &796 value: id: 3 name: Octocat's GPG Key @@ -117290,7 +117735,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: - - &795 + - &797 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117302,9 +117747,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *795 examples: - default: *794 + default: *796 '404': *6 '304': *35 '403': *27 @@ -117327,7 +117772,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: - - *795 + - *797 responses: '204': description: Response @@ -117518,7 +117963,7 @@ paths: type: array items: *72 examples: - default: *261 + default: *264 headers: Link: *41 '404': *6 @@ -117543,7 +117988,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *260 + - *263 responses: '204': description: Response @@ -117569,7 +118014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *260 + - *263 responses: '204': description: Response @@ -117603,12 +118048,12 @@ paths: application/json: schema: anyOf: - - *343 + - *346 - type: object properties: {} additionalProperties: false examples: - default: *344 + default: *347 '204': description: Response when there are no restrictions x-github: @@ -117632,7 +118077,7 @@ paths: required: true content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -117643,7 +118088,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: default: value: @@ -117724,7 +118169,7 @@ paths: - closed - all default: open - - *351 + - *354 - name: sort description: What to sort results by. in: query @@ -117737,7 +118182,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -117747,9 +118192,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *352 + default: *355 headers: Link: *41 '404': *6 @@ -117782,7 +118227,7 @@ paths: application/json: schema: type: array - items: &796 + items: &798 title: Key description: Key type: object @@ -117885,9 +118330,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *798 examples: - default: &797 + default: &799 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117920,15 +118365,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: - - *658 + - *660 responses: '200': description: Response content: application/json: - schema: *796 + schema: *798 examples: - default: *797 + default: *799 '404': *6 '304': *35 '403': *27 @@ -117951,7 +118396,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: - - *658 + - *660 responses: '204': description: Response @@ -117984,7 +118429,7 @@ paths: application/json: schema: type: array - items: &798 + items: &800 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118052,7 +118497,7 @@ paths: - id - type - login - plan: *218 + plan: *221 required: - billing_cycle - next_billing_date @@ -118063,7 +118508,7 @@ paths: - account - plan examples: - default: &799 + default: &801 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118125,9 +118570,9 @@ paths: application/json: schema: type: array - items: *798 + items: *800 examples: - default: *799 + default: *801 headers: Link: *41 '304': *35 @@ -118167,7 +118612,7 @@ paths: application/json: schema: type: array - items: *356 + items: *359 examples: default: value: @@ -118275,7 +118720,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -118358,7 +118803,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -118426,7 +118871,7 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: default: value: @@ -118688,7 +119133,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -118868,7 +119313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *359 + - *362 - name: exclude in: query required: false @@ -118881,7 +119326,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -119075,7 +119520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *359 + - *362 responses: '302': description: Response @@ -119101,7 +119546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *359 + - *362 responses: '204': description: Response @@ -119130,8 +119575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *359 - - *800 + - *362 + - *802 responses: '204': description: Response @@ -119155,7 +119600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *359 + - *362 - *17 - *19 responses: @@ -119165,9 +119610,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '404': *6 @@ -119204,7 +119649,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: *41 '304': *35 @@ -119246,7 +119691,7 @@ paths: - docker - nuget - container - - *801 + - *803 - *19 - *17 responses: @@ -119256,10 +119701,10 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 - '400': *803 + default: *804 + '400': *805 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119279,16 +119724,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: - - *365 - - *366 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: &819 + default: &821 value: id: 40201 name: octo-name @@ -119401,8 +119846,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: - - *365 - - *366 + - *368 + - *369 responses: '204': description: Response @@ -119432,8 +119877,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: - - *365 - - *366 + - *368 + - *369 - name: token description: package token schema: @@ -119465,8 +119910,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: - - *365 - - *366 + - *368 + - *369 - *19 - *17 - name: state @@ -119486,7 +119931,7 @@ paths: application/json: schema: type: array - items: *367 + items: *370 examples: default: value: @@ -119535,15 +119980,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -119579,9 +120024,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '204': description: Response @@ -119611,9 +120056,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '204': description: Response @@ -119671,7 +120116,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: default: value: @@ -119743,9 +120188,9 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: - default: *804 + default: *806 headers: Link: *41 '304': *35 @@ -119858,7 +120303,7 @@ paths: type: array items: *72 examples: - default: &811 + default: &813 summary: Default response value: - id: 1296269 @@ -120176,9 +120621,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120216,9 +120661,9 @@ paths: application/json: schema: type: array - items: *633 + items: *635 examples: - default: *805 + default: *807 headers: Link: *41 '304': *35 @@ -120241,7 +120686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *347 + - *350 responses: '204': description: Response @@ -120264,7 +120709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *347 + - *350 responses: '204': description: Response @@ -120297,7 +120742,7 @@ paths: application/json: schema: type: array - items: &806 + items: &808 title: Social account description: Social media account type: object @@ -120314,7 +120759,7 @@ paths: - provider - url examples: - default: &807 + default: &809 value: - provider: twitter url: https://twitter.com/github @@ -120377,9 +120822,9 @@ paths: application/json: schema: type: array - items: *806 + items: *808 examples: - default: *807 + default: *809 '422': *15 '304': *35 '404': *6 @@ -120467,7 +120912,7 @@ paths: application/json: schema: type: array - items: &808 + items: &810 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120487,7 +120932,7 @@ paths: - title - created_at examples: - default: &822 + default: &826 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120554,9 +120999,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *810 examples: - default: &809 + default: &811 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120587,7 +121032,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: - - &810 + - &812 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120599,9 +121044,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *810 examples: - default: *809 + default: *811 '404': *6 '304': *35 '403': *27 @@ -120624,7 +121069,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: - - *810 + - *812 responses: '204': description: Response @@ -120653,7 +121098,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: - - &823 + - &827 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 @@ -120678,11 +121123,11 @@ paths: type: array items: *72 examples: - default-response: *811 + default-response: *813 application/vnd.github.v3.star+json: schema: type: array - items: &824 + items: &828 title: Starred Repository description: Starred Repository type: object @@ -120838,8 +121283,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response if this repository is starred by you @@ -120867,8 +121312,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -120892,8 +121337,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -120926,9 +121371,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '304': *35 @@ -120965,7 +121410,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -121043,7 +121488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *220 + - *223 responses: '200': description: Response @@ -121051,10 +121496,10 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *788 + - *787 examples: - default-response: &813 + default-response: &815 summary: Default response value: login: octocat @@ -121089,7 +121534,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &814 + response-with-git-hub-plan-information: &816 summary: Response with GitHub plan information value: login: octocat @@ -121149,7 +121594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *812 + - *814 - *17 responses: '200': @@ -121160,7 +121605,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: example: ; rel="next" @@ -121198,11 +121643,11 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *788 + - *787 examples: - default-response: *813 - response-with-git-hub-plan-information: *814 + default-response: *815 + response-with-git-hub-plan-information: *816 '404': *6 x-github: githubCloudOnly: false @@ -121252,8 +121697,8 @@ paths: required: - subject_digests examples: - default: *815 - withPredicateType: *816 + default: *817 + withPredicateType: *818 responses: '200': description: Response @@ -121307,7 +121752,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *817 + default: *819 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121512,12 +121957,12 @@ paths: initiator: type: string examples: - default: *499 + default: *501 '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -121551,9 +121996,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 + default: *804 '403': *27 '401': *23 x-github: @@ -121586,7 +122031,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121659,7 +122104,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121746,7 +122191,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121816,7 +122261,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -121847,7 +122292,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -121894,7 +122339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *132 - - *205 + - *208 - *17 - *19 responses: @@ -121904,9 +122349,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '422': *15 @@ -121937,9 +122382,9 @@ paths: application/json: schema: type: array - items: *793 + items: *795 examples: - default: *818 + default: *820 headers: Link: *41 x-github: @@ -122043,7 +122488,7 @@ paths: application/json: schema: *20 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122129,7 +122574,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: *41 x-github: @@ -122168,7 +122613,7 @@ paths: - docker - nuget - container - - *801 + - *803 - *132 - *19 - *17 @@ -122179,12 +122624,12 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 + default: *804 '403': *27 '401': *23 - '400': *803 + '400': *805 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122204,17 +122649,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *819 + default: *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122235,8 +122680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 responses: '204': @@ -122269,8 +122714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 - name: token description: package token @@ -122303,8 +122748,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: - - *365 - - *366 + - *368 + - *369 - *132 responses: '200': @@ -122313,7 +122758,7 @@ paths: application/json: schema: type: array - items: *367 + items: *370 examples: default: value: @@ -122371,16 +122816,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: - - *365 - - *366 - *368 + - *369 + - *371 - *132 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -122415,10 +122860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *365 - - *366 - - *132 - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -122450,10 +122895,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *365 - - *366 - - *132 - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -122500,7 +122945,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -122575,9 +123020,9 @@ paths: application/json: schema: type: array - items: *380 + items: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -122599,16 +123044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *382 + - *385 - *132 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -122630,7 +123075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *382 + - *385 - *132 - *17 - *102 @@ -122642,9 +123087,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *822 headers: Link: *41 '304': *35 @@ -122666,17 +123111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *382 - - *820 + - *385 + - *823 - *132 responses: '200': description: Response content: application/json: - schema: *383 + schema: *386 examples: - default: *384 + default: *824 headers: Link: *41 '304': *35 @@ -122699,7 +123144,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: - - *382 + - *385 - *132 - *102 - *103 @@ -122732,9 +123177,9 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -122756,7 +123201,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *382 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -122793,10 +123238,10 @@ paths: description: Response content: application/json: - schema: *821 + schema: *825 examples: - issue: *388 - pull_request: *388 + issue: *390 + pull_request: *390 '304': *35 '403': *27 '401': *23 @@ -122816,9 +123261,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: - - *382 + - *385 - *132 - - *391 + - *393 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -122838,9 +123283,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -122861,9 +123306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *382 + - *385 - *132 - - *391 + - *393 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -122936,13 +123381,13 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - text_field: *390 - number_field: *390 - date_field: *390 - single_select_field: *390 - iteration_field: *390 + text_field: *392 + number_field: *392 + date_field: *392 + single_select_field: *392 + iteration_field: *392 '401': *23 '403': *27 '404': *6 @@ -122962,9 +123407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *382 + - *385 - *132 - - *391 + - *393 responses: '204': description: Response @@ -123001,7 +123446,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -123076,7 +123521,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -123182,9 +123627,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -123214,9 +123659,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123244,9 +123689,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123268,10 +123713,10 @@ paths: parameters: - *132 - *190 - - *232 + - *192 - *191 - - *234 - - *235 + - *236 + - *194 responses: '200': description: Response when getting a billing premium request usage report @@ -123407,9 +123852,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123431,7 +123876,7 @@ paths: parameters: - *132 - *190 - - *236 + - *237 - *191 responses: '200': @@ -123509,6 +123954,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: + - *132 + - *190 + - *192 + - *191 + - *240 + - *194 + - *241 + 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': *27 + '404': *6 + '500': *38 + '503': *184 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -123531,9 +124111,9 @@ paths: application/json: schema: type: array - items: *806 + items: *808 examples: - default: *807 + default: *809 headers: Link: *41 x-github: @@ -123563,9 +124143,9 @@ paths: application/json: schema: type: array - items: *808 + items: *810 examples: - default: *822 + default: *826 headers: Link: *41 x-github: @@ -123590,7 +124170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *823 + - *827 - *104 - *17 - *19 @@ -123602,11 +124182,11 @@ paths: schema: anyOf: - type: array - items: *824 + items: *828 - type: array items: *72 examples: - default-response: *811 + default-response: *813 headers: Link: *41 x-github: @@ -123635,9 +124215,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -123766,7 +124346,7 @@ webhooks: type: string enum: - disabled - enterprise: &825 + enterprise: &829 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123835,7 +124415,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &826 + installation: &830 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123856,7 +124436,7 @@ webhooks: required: - id - node_id - organization: &827 + organization: &831 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123929,7 +124509,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &828 + repository: &832 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -123958,7 +124538,7 @@ webhooks: license: anyOf: - type: 'null' - - *216 + - *219 organization: anyOf: - type: 'null' @@ -124842,10 +125422,10 @@ webhooks: type: string enum: - enabled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -124921,11 +125501,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: &829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: &833 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) @@ -125148,11 +125728,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: *829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -125340,11 +125920,11 @@ webhooks: - everyone required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: *829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -125415,7 +125995,7 @@ webhooks: required: true content: application/json: - schema: &832 + schema: &836 title: Exemption request cancellation event type: object properties: @@ -125423,11 +126003,11 @@ webhooks: type: string enum: - cancelled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: &830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: &834 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -125665,7 +126245,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &831 + items: &835 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -125775,7 +126355,7 @@ webhooks: required: true content: application/json: - schema: &833 + schema: &837 title: Exemption request completed event type: object properties: @@ -125783,11 +126363,11 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -125857,7 +126437,7 @@ webhooks: required: true content: application/json: - schema: &834 + schema: &838 title: Exemption request created event type: object properties: @@ -125865,11 +126445,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -125939,7 +126519,7 @@ webhooks: required: true content: application/json: - schema: &835 + schema: &839 title: Exemption response dismissed event type: object properties: @@ -125947,12 +126527,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 - exemption_response: *831 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -126024,7 +126604,7 @@ webhooks: required: true content: application/json: - schema: &836 + schema: &840 title: Exemption response submitted event type: object properties: @@ -126032,12 +126612,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 - exemption_response: *831 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -126110,7 +126690,7 @@ webhooks: required: true content: application/json: - schema: *832 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126177,7 +126757,7 @@ webhooks: required: true content: application/json: - schema: *833 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126244,7 +126824,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126311,7 +126891,7 @@ webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126379,7 +126959,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126457,7 +127037,7 @@ webhooks: type: string enum: - completed - check_run: &838 + check_run: &842 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126522,8 +127102,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *516 - repository: *266 + items: *518 + repository: *269 status: type: string enum: @@ -126567,7 +127147,7 @@ webhooks: - examples: - neutral - deployment: *837 + deployment: *841 details_url: type: string examples: @@ -126627,7 +127207,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *516 + items: *518 started_at: type: string format: date-time @@ -126665,10 +127245,10 @@ webhooks: - output - app - pull_requests - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -127061,11 +127641,11 @@ webhooks: type: string enum: - created - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -127461,11 +128041,11 @@ webhooks: type: string enum: - requested_action - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 requested_action: description: The action requested by the user. type: object @@ -127870,11 +128450,11 @@ webhooks: type: string enum: - rerequested - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -128866,10 +129446,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -129554,10 +130134,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -130236,10 +130816,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -130408,7 +130988,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130560,20 +131140,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &839 + commit_oid: &843 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: *825 - installation: *826 - organization: *827 - ref: &840 + enterprise: *829 + installation: *830 + organization: *831 + ref: &844 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: *828 + repository: *832 sender: *4 required: - action @@ -130740,7 +131320,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130981,12 +131561,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131084,7 +131664,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131269,12 +131849,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131443,7 +132023,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131620,12 +132200,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131728,7 +132308,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131908,9 +132488,9 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131918,7 +132498,7 @@ webhooks: type: - string - 'null' - repository: *828 + repository: *832 sender: *4 required: - action @@ -132017,7 +132597,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132164,12 +132744,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -132431,10 +133011,10 @@ webhooks: - updated_at - author_association - body - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -132515,18 +133095,18 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *827 - pusher_type: &841 + organization: *831 + pusher_type: &845 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &842 + ref: &846 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -132536,7 +133116,7 @@ webhooks: enum: - tag - branch - repository: *828 + repository: *832 sender: *4 required: - ref @@ -132619,9 +133199,9 @@ webhooks: enum: - created definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132706,9 +133286,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132786,9 +133366,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132866,9 +133446,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132945,10 +133525,10 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - repository: *828 - organization: *827 + enterprise: *829 + installation: *830 + repository: *832 + organization: *831 sender: *4 new_property_values: type: array @@ -133033,18 +133613,18 @@ webhooks: title: delete event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - pusher_type: *841 - ref: *842 + enterprise: *829 + installation: *830 + organization: *831 + pusher_type: *845 + ref: *846 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *828 + repository: *832 sender: *4 required: - ref @@ -133128,11 +133708,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133216,11 +133796,11 @@ webhooks: type: string enum: - auto_reopened - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133304,11 +133884,11 @@ webhooks: type: string enum: - created - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133390,11 +133970,11 @@ webhooks: type: string enum: - dismissed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133476,11 +134056,11 @@ webhooks: type: string enum: - fixed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133563,11 +134143,11 @@ webhooks: type: string enum: - reintroduced - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133649,11 +134229,11 @@ webhooks: type: string enum: - reopened - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133730,9 +134310,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - key: &843 + enterprise: *829 + installation: *830 + key: &847 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -133770,8 +134350,8 @@ webhooks: - verified - created_at - read_only - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -133848,11 +134428,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - key: *843 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + key: *847 + organization: *831 + repository: *832 sender: *4 required: - action @@ -134424,12 +135004,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: &847 + workflow: &851 title: Workflow type: - object @@ -135167,13 +135747,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *586 + deployment: *588 pull_requests: type: array - items: *678 - repository: *828 - organization: *827 - installation: *826 + items: *680 + repository: *832 + organization: *831 + installation: *830 sender: *4 responses: '200': @@ -135244,7 +135824,7 @@ webhooks: type: string enum: - approved - approver: &844 + approver: &848 type: object properties: avatar_url: @@ -135287,11 +135867,11 @@ webhooks: type: string comment: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - reviewers: &845 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: &849 type: array items: type: object @@ -135372,7 +135952,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &846 + workflow_job_run: &850 type: object properties: conclusion: @@ -136118,18 +136698,18 @@ webhooks: type: string enum: - rejected - approver: *844 + approver: *848 comment: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - reviewers: *845 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: *849 sender: *4 since: type: string - workflow_job_run: *846 + workflow_job_run: *850 workflow_job_runs: type: array items: @@ -136846,13 +137426,13 @@ webhooks: type: string enum: - requested - enterprise: *825 + enterprise: *829 environment: type: string - installation: *826 - organization: *827 - repository: *828 - requestor: &852 + installation: *830 + organization: *831 + repository: *832 + requestor: &856 title: User type: - object @@ -138795,12 +139375,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Deployment Workflow Run type: @@ -139491,7 +140071,7 @@ webhooks: type: string enum: - answered - answer: &850 + answer: &854 type: object properties: author_association: @@ -139651,7 +140231,7 @@ webhooks: - created_at - updated_at - body - discussion: &848 + discussion: &852 title: Discussion description: A Discussion in a repository. type: object @@ -139947,7 +140527,7 @@ webhooks: - id labels: type: array - items: *641 + items: *643 required: - repository_url - category @@ -139969,10 +140549,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140099,11 +140679,11 @@ webhooks: - from required: - category - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140186,11 +140766,11 @@ webhooks: type: string enum: - closed - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140272,7 +140852,7 @@ webhooks: type: string enum: - created - comment: &849 + comment: &853 type: object properties: author_association: @@ -140432,11 +141012,11 @@ webhooks: - updated_at - body - reactions - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140519,12 +141099,12 @@ webhooks: type: string enum: - deleted - comment: *849 - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140619,12 +141199,12 @@ webhooks: - from required: - body - comment: *849 - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140708,11 +141288,11 @@ webhooks: type: string enum: - created - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140794,11 +141374,11 @@ webhooks: type: string enum: - deleted - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140898,11 +141478,11 @@ webhooks: type: string required: - from - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140984,10 +141564,10 @@ webhooks: type: string enum: - labeled - discussion: *848 - enterprise: *825 - installation: *826 - label: &851 + discussion: *852 + enterprise: *829 + installation: *830 + label: &855 title: Label type: object properties: @@ -141020,8 +141600,8 @@ webhooks: - color - default - description - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141104,11 +141684,11 @@ webhooks: type: string enum: - locked - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141190,11 +141770,11 @@ webhooks: type: string enum: - pinned - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141276,11 +141856,11 @@ webhooks: type: string enum: - reopened - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141365,16 +141945,16 @@ webhooks: changes: type: object properties: - new_discussion: *848 - new_repository: *828 + new_discussion: *852 + new_repository: *832 required: - new_discussion - new_repository - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141457,10 +142037,10 @@ webhooks: type: string enum: - unanswered - discussion: *848 - old_answer: *850 - organization: *827 - repository: *828 + discussion: *852 + old_answer: *854 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141542,12 +142122,12 @@ webhooks: type: string enum: - unlabeled - discussion: *848 - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141630,11 +142210,11 @@ webhooks: type: string enum: - unlocked - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141716,11 +142296,11 @@ webhooks: type: string enum: - unpinned - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141789,7 +142369,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141852,7 +142432,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141918,7 +142498,7 @@ webhooks: required: true content: application/json: - schema: *832 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141984,7 +142564,7 @@ webhooks: required: true content: application/json: - schema: *833 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142050,7 +142630,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142116,7 +142696,7 @@ webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142182,7 +142762,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142249,7 +142829,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *825 + enterprise: *829 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -142927,9 +143507,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - forkee @@ -143075,9 +143655,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pages: description: The pages that were updated. type: array @@ -143115,7 +143695,7 @@ webhooks: - action - sha - html_url - repository: *828 + repository: *832 sender: *4 required: - pages @@ -143191,10 +143771,10 @@ webhooks: type: string enum: - created - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: &853 + organization: *831 + repositories: &857 description: An array of repository objects that the installation can access. type: array @@ -143220,8 +143800,8 @@ webhooks: - name - full_name - private - repository: *828 - requester: *852 + repository: *832 + requester: *856 sender: *4 required: - action @@ -143296,11 +143876,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143377,11 +143957,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143458,10 +144038,10 @@ webhooks: type: string enum: - added - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories_added: &854 + organization: *831 + repositories_added: &858 description: An array of repository objects, which were added to the installation. type: array @@ -143507,15 +144087,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *828 - repository_selection: &855 + repository: *832 + repository_selection: &859 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *852 + requester: *856 sender: *4 required: - action @@ -143594,10 +144174,10 @@ webhooks: type: string enum: - removed - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories_added: *854 + organization: *831 + repositories_added: *858 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -143624,9 +144204,9 @@ webhooks: - name - full_name - private - repository: *828 - repository_selection: *855 - requester: *852 + repository: *832 + repository_selection: *859 + requester: *856 sender: *4 required: - action @@ -143705,11 +144285,11 @@ webhooks: type: string enum: - suspend - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143892,10 +144472,10 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 target_type: type: string @@ -143974,11 +144554,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -144226,8 +144806,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145044,8 +145624,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145062,7 +145642,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -145406,8 +145986,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -145487,7 +146067,7 @@ webhooks: type: string enum: - deleted - comment: &856 + comment: &860 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -145654,8 +146234,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146468,8 +147048,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146486,7 +147066,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -146832,8 +147412,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -146913,7 +147493,7 @@ webhooks: type: string enum: - edited - changes: &880 + changes: &884 description: The changes to the comment. type: object properties: @@ -146925,9 +147505,9 @@ webhooks: type: string required: - from - comment: *856 - enterprise: *825 - installation: *826 + comment: *860 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147743,8 +148323,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147761,7 +148341,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -148105,8 +148685,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148190,15 +148770,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 + blocking_issue: *218 blocking_issue_repo: *72 - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148286,15 +148866,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 + blocking_issue: *218 blocking_issue_repo: *72 - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148381,15 +148961,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 - installation: *826 - organization: *827 - repository: *828 + blocking_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148477,15 +149057,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 - installation: *826 - organization: *827 - repository: *828 + blocking_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148570,10 +149150,10 @@ webhooks: type: string enum: - assigned - assignee: *852 - enterprise: *825 - installation: *826 - issue: &859 + assignee: *856 + enterprise: *829 + installation: *830 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149385,11 +149965,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149406,7 +149986,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -149509,8 +150089,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -149590,8 +150170,8 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150408,11 +150988,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150429,7 +151009,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -150675,8 +151255,8 @@ webhooks: required: - state - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -150755,8 +151335,8 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151564,11 +152144,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151585,7 +152165,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -151687,8 +152267,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -151767,8 +152347,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152599,11 +153179,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152620,7 +153200,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -152701,7 +153281,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &857 + milestone: &861 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152844,8 +153424,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -152944,8 +153524,8 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153757,11 +154337,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153775,7 +154355,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -153881,9 +154461,9 @@ webhooks: - active_lock_reason - body - reactions - label: *851 - organization: *827 - repository: *828 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -153963,8 +154543,8 @@ webhooks: type: string enum: - labeled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154775,11 +155355,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154793,7 +155373,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -154899,9 +155479,9 @@ webhooks: - active_lock_reason - body - reactions - label: *851 - organization: *827 - repository: *828 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -154981,8 +155561,8 @@ webhooks: type: string enum: - locked - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155818,11 +156398,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155836,7 +156416,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -155919,8 +156499,8 @@ webhooks: format: uri user_view_type: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -155999,8 +156579,8 @@ webhooks: type: string enum: - milestoned - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156830,11 +157410,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156851,7 +157431,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -156931,9 +157511,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *857 - organization: *827 - repository: *828 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -157825,11 +158405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157925,7 +158505,7 @@ webhooks: required: - login - id - type: *348 + type: *351 required: - id - number @@ -158406,8 +158986,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159219,11 +159799,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159240,7 +159820,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -159342,8 +159922,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159423,9 +160003,9 @@ webhooks: type: string enum: - pinned - enterprise: *825 - installation: *826 - issue: &858 + enterprise: *829 + installation: *830 + issue: &862 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160231,11 +160811,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160252,7 +160832,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -160354,8 +160934,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -160434,8 +161014,8 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161269,11 +161849,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161370,9 +161950,9 @@ webhooks: format: uri user_view_type: type: string - type: *348 - organization: *827 - repository: *828 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162261,11 +162841,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162282,7 +162862,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -162864,11 +163444,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *825 - installation: *826 - issue: *858 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162948,12 +163528,12 @@ webhooks: type: string enum: - typed - enterprise: *825 - installation: *826 - issue: *859 - type: *348 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163034,7 +163614,7 @@ webhooks: type: string enum: - unassigned - assignee: &883 + assignee: &887 title: User type: - object @@ -163106,11 +163686,11 @@ webhooks: required: - login - id - enterprise: *825 - installation: *826 - issue: *859 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163189,12 +163769,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *825 - installation: *826 - issue: *859 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163274,8 +163854,8 @@ webhooks: type: string enum: - unlocked - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164109,11 +164689,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164130,7 +164710,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -164210,8 +164790,8 @@ webhooks: format: uri user_view_type: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164291,11 +164871,11 @@ webhooks: type: string enum: - unpinned - enterprise: *825 - installation: *826 - issue: *858 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164374,12 +164954,12 @@ webhooks: type: string enum: - untyped - enterprise: *825 - installation: *826 - issue: *859 - type: *348 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164459,11 +165039,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164541,11 +165121,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164655,11 +165235,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164741,9 +165321,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: &860 + enterprise: *829 + installation: *830 + marketplace_purchase: &864 title: Marketplace Purchase type: object required: @@ -164831,8 +165411,8 @@ webhooks: type: integer unit_count: type: integer - organization: *827 - previous_marketplace_purchase: &861 + organization: *831 + previous_marketplace_purchase: &865 title: Marketplace Purchase type: object properties: @@ -164916,7 +165496,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -164996,10 +165576,10 @@ webhooks: - changed effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165087,7 +165667,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -165169,10 +165749,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165258,7 +165838,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -165339,8 +165919,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 marketplace_purchase: title: Marketplace Purchase type: object @@ -165426,9 +166006,9 @@ webhooks: type: integer unit_count: type: integer - organization: *827 - previous_marketplace_purchase: *861 - repository: *828 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -165508,12 +166088,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 - previous_marketplace_purchase: *861 - repository: *828 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -165615,11 +166195,11 @@ webhooks: type: string required: - to - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165721,11 +166301,11 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165804,11 +166384,11 @@ webhooks: type: string enum: - removed - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165886,11 +166466,11 @@ webhooks: type: string enum: - added - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165968,7 +166548,7 @@ webhooks: required: - login - id - team: &862 + team: &866 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166198,11 +166778,11 @@ webhooks: type: string enum: - removed - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166281,7 +166861,7 @@ webhooks: required: - login - id - team: *862 + team: *866 required: - action - scope @@ -166363,8 +166943,8 @@ webhooks: type: string enum: - checks_requested - installation: *826 - merge_group: &863 + installation: *830 + merge_group: &867 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166383,15 +166963,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *520 + head_commit: *522 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166477,10 +167057,10 @@ webhooks: - merged - invalidated - dequeued - installation: *826 - merge_group: *863 - organization: *827 - repository: *828 + installation: *830 + merge_group: *867 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166553,7 +167133,7 @@ webhooks: type: string enum: - deleted - enterprise: *825 + enterprise: *829 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166662,12 +167242,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *826 - organization: *827 + installation: *830 + organization: *831 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -166747,11 +167327,11 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166830,9 +167410,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - milestone: &864 + enterprise: *829 + installation: *830 + milestone: &868 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166974,8 +167554,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167054,11 +167634,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167168,11 +167748,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167252,11 +167832,11 @@ webhooks: type: string enum: - opened - enterprise: *825 - installation: *826 - milestone: *864 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *868 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167335,11 +167915,11 @@ webhooks: type: string enum: - blocked - blocked_user: *852 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167418,11 +167998,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *852 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167498,7 +168078,7 @@ webhooks: enum: - created definition: *140 - enterprise: *825 + enterprise: *829 sender: *4 required: - action @@ -167578,8 +168158,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 sender: *4 required: - action @@ -167652,8 +168232,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 sender: *4 required: - action @@ -167725,9 +168305,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 new_property_values: type: array @@ -167815,9 +168395,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - membership: &865 + enterprise: *829 + installation: *830 + membership: &869 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167927,8 +168507,8 @@ webhooks: - role - organization_url - user - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168006,11 +168586,11 @@ webhooks: type: string enum: - member_added - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168089,8 +168669,8 @@ webhooks: type: string enum: - member_invited - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168212,10 +168792,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 - user: *852 + user: *856 required: - action - invitation @@ -168293,11 +168873,11 @@ webhooks: type: string enum: - member_removed - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168384,11 +168964,11 @@ webhooks: properties: from: type: string - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168464,9 +169044,9 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -168989,7 +169569,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &866 + items: &870 title: Ruby Gems metadata type: object properties: @@ -169086,7 +169666,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -169162,9 +169742,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -169526,7 +170106,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *870 source_url: type: string format: uri @@ -169597,7 +170177,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -169778,12 +170358,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *825 + enterprise: *829 id: type: integer - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - id @@ -169860,7 +170440,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &867 + personal_access_token_request: &871 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170010,10 +170590,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *825 - organization: *827 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170090,11 +170670,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *867 - enterprise: *825 - organization: *827 + personal_access_token_request: *871 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170170,11 +170750,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *867 - enterprise: *825 - organization: *827 + personal_access_token_request: *871 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170249,11 +170829,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *867 - organization: *827 - enterprise: *825 + personal_access_token_request: *871 + organization: *831 + enterprise: *829 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170358,7 +170938,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *868 + last_response: *872 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170390,8 +170970,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 zen: description: Random string of GitHub zen. @@ -170636,10 +171216,10 @@ webhooks: - from required: - note - enterprise: *825 - installation: *826 - organization: *827 - project_card: &869 + enterprise: *829 + installation: *830 + organization: *831 + project_card: &873 title: Project Card type: object properties: @@ -170762,7 +171342,7 @@ webhooks: - creator - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -170843,11 +171423,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project_card: *869 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *873 + repository: *832 sender: *4 required: - action @@ -170927,9 +171507,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 project_card: title: Project Card type: object @@ -171059,7 +171639,7 @@ webhooks: repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -171153,11 +171733,11 @@ webhooks: - from required: - note - enterprise: *825 - installation: *826 - organization: *827 - project_card: *869 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *873 + repository: *832 sender: *4 required: - action @@ -171251,9 +171831,9 @@ webhooks: - from required: - column_id - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 project_card: allOf: - title: Project Card @@ -171450,7 +172030,7 @@ webhooks: type: string required: - after_id - repository: *828 + repository: *832 sender: *4 required: - action @@ -171530,10 +172110,10 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - organization: *827 - project: &871 + enterprise: *829 + installation: *830 + organization: *831 + project: &875 title: Project type: object properties: @@ -171660,7 +172240,7 @@ webhooks: - creator - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -171740,10 +172320,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project_column: &870 + enterprise: *829 + installation: *830 + organization: *831 + project_column: &874 title: Project Column type: object properties: @@ -171783,7 +172363,7 @@ webhooks: - name - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -171862,14 +172442,14 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -171958,11 +172538,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 + repository: *832 sender: *4 required: - action @@ -172042,11 +172622,11 @@ webhooks: type: string enum: - moved - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 + repository: *832 sender: *4 required: - action @@ -172126,11 +172706,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172210,14 +172790,14 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - project: *871 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -172318,11 +172898,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172401,11 +172981,11 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172486,9 +173066,9 @@ webhooks: type: string enum: - closed - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172569,9 +173149,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172652,9 +173232,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172775,9 +173355,9 @@ webhooks: type: string to: type: string - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172860,7 +173440,7 @@ webhooks: type: string enum: - archived - changes: &875 + changes: &879 type: object properties: archived_at: @@ -172876,9 +173456,9 @@ webhooks: - string - 'null' format: date-time - installation: *826 - organization: *827 - projects_v2_item: &872 + installation: *830 + organization: *831 + projects_v2_item: &876 title: Projects v2 Item description: An item belonging to a project type: object @@ -172896,7 +173476,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *387 + content_type: *389 creator: *4 created_at: type: string @@ -173018,9 +173598,9 @@ webhooks: - 'null' to: type: string - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173102,9 +173682,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173185,9 +173765,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173292,7 +173872,7 @@ webhooks: oneOf: - type: string - type: integer - - &873 + - &877 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173316,7 +173896,7 @@ webhooks: required: - id - name - - &874 + - &878 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173356,8 +173936,8 @@ webhooks: oneOf: - type: string - type: integer - - *873 - - *874 + - *877 + - *878 type: - 'null' - string @@ -173380,9 +173960,9 @@ webhooks: - 'null' required: - body - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173479,9 +174059,9 @@ webhooks: type: - string - 'null' - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173564,10 +174144,10 @@ webhooks: type: string enum: - restored - changes: *875 - installation: *826 - organization: *827 - projects_v2_item: *872 + changes: *879 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173649,9 +174229,9 @@ webhooks: type: string enum: - reopened - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -173732,9 +174312,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -173815,9 +174395,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -173963,9 +174543,9 @@ webhooks: - string - 'null' format: date - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -174036,10 +174616,10 @@ webhooks: title: public event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - repository @@ -174116,13 +174696,13 @@ webhooks: type: string enum: - assigned - assignee: *852 - enterprise: *825 - installation: *826 - number: &877 + assignee: *856 + enterprise: *829 + installation: *830 + number: &881 description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -176471,7 +177051,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -176553,11 +177133,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -178899,7 +179479,7 @@ webhooks: - draft reason: type: string - repository: *828 + repository: *832 sender: *4 required: - action @@ -178981,11 +179561,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -181327,7 +181907,7 @@ webhooks: - draft reason: type: string - repository: *828 + repository: *832 sender: *4 required: - action @@ -181409,13 +181989,13 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: &878 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: &882 allOf: - - *678 + - *680 - type: object properties: allow_auto_merge: @@ -181477,7 +182057,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *828 + repository: *832 sender: *4 required: - action @@ -181558,12 +182138,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -181643,11 +182223,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *825 - milestone: *385 - number: *877 - organization: *827 - pull_request: &879 + enterprise: *829 + milestone: *387 + number: *881 + organization: *831 + pull_request: &883 title: Pull Request type: object properties: @@ -183974,7 +184554,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -184053,11 +184633,11 @@ webhooks: type: string enum: - dequeued - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -186403,7 +186983,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *828 + repository: *832 sender: *4 required: - action @@ -186527,12 +187107,12 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -186612,11 +187192,11 @@ webhooks: type: string enum: - enqueued - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -188947,7 +189527,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -189027,11 +189607,11 @@ webhooks: type: string enum: - labeled - enterprise: *825 - installation: *826 - label: *851 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + label: *855 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -191379,7 +191959,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -191460,10 +192040,10 @@ webhooks: type: string enum: - locked - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -193809,7 +194389,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -193889,12 +194469,12 @@ webhooks: type: string enum: - milestoned - enterprise: *825 - milestone: *385 - number: *877 - organization: *827 - pull_request: *879 - repository: *828 + enterprise: *829 + milestone: *387 + number: *881 + organization: *831 + pull_request: *883 + repository: *832 sender: *4 required: - action @@ -193973,12 +194553,12 @@ webhooks: type: string enum: - opened - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194059,12 +194639,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194144,12 +194724,12 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194524,9 +195104,9 @@ webhooks: - start_side - side - reactions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -196756,7 +197336,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -196836,7 +197416,7 @@ webhooks: type: string enum: - deleted - comment: &881 + comment: &885 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. @@ -197129,9 +197709,9 @@ webhooks: - start_side - side - reactions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -199349,7 +199929,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -199429,11 +200009,11 @@ webhooks: type: string enum: - edited - changes: *880 - comment: *881 - enterprise: *825 - installation: *826 - organization: *827 + changes: *884 + comment: *885 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -201654,7 +202234,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -201735,9 +202315,9 @@ webhooks: type: string enum: - dismissed - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -203970,7 +204550,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 review: description: The review that was affected. type: object @@ -204221,9 +204801,9 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -206337,8 +206917,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 - review: &882 + repository: *832 + review: &886 description: The review that was affected. type: object properties: @@ -206576,12 +207156,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -208928,7 +209508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_reviewer: title: User type: @@ -209014,12 +209594,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -211373,7 +211953,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211568,12 +212148,12 @@ webhooks: type: string enum: - review_requested - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -213922,7 +214502,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_reviewer: title: User type: @@ -214009,12 +214589,12 @@ webhooks: type: string enum: - review_requested - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -216354,7 +216934,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216538,9 +217118,9 @@ webhooks: type: string enum: - submitted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -218776,8 +219356,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 - review: *882 + repository: *832 + review: *886 sender: *4 required: - action @@ -218857,9 +219437,9 @@ webhooks: type: string enum: - resolved - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -220990,7 +221570,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 sender: *4 thread: type: object @@ -221387,9 +221967,9 @@ webhooks: type: string enum: - unresolved - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -223503,7 +224083,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 sender: *4 thread: type: object @@ -223902,10 +224482,10 @@ webhooks: type: string before: type: string - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -226240,7 +226820,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -226322,11 +226902,11 @@ webhooks: type: string enum: - unassigned - assignee: *883 - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + assignee: *887 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -228676,7 +229256,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -228755,11 +229335,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *825 - installation: *826 - label: *851 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + label: *855 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -231098,7 +231678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -231179,10 +231759,10 @@ webhooks: type: string enum: - unlocked - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -233511,7 +234091,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -233714,7 +234294,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *825 + enterprise: *829 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233809,8 +234389,8 @@ webhooks: - url - author - committer - installation: *826 - organization: *827 + installation: *830 + organization: *831 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234398,9 +234978,9 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -234877,7 +235457,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *866 + items: *870 summary: type: string tag_name: @@ -234933,7 +235513,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -235011,9 +235591,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -235325,7 +235905,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *870 summary: type: string tag_name: @@ -235375,7 +235955,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -235452,10 +236032,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - release: &884 + enterprise: *829 + installation: *830 + organization: *831 + release: &888 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235786,7 +236366,7 @@ webhooks: - updated_at - zipball_url - body - repository: *828 + repository: *832 sender: *4 required: - action @@ -235863,11 +236443,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -235984,11 +236564,11 @@ webhooks: type: boolean required: - to - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -236066,9 +236646,9 @@ webhooks: type: string enum: - prereleased - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236404,7 +236984,7 @@ webhooks: - string - 'null' format: uri - repository: *828 + repository: *832 sender: *4 required: - action @@ -236480,10 +237060,10 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - release: &885 + enterprise: *829 + installation: *830 + organization: *831 + release: &889 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236816,7 +237396,7 @@ webhooks: - string - 'null' format: uri - repository: *828 + repository: *832 sender: *4 required: - action @@ -236892,11 +237472,11 @@ webhooks: type: string enum: - released - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -236972,11 +237552,11 @@ webhooks: type: string enum: - unpublished - enterprise: *825 - installation: *826 - organization: *827 - release: *885 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *889 + repository: *832 sender: *4 required: - action @@ -237052,11 +237632,11 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - repository_advisory: *731 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -237132,11 +237712,11 @@ webhooks: type: string enum: - reported - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - repository_advisory: *731 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -237212,10 +237792,10 @@ webhooks: type: string enum: - archived - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237292,10 +237872,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237373,10 +237953,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237461,10 +238041,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237579,10 +238159,10 @@ webhooks: - 'null' items: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237654,10 +238234,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 status: type: string @@ -237738,10 +238318,10 @@ webhooks: type: string enum: - privatized - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237818,10 +238398,10 @@ webhooks: type: string enum: - publicized - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237915,10 +238495,10 @@ webhooks: - name required: - repository - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237998,10 +238578,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 sender: *4 required: @@ -238080,10 +238660,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 sender: *4 required: @@ -238162,10 +238742,10 @@ webhooks: type: string enum: - edited - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 changes: type: object @@ -238227,16 +238807,16 @@ webhooks: properties: added: type: array - items: *699 + items: *701 deleted: type: array - items: *699 + items: *701 updated: type: array items: type: object properties: - rule: *699 + rule: *701 changes: type: object properties: @@ -238473,10 +239053,10 @@ webhooks: - from required: - owner - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238554,10 +239134,10 @@ webhooks: type: string enum: - unarchived - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238635,7 +239215,7 @@ webhooks: type: string enum: - create - alert: &886 + alert: &890 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238759,10 +239339,10 @@ webhooks: type: string enum: - open - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238972,10 +239552,10 @@ webhooks: type: string enum: - dismissed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239053,11 +239633,11 @@ webhooks: type: string enum: - reopen - alert: *886 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *890 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239259,10 +239839,10 @@ webhooks: enum: - fixed - open - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239340,7 +239920,7 @@ webhooks: type: string enum: - created - alert: &887 + alert: &891 type: object properties: number: *119 @@ -239454,10 +240034,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239538,11 +240118,11 @@ webhooks: type: string enum: - created - alert: *887 - installation: *826 - location: *888 - organization: *827 - repository: *828 + alert: *891 + installation: *830 + location: *892 + organization: *831 + repository: *832 sender: *4 required: - location @@ -239780,11 +240360,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239862,11 +240442,11 @@ webhooks: type: string enum: - reopened - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239944,11 +240524,11 @@ webhooks: type: string enum: - resolved - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -240026,11 +240606,11 @@ webhooks: type: string enum: - validated - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -240160,10 +240740,10 @@ webhooks: - organization - enterprise - - repository: *828 - enterprise: *825 - installation: *826 - organization: *827 + repository: *832 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -240241,11 +240821,11 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - security_advisory: &889 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: &893 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240431,11 +241011,11 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - security_advisory: *889 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: *893 sender: *4 required: - action @@ -240508,10 +241088,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240697,11 +241277,11 @@ webhooks: from: type: object properties: - security_and_analysis: *393 - enterprise: *825 - installation: *826 - organization: *827 - repository: *459 + security_and_analysis: *395 + enterprise: *829 + installation: *830 + organization: *831 + repository: *461 sender: *4 required: - changes @@ -240779,12 +241359,12 @@ webhooks: type: string enum: - cancelled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: &890 + sponsorship: &894 type: object properties: created_at: @@ -241089,12 +241669,12 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - sponsorship @@ -241182,12 +241762,12 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241264,17 +241844,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &891 + effective_date: &895 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: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - sponsorship @@ -241348,7 +241928,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &892 + changes: &896 type: object properties: tier: @@ -241392,13 +241972,13 @@ webhooks: - from required: - tier - effective_date: *891 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + effective_date: *895 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241475,13 +242055,13 @@ webhooks: type: string enum: - tier_changed - changes: *892 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + changes: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241555,10 +242135,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241642,10 +242222,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242079,15 +242659,15 @@ webhooks: type: - string - 'null' - enterprise: *825 + enterprise: *829 id: description: The unique identifier of the status. type: integer - installation: *826 + installation: *830 name: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 sha: description: The Commit SHA. @@ -242197,15 +242777,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 + parent_issue: *218 parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 - installation: *826 - organization: *827 - repository: *828 + sub_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242289,15 +242869,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 + parent_issue: *218 parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 - installation: *826 - organization: *827 - repository: *828 + sub_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242381,15 +242961,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 + sub_issue: *218 sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 - installation: *826 - organization: *827 - repository: *828 + parent_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242473,15 +243053,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 + sub_issue: *218 sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 - installation: *826 - organization: *827 - repository: *828 + parent_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242558,12 +243138,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - team: &893 + team: &897 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242793,9 +243373,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -243265,7 +243845,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -243341,9 +243921,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -243813,7 +244393,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -243890,9 +244470,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -244362,7 +244942,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -244506,9 +245086,9 @@ webhooks: - from required: - permissions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -244978,7 +245558,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - changes @@ -245056,9 +245636,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -245528,7 +246108,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -245604,10 +246184,10 @@ webhooks: type: string enum: - started - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -245680,17 +246260,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *825 + enterprise: *829 inputs: type: - object - 'null' additionalProperties: true - installation: *826 - organization: *827 + installation: *830 + organization: *831 ref: type: string - repository: *828 + repository: *832 sender: *4 workflow: type: string @@ -245772,10 +246352,10 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -246031,7 +246611,7 @@ webhooks: type: string required: - conclusion - deployment: *586 + deployment: *588 required: - action - repository @@ -246110,10 +246690,10 @@ webhooks: type: string enum: - in_progress - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -246395,7 +246975,7 @@ webhooks: required: - status - steps - deployment: *586 + deployment: *588 required: - action - repository @@ -246474,10 +247054,10 @@ webhooks: type: string enum: - queued - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -246623,7 +247203,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *586 + deployment: *588 required: - action - repository @@ -246702,10 +247282,10 @@ webhooks: type: string enum: - waiting - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -246852,7 +247432,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *586 + deployment: *588 required: - action - repository @@ -246932,12 +247512,12 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -247956,12 +248536,12 @@ webhooks: type: string enum: - in_progress - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -248965,12 +249545,12 @@ webhooks: type: string enum: - requested - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 6322acbb3..383c409a5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -69670,6 +69670,410 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -108222,7 +108626,305 @@ }, { "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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": { @@ -108237,25 +108939,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." @@ -108264,10 +109025,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." @@ -108276,59 +109033,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 } ] } @@ -128894,6 +129663,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -199726,6 +200505,11 @@ ], "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.", "type": [ @@ -199736,6 +200520,11 @@ "monalisa" ] }, + "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": [ @@ -199957,6 +200746,11 @@ "null" ] }, + "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", @@ -199998,6 +200792,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" @@ -200060,6 +200855,11 @@ ], "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.", "type": "string", @@ -200067,6 +200867,11 @@ "monalisa" ] }, + "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": [ @@ -200414,6 +201219,11 @@ ], "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.", "type": [ @@ -200424,6 +201234,11 @@ "monalisa" ] }, + "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": [ @@ -200570,6 +201385,11 @@ "null" ] }, + "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", @@ -204298,35 +205118,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" + } + ] } } } @@ -763829,35 +764734,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" + } + ] } } } @@ -788760,6 +789750,397 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 5891116cf..6af65f838 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &413 + type: &415 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &242 + schema: &245 title: Validation Error Simple description: Validation Error Simple type: object @@ -1081,7 +1081,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: - - &733 + - &735 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1666,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &326 + - &329 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 @@ -1682,7 +1682,7 @@ paths: application/json: schema: type: array - items: &327 + items: &330 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1778,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &328 + default: &331 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &743 + schema: &745 title: Scim Error description: Scim Error type: object @@ -1841,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &241 + schema: &244 title: Validation Error description: Validation Error type: object @@ -1913,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2048,7 +2048,7 @@ paths: - request - response examples: - default: &330 + default: &333 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2252,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &205 + - &208 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) @@ -3055,7 +3055,7 @@ paths: license: anyOf: - type: 'null' - - &216 + - &219 title: License Simple description: License Simple type: object @@ -7804,7 +7804,7 @@ paths: description: Response content: application/json: - schema: &243 + schema: &246 type: object properties: total_active_caches_count: @@ -7819,7 +7819,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &244 + default: &247 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8034,7 +8034,7 @@ paths: - public_ip_enabled - platform examples: - default: &245 + default: &248 value: total_count: 2 runners: @@ -8338,7 +8338,7 @@ paths: application/json: schema: *43 examples: - default: &246 + default: &249 value: id: 1 platform: linux-x64 @@ -8483,7 +8483,7 @@ paths: application/json: schema: *46 examples: - default: &247 + default: &250 value: version: 1.0.0 size_gb: 75 @@ -8651,7 +8651,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 type: object properties: public_ips: @@ -8678,7 +8678,7 @@ paths: required: - public_ips examples: - default: &249 + default: &252 value: public_ips: current_usage: 17 @@ -8718,7 +8718,7 @@ paths: type: array items: *50 examples: - default: &250 + default: &253 value: id: 4-core cpu_cores: 4 @@ -8982,7 +8982,7 @@ paths: - all - local_only - selected - selected_actions_url: &253 + selected_actions_url: &256 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` @@ -9062,7 +9062,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &255 + schema: &258 type: object properties: days: @@ -9080,7 +9080,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &744 + '401': &746 description: Authorization failure '404': *6 x-github: @@ -9108,7 +9108,7 @@ paths: required: true content: application/json: - schema: &256 + schema: &259 type: object properties: days: @@ -9157,7 +9157,7 @@ paths: required: - approval_policy examples: - default: &257 + default: &260 value: approval_policy: first_time_contributors '404': *6 @@ -9215,7 +9215,7 @@ paths: description: Response content: application/json: - schema: &258 + schema: &261 type: object required: - run_workflows_from_fork_pull_requests @@ -9269,7 +9269,7 @@ paths: required: true content: application/json: - schema: &259 + schema: &262 type: object required: - run_workflows_from_fork_pull_requests @@ -9705,7 +9705,7 @@ paths: description: Success response content: application/json: - schema: &262 + schema: &265 type: object properties: default_workflow_permissions: &61 @@ -9753,7 +9753,7 @@ paths: required: true content: application/json: - schema: &263 + schema: &266 type: object properties: default_workflow_permissions: *61 @@ -10598,7 +10598,7 @@ paths: application/json: schema: type: array - items: &267 + items: &270 title: Runner Application description: Runner Application type: object @@ -10623,7 +10623,7 @@ paths: - download_url - filename examples: - default: &268 + default: &271 value: - os: osx architecture: x64 @@ -10707,7 +10707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &269 + '201': &272 description: Response content: application/json: @@ -10826,7 +10826,7 @@ paths: - token - expires_at examples: - default: &270 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10866,7 +10866,7 @@ paths: application/json: schema: *73 examples: - default: &271 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10898,7 +10898,7 @@ paths: application/json: schema: *70 examples: - default: &272 + default: &275 value: id: 23 name: MBP @@ -11114,7 +11114,7 @@ paths: - *39 - *69 responses: - '200': &273 + '200': &276 description: Response content: application/json: @@ -11170,7 +11170,7 @@ paths: parameters: - *39 - *69 - - &274 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11267,7 +11267,7 @@ paths: required: true content: application/json: - schema: &281 + schema: &284 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11918,7 +11918,7 @@ paths: required: false schema: type: string - - &282 + - &285 name: include description: |- The event types to include: @@ -11936,7 +11936,7 @@ paths: - web - git - all - - &283 + - &286 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. @@ -11944,7 +11944,7 @@ paths: required: false schema: type: string - - &284 + - &287 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. @@ -11952,7 +11952,7 @@ paths: required: false schema: type: string - - &285 + - &288 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11974,7 +11974,7 @@ paths: application/json: schema: type: array - items: &286 + items: &289 type: object properties: "@timestamp": @@ -12096,7 +12096,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &287 + default: &290 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12764,7 +12764,7 @@ paths: application/json: schema: type: array - items: &288 + items: &291 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12936,7 +12936,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &289 + default: &292 value: - id: 21 number: 42 @@ -13041,7 +13041,7 @@ paths: application/json: schema: type: array - items: &291 + items: &294 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13172,7 +13172,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &292 + default: &295 value: - id: 21 number: 42 @@ -13257,7 +13257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &297 + - &300 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`, @@ -13267,7 +13267,7 @@ paths: schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &298 + - &301 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 @@ -13291,7 +13291,7 @@ paths: be returned. in: query required: false - schema: &299 + schema: &302 type: string description: State of a code scanning alert. enum: @@ -13316,7 +13316,7 @@ paths: application/json: schema: type: array - items: &300 + items: &303 type: object properties: number: &119 @@ -13345,7 +13345,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &528 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13381,7 +13381,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &527 + dismissed_reason: &529 type: - string - 'null' @@ -13392,14 +13392,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &528 + dismissed_comment: &530 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &529 + rule: &531 type: object properties: id: @@ -13460,7 +13460,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &532 type: object properties: name: *105 @@ -13471,15 +13471,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &531 + most_recent_instance: &533 type: object properties: - ref: &524 + ref: &526 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &543 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13490,7 +13490,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &544 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13881,7 +13881,7 @@ paths: - most_recent_instance - repository examples: - default: &301 + default: &304 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14540,7 +14540,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &302 + code_scanning_options: &305 type: - object - 'null' @@ -14738,7 +14738,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &307 type: array description: A list of default code security configurations items: @@ -14754,7 +14754,7 @@ paths: default configuration: *108 examples: - default: &305 + default: &308 value: - default_for_new_repos: public configuration: @@ -15208,7 +15208,7 @@ paths: default: value: default_for_new_repos: all - configuration: &303 + configuration: &306 value: id: 1325 target_type: organization @@ -15293,7 +15293,7 @@ paths: application/json: schema: type: array - items: &306 + items: &309 type: object description: Repositories associated with a code security configuration and attachment status @@ -15317,7 +15317,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &307 + repository: &310 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15818,7 +15818,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &293 + - &296 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15895,7 +15895,7 @@ paths: parent: anyOf: - type: 'null' - - &361 + - &364 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -16588,7 +16588,7 @@ paths: application/json: schema: type: array - items: &192 + items: &195 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16903,7 +16903,7 @@ paths: - date additionalProperties: true examples: - default: &193 + default: &196 value: - date: '2024-06-24' total_active_users: 24 @@ -17005,7 +17005,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &194 + '422': &197 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -17242,7 +17242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &313 + - &316 name: state in: query description: |- @@ -17251,7 +17251,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &314 + - &317 name: severity in: query description: |- @@ -17260,7 +17260,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &315 + - &318 name: ecosystem in: query description: |- @@ -17269,14 +17269,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &316 + - &319 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 - - &317 + - &320 name: epss_percentage in: query description: |- @@ -17288,7 +17288,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 - - &577 + - &579 name: has in: query description: |- @@ -17302,7 +17302,7 @@ paths: type: string enum: - patch - - &318 + - &321 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17312,7 +17312,7 @@ paths: enum: - development - runtime - - &319 + - &322 name: sort in: query description: |- @@ -17338,7 +17338,7 @@ paths: application/json: schema: type: array - items: &320 + items: &323 type: object description: A Dependabot alert. properties: @@ -17405,7 +17405,7 @@ paths: - direct - transitive - - security_advisory: &578 + security_advisory: &580 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17641,7 +17641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &579 + auto_dismissed_at: &581 type: - string - 'null' @@ -17668,7 +17668,7 @@ paths: - repository additionalProperties: false examples: - default: &321 + default: &324 value: - number: 2 state: dismissed @@ -18449,7 +18449,7 @@ paths: type: array items: *134 examples: - default: &195 + default: &198 value: - id: 1 name: Justice League @@ -18786,7 +18786,7 @@ paths: - name - created_on examples: - default: &423 + default: &425 value: total_count: 2 network_configurations: @@ -19009,7 +19009,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: - *39 - - &424 + - &426 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19021,7 +19021,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &427 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19060,7 +19060,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &428 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19894,7 +19894,7 @@ paths: required: true content: application/json: - schema: &392 + schema: &394 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21023,7 +21023,7 @@ paths: conditions: anyOf: - *151 - - &396 + - &398 title: Organization ruleset conditions type: object description: |- @@ -21073,7 +21073,7 @@ paths: - object rules: type: array - items: &699 + items: &701 title: Repository Rule type: object description: A repository rule. @@ -21082,7 +21082,7 @@ paths: - *160 - *161 - *162 - - &696 + - &698 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21176,7 +21176,7 @@ paths: - *176 - *177 - *178 - - &697 + - &699 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21432,7 +21432,7 @@ paths: type: string format: date-time examples: - default: &399 + default: &401 value: - version_id: 3 actor: @@ -21485,7 +21485,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &402 allOf: - *183 - type: object @@ -21540,7 +21540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &401 + - &403 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21551,7 +21551,7 @@ paths: enum: - open - resolved - - &402 + - &404 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21561,7 +21561,7 @@ paths: required: false schema: type: string - - &403 + - &405 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21570,7 +21570,7 @@ paths: required: false schema: type: string - - &404 + - &406 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. @@ -21586,7 +21586,7 @@ paths: - *17 - *102 - *103 - - &405 + - &407 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21595,7 +21595,7 @@ paths: required: false schema: type: string - - &406 + - &408 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21604,7 +21604,7 @@ paths: schema: type: boolean default: false - - &407 + - &409 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21613,7 +21613,7 @@ paths: schema: type: boolean default: false - - &408 + - &410 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21629,7 +21629,7 @@ paths: application/json: schema: type: array - items: &409 + items: &411 type: object properties: number: *119 @@ -21645,14 +21645,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &711 + state: &713 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: &712 + resolution: &714 type: - string - 'null' @@ -21759,14 +21759,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &713 + - &715 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &715 + - &717 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21823,7 +21823,7 @@ paths: - blob_url - commit_sha - commit_url - - &716 + - &718 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. @@ -21884,7 +21884,7 @@ paths: - page_url - commit_sha - commit_url - - &717 + - &719 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21899,7 +21899,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &718 + - &720 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21914,7 +21914,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &719 + - &721 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21929,7 +21929,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &720 + - &722 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21944,7 +21944,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &721 + - &723 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21959,7 +21959,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &722 + - &724 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21974,7 +21974,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &723 + - &725 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. @@ -21989,7 +21989,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &724 + - &726 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. @@ -22004,7 +22004,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &725 + - &727 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. @@ -22019,7 +22019,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &726 + - &728 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. @@ -22034,7 +22034,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &727 + - &729 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 @@ -22059,7 +22059,7 @@ paths: - type: 'null' - *4 examples: - default: &410 + default: &412 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22268,7 +22268,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &413 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22355,7 +22355,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &412 + default: &414 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22499,7 +22499,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 type: object properties: total_minutes_used: @@ -22569,7 +22569,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &417 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -22600,7 +22600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &416 + - &418 name: advanced_security_product in: query description: | @@ -22620,7 +22620,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &419 type: object properties: total_advanced_security_committers: @@ -22683,7 +22683,7 @@ paths: required: - repositories examples: - default: &418 + default: &420 value: total_advanced_security_committers: 2 total_count: 2 @@ -23307,7 +23307,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &421 type: object properties: total_gigabytes_bandwidth_used: @@ -23325,7 +23325,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &422 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -23359,7 +23359,7 @@ paths: required: false schema: type: integer - - &232 + - &192 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 @@ -23377,28 +23377,29 @@ paths: required: false schema: type: integer - - name: organization + - &193 + name: organization description: The organization name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &233 + - &235 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &234 + - &236 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &235 + - &194 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -23568,7 +23569,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &423 type: object properties: days_left_in_billing_cycle: @@ -23586,7 +23587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &424 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -23612,7 +23613,7 @@ paths: parameters: - *39 - *190 - - &236 + - &237 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 @@ -23634,7 +23635,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &237 + schema: &238 type: object properties: usageItems: @@ -23687,7 +23688,7 @@ paths: - netAmount - organizationName examples: - default: &238 + default: &239 value: usageItems: - date: '2023-08-01' @@ -23710,6 +23711,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: + - *39 + - *190 + - *192 + - *191 + - *193 + - &240 + name: repository + description: The repository name to query for usage in the format owner/repository. + in: query + required: false + schema: + type: string + - *194 + - &241 + 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': *27 + '500': *38 + '503': *184 + 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 @@ -23770,13 +23940,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -23805,7 +23975,7 @@ paths: type: array items: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -23884,7 +24054,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23902,7 +24072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &196 + - &199 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -23921,7 +24091,7 @@ paths: type: array items: *4 examples: - default: &197 + default: &200 value: - login: octocat id: 1 @@ -23960,7 +24130,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -23991,7 +24161,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24009,7 +24179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24040,7 +24210,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24058,7 +24228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *196 + - *199 - *132 responses: '200': @@ -24067,7 +24237,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &198 + exampleKey1: &201 value: login: octocat id: 1 @@ -24103,7 +24273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *196 + - *199 - *132 responses: '201': @@ -24112,7 +24282,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *198 + exampleKey1: *201 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24130,7 +24300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *196 + - *199 - *132 responses: '204': @@ -24153,7 +24323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *39 - - *196 + - *199 - *17 - *19 responses: @@ -24165,7 +24335,7 @@ paths: type: array items: *67 examples: - default: &199 + default: &202 value: login: github id: 1 @@ -24196,7 +24366,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24226,7 +24396,7 @@ paths: type: array items: *67 examples: - default: &231 + default: &234 value: - login: github id: 1 @@ -24257,7 +24427,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *39 - - *196 + - *199 requestBody: required: true content: @@ -24298,7 +24468,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '200': @@ -24307,7 +24477,7 @@ paths: application/json: schema: *67 examples: - default: *199 + default: *202 '404': description: The team is not assigned to the organization x-github: @@ -24326,7 +24496,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '201': @@ -24335,7 +24505,7 @@ paths: application/json: schema: *67 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24352,7 +24522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *39 - - *196 + - *199 - *81 responses: '204': @@ -24377,7 +24547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &200 + - &203 name: team_slug description: The slug of the team name. in: path @@ -24391,7 +24561,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -24411,7 +24581,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *200 + - *203 requestBody: required: true content: @@ -24471,7 +24641,7 @@ paths: application/json: schema: *134 examples: - default: *195 + default: *198 headers: Link: *41 '403': *27 @@ -24494,7 +24664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *200 + - *203 responses: '204': description: Response @@ -24593,7 +24763,7 @@ paths: application/json: schema: type: array - items: &226 + items: &229 title: Event description: Event type: object @@ -24604,7 +24774,7 @@ paths: type: - string - 'null' - actor: &201 + actor: &204 title: Actor description: Actor type: object @@ -24645,13 +24815,13 @@ paths: - id - name - url - org: *201 + org: *204 payload: type: object properties: action: type: string - issue: &215 + issue: &218 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -24772,7 +24942,7 @@ paths: milestone: anyOf: - type: 'null' - - &385 + - &387 title: Milestone description: A collection of related issues and pull requests. @@ -24944,7 +25114,7 @@ paths: timeline_url: type: string format: uri - type: &348 + type: &351 title: Issue Type description: The type of issue. type: @@ -25002,7 +25172,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &202 + author_association: &205 title: author_association type: string description: How the author is associated with the repository. @@ -25017,7 +25187,7 @@ paths: - OWNER examples: - OWNER - reactions: &203 + reactions: &206 title: Reaction Rollup type: object properties: @@ -25053,7 +25223,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &771 + sub_issues_summary: &773 title: Sub-issues Summary type: object properties: @@ -25074,7 +25244,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &772 + issue_dependencies_summary: &774 title: Issue Dependencies Summary type: object properties: @@ -25093,7 +25263,7 @@ paths: - total_blocking issue_field_values: type: array - items: &773 + items: &775 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25188,7 +25358,7 @@ paths: - user - created_at - updated_at - comment: &634 + comment: &636 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25238,12 +25408,12 @@ paths: issue_url: type: string format: uri - author_association: *202 + author_association: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - id - node_id @@ -25421,7 +25591,7 @@ paths: _links: type: object properties: - timeline: &204 + timeline: &207 title: Link With Type description: Hypermedia Link with Type type: object @@ -25433,17 +25603,17 @@ paths: required: - href - type - user: *204 - security_advisories: *204 - current_user: *204 - current_user_public: *204 - current_user_actor: *204 - current_user_organization: *204 + user: *207 + security_advisories: *207 + current_user: *207 + current_user_public: *207 + current_user_actor: *207 + current_user_organization: *207 current_user_organizations: type: array - items: *204 - repository_discussions: *204 - repository_discussions_category: *204 + items: *207 + repository_discussions: *207 + repository_discussions_category: *207 required: - timeline - user @@ -25505,7 +25675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *205 + - *208 - *17 - *19 responses: @@ -25515,7 +25685,7 @@ paths: application/json: schema: type: array - items: &206 + items: &209 title: Base Gist description: Base Gist type: object @@ -25612,7 +25782,7 @@ paths: - created_at - updated_at examples: - default: &207 + default: &210 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25736,7 +25906,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &211 title: Gist Simple description: Gist Simple type: object @@ -25754,7 +25924,7 @@ paths: url: type: string format: uri - user: &785 + user: &787 title: Public User description: Public User type: object @@ -26128,7 +26298,7 @@ paths: truncated: type: boolean examples: - default: &209 + default: &212 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -26232,7 +26402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *205 + - *208 - *17 - *19 responses: @@ -26242,9 +26412,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '422': *15 @@ -26266,7 +26436,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *205 + - *208 - *17 - *19 responses: @@ -26276,9 +26446,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '401': *23 @@ -26306,7 +26476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &210 + - &213 name: gist_id description: The unique identifier of the gist. in: path @@ -26318,10 +26488,10 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - default: *209 - '403': &213 + default: *212 + '403': &216 description: Forbidden Gist content: application/json: @@ -26370,7 +26540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *210 + - *213 requestBody: required: true content: @@ -26434,9 +26604,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - updateGist: *209 + updateGist: *212 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -26594,7 +26764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -26623,7 +26793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *210 + - *213 - *17 - *19 responses: @@ -26633,7 +26803,7 @@ paths: application/json: schema: type: array - items: &211 + items: &214 title: Gist Comment description: A comment made to a gist. type: object @@ -26671,7 +26841,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *202 + author_association: *205 required: - url - id @@ -26736,7 +26906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *210 + - *213 requestBody: required: true content: @@ -26762,9 +26932,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: &212 + default: &215 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26822,8 +26992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *210 - - &214 + - *213 + - &217 name: comment_id description: The unique identifier of the comment. in: path @@ -26836,12 +27006,12 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: *212 + default: *215 '304': *35 '404': *6 - '403': *213 + '403': *216 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26863,8 +27033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *210 - - *214 + - *213 + - *217 requestBody: required: true content: @@ -26890,9 +27060,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *214 examples: - default: *212 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -26909,8 +27079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *210 - - *214 + - *213 + - *217 responses: '204': description: Response @@ -26933,7 +27103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *210 + - *213 - *17 - *19 responses: @@ -27034,7 +27204,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *210 + - *213 - *17 - *19 responses: @@ -27044,7 +27214,7 @@ paths: application/json: schema: type: array - items: *208 + items: *211 examples: default: value: @@ -27109,13 +27279,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *210 + - *213 responses: '201': description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -27186,7 +27356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *210 + - *213 responses: '204': description: Response if gist is starred @@ -27216,7 +27386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -27238,7 +27408,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *210 + - *213 responses: '204': description: Response @@ -27267,7 +27437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *210 + - *213 - name: sha in: path required: true @@ -27278,9 +27448,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *211 examples: - default: *209 + default: *212 '422': *15 '404': *6 '403': *27 @@ -27649,7 +27819,7 @@ paths: - closed - all default: open - - &351 + - &354 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -27668,7 +27838,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - name: collab in: query required: false @@ -27698,9 +27868,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: &352 + default: &355 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27980,7 +28150,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -28278,7 +28448,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &217 + X-CommonMarker-Version: &220 example: 0.17.4 schema: type: string @@ -28333,7 +28503,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *217 + X-CommonMarker-Version: *220 content: text/html: schema: @@ -28362,7 +28532,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: - - &220 + - &223 name: account_id description: account_id parameter in: path @@ -28374,7 +28544,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &222 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -28408,7 +28578,7 @@ paths: - 'null' id: type: integer - plan: &218 + plan: &221 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -28511,7 +28681,7 @@ paths: - 'null' updated_at: type: string - plan: *218 + plan: *221 required: - url - id @@ -28519,7 +28689,7 @@ paths: - login - marketplace_purchase examples: - default: &221 + default: &224 value: url: https://api.github.com/orgs/github type: Organization @@ -28604,9 +28774,9 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: - default: &222 + default: &225 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -28646,14 +28816,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &223 + - &226 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &224 + - &227 name: sort description: The property to sort the results by. in: query @@ -28683,9 +28853,9 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: &225 + default: &228 value: - url: https://api.github.com/orgs/github type: Organization @@ -28759,15 +28929,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: - - *220 + - *223 responses: '200': description: Response content: application/json: - schema: *219 + schema: *222 examples: - default: *221 + default: *224 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28799,9 +28969,9 @@ paths: application/json: schema: type: array - items: *218 + items: *221 examples: - default: *222 + default: *225 headers: Link: *41 '401': *23 @@ -28824,8 +28994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *223 - - *224 + - *226 + - *227 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28845,9 +29015,9 @@ paths: application/json: schema: type: array - items: *219 + items: *222 examples: - default: *225 + default: *228 headers: Link: *41 '401': *23 @@ -29112,14 +29282,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: - - &446 + - &448 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &449 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29136,7 +29306,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -29181,7 +29351,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &460 + '301': &462 description: Moved permanently content: application/json: @@ -29203,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &663 + - &665 name: all description: If `true`, show notifications marked as read. in: query @@ -29211,7 +29381,7 @@ paths: schema: type: boolean default: false - - &664 + - &666 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29220,8 +29390,8 @@ paths: schema: type: boolean default: false - - *205 - - &665 + - *208 + - &667 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: @@ -29246,14 +29416,14 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Thread description: Thread type: object properties: id: type: string - repository: &266 + repository: &269 title: Minimal Repository description: Minimal Repository type: object @@ -29592,7 +29762,7 @@ paths: type: boolean examples: - false - security_and_analysis: &393 + security_and_analysis: &395 type: - object - 'null' @@ -29765,7 +29935,7 @@ paths: - url - subscription_url examples: - default: &666 + default: &668 value: - id: '1' repository: @@ -29931,7 +30101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &228 + - &231 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 @@ -29945,7 +30115,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: default: value: @@ -30048,7 +30218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *228 + - *231 responses: '205': description: Reset Content @@ -30071,7 +30241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *228 + - *231 responses: '204': description: No content @@ -30094,13 +30264,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: - - *228 + - *231 responses: '200': description: Response content: application/json: - schema: &229 + schema: &232 title: Thread Subscription description: Thread Subscription type: object @@ -30144,7 +30314,7 @@ paths: - url - subscribed examples: - default: &230 + default: &233 value: subscribed: true ignored: false @@ -30175,7 +30345,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *228 + - *231 requestBody: required: false content: @@ -30196,9 +30366,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '304': *35 '403': *27 '401': *23 @@ -30221,7 +30391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *228 + - *231 responses: '204': description: Response @@ -30318,7 +30488,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: example: ; rel="next" @@ -30370,7 +30540,7 @@ paths: - 3 custom_roles: type: array - items: &309 + items: &312 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -30419,7 +30589,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &313 value: id: 8030 name: Security Engineer @@ -30746,7 +30916,7 @@ paths: type: array items: *145 examples: - default: &672 + default: &674 value: - property_name: environment value: production @@ -30796,7 +30966,7 @@ paths: required: - properties examples: - default: &673 + default: &675 value: properties: - property_name: environment @@ -30833,11 +31003,11 @@ paths: parameters: - *81 - *190 - - *232 + - *192 - *191 - - *233 - - *234 - *235 + - *236 + - *194 responses: '200': description: Response when getting a billing premium request usage report @@ -30970,16 +31140,150 @@ paths: parameters: - *81 - *190 - - *236 + - *237 - *191 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 + '400': *14 + '403': *27 + '500': *38 + '503': *184 + 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: + - *81 + - *190 + - *192 + - *191 + - *240 + - *194 + - *241 + 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': *27 '500': *38 @@ -31015,7 +31319,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &242 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -31425,7 +31729,7 @@ paths: - updated_at - archived_at examples: - default-response: &240 + default-response: &243 value: login: github id: 1 @@ -31751,17 +32055,17 @@ paths: description: Response content: application/json: - schema: *239 + schema: *242 examples: - default: *240 + default: *243 '422': description: Validation failed content: application/json: schema: oneOf: - - *241 - - *242 + - *244 + - *245 '409': *112 x-github: githubCloudOnly: false @@ -31816,9 +32120,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *246 examples: - default: *244 + default: *247 headers: Link: *41 x-github: @@ -31859,7 +32163,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &467 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31937,7 +32241,7 @@ paths: type: array items: *42 examples: - default: *245 + default: *248 headers: Link: *41 x-github: @@ -32104,7 +32408,7 @@ paths: application/json: schema: *43 examples: - default: *246 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32196,7 +32500,7 @@ paths: application/json: schema: *46 examples: - default: *247 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32315,9 +32619,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32353,7 +32657,7 @@ paths: type: array items: *50 examples: - default: *250 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32542,7 +32846,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &251 + schema: &254 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -32556,7 +32860,7 @@ paths: required: - include_claim_keys examples: - default: &252 + default: &255 value: include_claim_keys: - repo @@ -32583,15 +32887,15 @@ paths: required: true content: application/json: - schema: *251 + schema: *254 examples: - default: *252 + default: *255 responses: '201': description: Empty response content: application/json: - schema: &277 + schema: &280 title: Empty Object description: An object without any properties. type: object @@ -32630,7 +32934,7 @@ paths: schema: type: object properties: - enabled_repositories: &254 + enabled_repositories: &257 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -32644,7 +32948,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *54 - selected_actions_url: *253 + selected_actions_url: *256 sha_pinning_required: *55 required: - enabled_repositories @@ -32686,7 +32990,7 @@ paths: schema: type: object properties: - enabled_repositories: *254 + enabled_repositories: *257 allowed_actions: *54 sha_pinning_required: *55 required: @@ -32722,7 +33026,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: response: summary: Example response @@ -32753,7 +33057,7 @@ paths: required: true content: application/json: - schema: *256 + schema: *259 examples: application/json: value: @@ -32791,7 +33095,7 @@ paths: application/json: schema: *56 examples: - default: *257 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -32848,7 +33152,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *261 examples: default: *57 '403': *27 @@ -32873,7 +33177,7 @@ paths: required: true content: application/json: - schema: *259 + schema: *262 examples: default: *57 responses: @@ -32925,7 +33229,7 @@ paths: type: array items: *72 examples: - default: &261 + default: &264 value: total_count: 1 repositories: @@ -33110,7 +33414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - &260 + - &263 name: repository_id description: The unique identifier of the repository. in: path @@ -33139,7 +33443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -33335,7 +33639,7 @@ paths: type: array items: *72 examples: - default: *261 + default: *264 '403': *27 '404': *6 x-github: @@ -33404,7 +33708,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: - *81 - - *260 + - *263 responses: '204': description: No content @@ -33431,7 +33735,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: - *81 - - *260 + - *263 responses: '204': description: No content @@ -33465,7 +33769,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *265 examples: default: *63 x-github: @@ -33499,7 +33803,7 @@ paths: required: false content: application/json: - schema: *263 + schema: *266 examples: default: *63 x-github: @@ -33546,7 +33850,7 @@ paths: type: number runner_groups: type: array - items: &264 + items: &267 type: object properties: id: @@ -33736,9 +34040,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: - default: &265 + default: &268 value: id: 2 name: octo-runner-group @@ -33780,7 +34084,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: default: value: @@ -33873,9 +34177,9 @@ paths: description: Response content: application/json: - schema: *264 + schema: *267 examples: - default: *265 + default: *268 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -33939,7 +34243,7 @@ paths: type: array items: *42 examples: - default: *245 + default: *248 headers: Link: *41 x-github: @@ -33980,9 +34284,9 @@ paths: type: number repositories: type: array - items: *266 + items: *269 examples: - default: &788 + default: &790 value: total_count: 1 repositories: @@ -34281,7 +34585,7 @@ paths: parameters: - *81 - *66 - - *260 + - *263 responses: '204': description: Response @@ -34305,7 +34609,7 @@ paths: parameters: - *81 - *66 - - *260 + - *263 responses: '204': description: Response @@ -34523,9 +34827,9 @@ paths: application/json: schema: type: array - items: *267 + items: *270 examples: - default: *268 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34590,7 +34894,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *269 + '201': *272 '404': *6 '422': *7 '409': *112 @@ -34629,7 +34933,7 @@ paths: application/json: schema: *73 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34665,7 +34969,7 @@ paths: application/json: schema: *73 examples: - default: *271 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34696,7 +35000,7 @@ paths: application/json: schema: *70 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34871,7 +35175,7 @@ paths: - *81 - *69 responses: - '200': *273 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -34900,7 +35204,7 @@ paths: parameters: - *81 - *69 - - *274 + - *277 responses: '200': *75 '404': *6 @@ -34945,7 +35249,7 @@ paths: type: integer secrets: type: array - items: &275 + items: &278 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -35026,7 +35330,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35061,7 +35365,7 @@ paths: - key_id - key examples: - default: &486 + default: &488 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35087,7 +35391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *81 - - &276 + - &279 name: secret_name description: The name of the secret. in: path @@ -35099,7 +35403,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *278 examples: default: value: @@ -35130,7 +35434,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -35187,7 +35491,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -35214,7 +35518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -35241,7 +35545,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -35259,9 +35563,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: &280 + default: &283 value: total_count: 1 repositories: @@ -35354,7 +35658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -35407,7 +35711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -35441,7 +35745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -35474,7 +35778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &470 + - &472 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)." @@ -35498,7 +35802,7 @@ paths: type: integer variables: type: array - items: &278 + items: &281 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -35636,7 +35940,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -35662,7 +35966,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *81 - - &279 + - &282 name: name description: The name of the variable. in: path @@ -35674,7 +35978,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -35705,7 +36009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *81 - - *279 + - *282 requestBody: required: true content: @@ -35768,7 +36072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *81 - - *279 + - *282 responses: '204': description: Response @@ -35795,7 +36099,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *81 - - *279 + - *282 - *19 - *17 responses: @@ -35813,9 +36117,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 '409': description: Response when the visibility of the variable is not set to `selected` @@ -35842,7 +36146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *81 - - *279 + - *282 requestBody: required: true content: @@ -35892,7 +36196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *81 - - *279 + - *282 - name: repository_id in: path required: true @@ -35927,7 +36231,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *81 - - *279 + - *282 - name: repository_id in: path required: true @@ -35985,7 +36289,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *284 examples: default: *79 parameters: @@ -36094,6 +36398,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -36288,12 +36606,12 @@ paths: required: - subject_digests examples: - default: &815 + default: &817 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &816 + withPredicateType: &818 value: subject_digests: - sha256:abc123 @@ -36352,7 +36670,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &817 + default: &819 value: attestations_subject_digests: - sha256:abc: @@ -36701,7 +37019,7 @@ paths: initiator: type: string examples: - default: &499 + default: &501 value: attestations: - bundle: @@ -36827,10 +37145,10 @@ paths: required: false schema: type: string - - *282 - - *283 - - *284 - *285 + - *286 + - *287 + - *288 - *17 responses: '200': @@ -36839,9 +37157,9 @@ paths: application/json: schema: type: array - items: *286 + items: *289 examples: - default: *287 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -36870,7 +37188,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36964,7 +37282,7 @@ paths: subcategory: bypass-requests parameters: - *81 - - &290 + - &293 name: repository_name description: The name of the repository to filter on. in: query @@ -36983,9 +37301,9 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: - default: *289 + default: *292 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -37009,7 +37327,7 @@ paths: subcategory: delegated-bypass parameters: - *81 - - *290 + - *293 - *97 - *98 - *99 @@ -37023,9 +37341,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -37052,7 +37370,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &294 + schema: &297 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -37078,7 +37396,7 @@ paths: application/json: schema: type: array - items: &295 + items: &298 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -37109,7 +37427,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *293 + items: *296 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -37128,7 +37446,7 @@ paths: - string - 'null' format: date-time - state: *294 + state: *297 contact_link: description: The contact link of the campaign. type: @@ -37351,9 +37669,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: &296 + default: &299 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -37436,9 +37754,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 '404': *6 '422': description: Unprocessable Entity @@ -37516,7 +37834,7 @@ paths: - string - 'null' format: uri - state: *294 + state: *297 examples: default: value: @@ -37526,9 +37844,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 '400': description: Bad Request content: @@ -37595,8 +37913,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *81 - - *297 - - *298 + - *300 + - *301 - *102 - *103 - *19 @@ -37607,7 +37925,7 @@ paths: be returned. in: query required: false - schema: *299 + schema: *302 - name: sort description: The property by which to sort the results. in: query @@ -37623,7 +37941,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &527 type: string description: Severity of a code scanning alert. enum: @@ -37641,9 +37959,9 @@ paths: application/json: schema: type: array - items: *300 + items: *303 examples: - default: *301 + default: *304 headers: Link: *41 '404': *6 @@ -37858,7 +38176,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *302 + code_scanning_options: *305 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -38001,7 +38319,7 @@ paths: application/json: schema: *108 examples: - default: *303 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38029,9 +38347,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *307 examples: - default: *305 + default: *308 '304': *35 '403': *27 '404': *6 @@ -38118,7 +38436,7 @@ paths: application/json: schema: *108 examples: - default: *303 + default: *306 '304': *35 '403': *27 '404': *6 @@ -38540,7 +38858,7 @@ paths: default: value: default_for_new_repos: all - configuration: *303 + configuration: *306 '403': *27 '404': *6 x-github: @@ -38593,13 +38911,13 @@ paths: application/json: schema: type: array - items: *306 + items: *309 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *307 + repository: *310 '403': *27 '404': *6 x-github: @@ -38639,7 +38957,7 @@ paths: type: integer codespaces: type: array - items: &353 + items: &356 type: object title: Codespace description: A codespace. @@ -38670,11 +38988,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *266 + repository: *269 machine: anyOf: - type: 'null' - - &554 + - &556 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -38961,7 +39279,7 @@ paths: - pulls_url - recent_folders examples: - default: &354 + default: &357 value: total_count: 3 codespaces: @@ -39585,7 +39903,7 @@ paths: type: integer secrets: type: array - items: &308 + items: &311 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -39626,7 +39944,7 @@ paths: - updated_at - visibility examples: - default: &555 + default: &557 value: total_count: 2 secrets: @@ -39664,7 +39982,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &558 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -39699,7 +40017,7 @@ paths: - key_id - key examples: - default: &557 + default: &559 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39723,15 +40041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *308 + schema: *311 examples: - default: &559 + default: &561 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -39759,7 +40077,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -39814,7 +40132,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -39841,7 +40159,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -39867,7 +40185,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -39885,9 +40203,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 '404': *6 x-github: githubCloudOnly: false @@ -39910,7 +40228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -39961,7 +40279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -39995,7 +40313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -40584,13 +40902,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40818,7 +41136,7 @@ paths: - 3 custom_roles: type: array - items: *309 + items: *312 examples: default: value: @@ -40910,7 +41228,7 @@ paths: required: true content: application/json: - schema: &311 + schema: &314 type: object properties: name: @@ -40952,9 +41270,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -40985,9 +41303,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -41015,7 +41333,7 @@ paths: required: true content: application/json: - schema: &312 + schema: &315 type: object properties: name: @@ -41054,9 +41372,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41114,7 +41432,7 @@ paths: required: true content: application/json: - schema: *311 + schema: *314 examples: default: value: @@ -41128,9 +41446,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41167,9 +41485,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -41203,7 +41521,7 @@ paths: required: true content: application/json: - schema: *312 + schema: *315 examples: default: value: @@ -41218,9 +41536,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *310 + default: *313 '422': *15 '404': *6 x-github: @@ -41280,11 +41598,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *81 - - *313 - - *314 - - *315 - *316 - *317 + - *318 + - *319 + - *320 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -41322,8 +41640,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *318 - - *319 + - *321 + - *322 - *104 - *102 - *103 @@ -41335,9 +41653,9 @@ paths: application/json: schema: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 '304': *35 '400': *14 '403': *27 @@ -41381,7 +41699,7 @@ paths: type: integer secrets: type: array - items: &322 + items: &325 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -41460,7 +41778,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &584 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -41479,7 +41797,7 @@ paths: - key_id - key examples: - default: &583 + default: &585 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41503,13 +41821,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: default: value: @@ -41538,7 +41856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -41597,7 +41915,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -41622,7 +41940,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -41647,7 +41965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 - *19 - *17 responses: @@ -41665,9 +41983,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41689,7 +42007,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -41740,7 +42058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -41772,7 +42090,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *276 + - *279 - name: repository_id in: path required: true @@ -41809,7 +42127,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &591 + - &593 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -41817,7 +42135,7 @@ paths: required: false schema: type: string - - &592 + - &594 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -41825,7 +42143,7 @@ paths: required: false schema: type: string - - &593 + - &595 name: time_period description: |- The time period to filter by. @@ -41841,7 +42159,7 @@ paths: - week - month default: month - - &594 + - &596 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -41856,7 +42174,7 @@ paths: - denied - all default: all - - *290 + - *293 - *17 - *19 responses: @@ -41866,7 +42184,7 @@ paths: application/json: schema: type: array - items: &595 + items: &597 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42029,7 +42347,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &596 + default: &598 value: - id: 21 number: 42 @@ -42116,11 +42434,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - *290 + - *293 - *97 - *98 - *99 - - &597 + - &599 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42146,7 +42464,7 @@ paths: application/json: schema: type: array - items: &598 + items: &600 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42273,7 +42591,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &599 + default: &601 value: - id: 21 number: 42 @@ -42361,7 +42679,7 @@ paths: application/json: schema: type: array - items: &363 + items: &366 title: Package description: A software package type: object @@ -42414,7 +42732,7 @@ paths: repository: anyOf: - type: 'null' - - *266 + - *269 created_at: type: string format: date-time @@ -42432,7 +42750,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &367 value: - id: 197 name: hello_docker @@ -42520,7 +42838,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: 200-response: value: @@ -42619,7 +42937,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &443 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -42709,7 +43027,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &442 + default: &444 value: group_id: '123' group_name: Octocat admins @@ -42764,7 +43082,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -42804,7 +43122,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &440 + default: &442 value: groups: - group_id: '123' @@ -42848,7 +43166,7 @@ paths: application/json: schema: type: array - items: &345 + items: &348 title: Organization Invitation description: Organization Invitation type: object @@ -42902,7 +43220,7 @@ paths: - invitation_teams_url - node_id examples: - default: &346 + default: &349 value: - id: 1 login: monalisa @@ -42969,7 +43287,7 @@ paths: application/json: schema: type: array - items: &394 + items: &396 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -42983,7 +43301,7 @@ paths: - name - description examples: - default: &395 + default: &397 value: - name: add_assignee description: Assign or remove a user @@ -43024,7 +43342,7 @@ paths: application/json: schema: type: array - items: &323 + items: &326 title: Org Hook description: Org Hook type: object @@ -43207,9 +43525,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: - default: &324 + default: &327 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -43254,7 +43572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *81 - - &325 + - &328 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. @@ -43267,9 +43585,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: - default: *324 + default: *327 '404': *6 x-github: githubCloudOnly: false @@ -43291,7 +43609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *81 - - *325 + - *328 requestBody: required: false content: @@ -43337,7 +43655,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *326 examples: default: value: @@ -43377,7 +43695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *81 - - *325 + - *328 responses: '204': description: Response @@ -43403,7 +43721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *81 - - *325 + - *328 responses: '200': description: Response @@ -43432,7 +43750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *81 - - *325 + - *328 requestBody: required: false content: @@ -43481,9 +43799,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *17 - - *326 + - *329 responses: '200': description: Response @@ -43491,9 +43809,9 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: - default: *328 + default: *331 '400': *14 '422': *15 x-github: @@ -43517,16 +43835,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '400': *14 '422': *15 x-github: @@ -43550,7 +43868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *81 - - *325 + - *328 - *16 responses: '202': *37 @@ -43577,7 +43895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *81 - - *325 + - *328 responses: '204': description: Response @@ -43600,7 +43918,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *81 - - &335 + - &338 name: actor_type in: path description: The type of the actor @@ -43613,14 +43931,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &336 + - &339 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &331 + - &334 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`.' @@ -43628,7 +43946,7 @@ paths: required: true schema: type: string - - &332 + - &335 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) @@ -43723,12 +44041,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *81 - - *331 - - *332 + - *334 + - *335 - *19 - *17 - *104 - - &341 + - &344 name: sort description: The property to sort the results by. in: query @@ -43808,14 +44126,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *81 - - *331 - - *332 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: &333 + schema: &336 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -43831,7 +44149,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &337 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -43852,23 +44170,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *81 - - &337 + - &340 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *331 - - *332 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -43887,18 +44205,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *81 - - *331 - - *332 + - *334 - *335 - - *336 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -43916,9 +44234,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *81 - - *331 - - *332 - - &338 + - *334 + - *335 + - &341 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -43931,7 +44249,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &342 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -43947,7 +44265,7 @@ paths: type: integer format: int64 examples: - default: &340 + default: &343 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -43984,18 +44302,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *81 - - *337 - - *331 - - *332 - - *338 + - *340 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -44013,19 +44331,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *81 - - *335 - - *336 - - *331 - - *332 - *338 + - *339 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -44043,13 +44361,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *81 - - *337 - - *331 - - *332 + - *340 + - *334 + - *335 - *19 - *17 - *104 - - *341 + - *344 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -44133,7 +44451,7 @@ paths: application/json: schema: *20 examples: - default: &630 + default: &632 value: id: 1 account: @@ -44299,12 +44617,12 @@ paths: application/json: schema: anyOf: - - &343 + - &346 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &342 + limit: &345 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -44332,7 +44650,7 @@ paths: properties: {} additionalProperties: false examples: - default: &344 + default: &347 value: limit: collaborators_only origin: organization @@ -44361,13 +44679,13 @@ paths: required: true content: application/json: - schema: &631 + schema: &633 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *342 + limit: *345 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -44392,9 +44710,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *344 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -44472,9 +44790,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 '404': *6 @@ -44552,7 +44870,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -44609,7 +44927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *81 - - &347 + - &350 name: invitation_id description: The unique identifier of the invitation. in: path @@ -44643,7 +44961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *81 - - *347 + - *350 - *17 - *19 responses: @@ -44653,9 +44971,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: &362 + default: &365 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -44698,7 +45016,7 @@ paths: application/json: schema: type: array - items: *348 + items: *351 examples: default: value: @@ -44786,9 +45104,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: &349 + default: &352 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -44821,7 +45139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *81 - - &350 + - &353 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -44877,9 +45195,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '404': *6 '422': *7 x-github: @@ -44904,7 +45222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *81 - - *350 + - *353 responses: '204': description: Response @@ -44967,7 +45285,7 @@ paths: - closed - all default: open - - *351 + - *354 - name: type description: Can be the name of an issue type. in: query @@ -44986,7 +45304,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -44996,9 +45314,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *352 + default: *355 headers: Link: *41 '404': *6 @@ -45058,7 +45376,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '422': *15 @@ -45157,9 +45475,9 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: - default: *354 + default: *357 '304': *35 '500': *38 '401': *23 @@ -45186,7 +45504,7 @@ paths: parameters: - *81 - *132 - - &355 + - &358 name: codespace_name in: path required: true @@ -45221,15 +45539,15 @@ paths: parameters: - *81 - *132 - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: &553 + default: &555 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -45485,7 +45803,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: Org Membership description: Org Membership type: object @@ -45554,7 +45872,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &357 + response-if-user-has-an-active-admin-membership-with-organization: &360 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -45651,9 +45969,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - response-if-user-already-had-membership-with-organization: *357 + response-if-user-already-had-membership-with-organization: *360 '422': *15 '403': *27 x-github: @@ -45725,7 +46043,7 @@ paths: application/json: schema: type: array - items: &358 + items: &361 title: Migration description: A migration. type: object @@ -46063,7 +46381,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -46242,7 +46560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *81 - - &359 + - &362 name: migration_id description: The unique identifier of the migration. in: path @@ -46270,7 +46588,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -46440,7 +46758,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *81 - - *359 + - *362 responses: '302': description: Response @@ -46462,7 +46780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *81 - - *359 + - *362 responses: '204': description: Response @@ -46486,8 +46804,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *81 - - *359 - - &800 + - *362 + - &802 name: repo_name description: repo_name parameter in: path @@ -46515,7 +46833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *81 - - *359 + - *362 - *17 - *19 responses: @@ -46525,9 +46843,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: &369 + default: &372 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -46736,7 +47054,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &360 + items: &363 title: Organization Role description: Organization roles type: object @@ -46945,7 +47263,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -46997,7 +47315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -47023,7 +47341,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *81 - - *200 + - *203 - *131 responses: '204': @@ -47054,7 +47372,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *81 - - *200 + - *203 - *131 responses: '204': @@ -47175,7 +47493,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -47272,7 +47590,7 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: default: value: @@ -47431,7 +47749,7 @@ paths: parent: anyOf: - type: 'null' - - *361 + - *364 type: description: The ownership type of the team type: string @@ -47464,7 +47782,7 @@ paths: - type - parent examples: - default: *362 + default: *365 headers: Link: *41 '404': @@ -47523,7 +47841,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *361 + items: *364 name: type: - string @@ -47640,7 +47958,7 @@ paths: - type - url examples: - default: *197 + default: *200 headers: Link: *41 '404': @@ -47691,7 +48009,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -47833,7 +48151,7 @@ paths: - nuget - container - *81 - - &801 + - &803 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -47869,12 +48187,12 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *364 + default: *367 '403': *27 '401': *23 - '400': &803 + '400': &805 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47896,7 +48214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &365 + - &368 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 @@ -47914,7 +48232,7 @@ paths: - docker - nuget - container - - &366 + - &369 name: package_name description: The name of the package. in: path @@ -47927,7 +48245,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -47979,8 +48297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *365 - - *366 + - *368 + - *369 - *81 responses: '204': @@ -48013,8 +48331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *365 - - *366 + - *368 + - *369 - *81 - name: token description: package token @@ -48047,8 +48365,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: - - *365 - - *366 + - *368 + - *369 - *81 - *19 - *17 @@ -48069,7 +48387,7 @@ paths: application/json: schema: type: array - items: &367 + items: &370 title: Package Version description: A version of a software package type: object @@ -48204,10 +48522,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: - - *365 - - *366 + - *368 + - *369 - *81 - - &368 + - &371 name: package_version_id description: Unique identifier of the package version. in: path @@ -48219,7 +48537,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -48255,10 +48573,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *365 - - *366 - - *81 - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -48290,10 +48608,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *365 - - *366 - - *81 - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -48323,7 +48641,7 @@ paths: - *81 - *17 - *19 - - &370 + - &373 name: sort description: The property by which to sort the results. in: query @@ -48334,7 +48652,7 @@ paths: - created_at default: created_at - *104 - - &371 + - &374 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -48346,7 +48664,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &372 + - &375 name: repository description: The name of the repository to use to filter the results. in: query @@ -48355,7 +48673,7 @@ paths: type: string examples: - Hello-World - - &373 + - &376 name: permission description: The permission to use to filter the results. in: query @@ -48364,7 +48682,7 @@ paths: type: string examples: - issues_read - - &374 + - &377 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) @@ -48374,7 +48692,7 @@ paths: schema: type: string format: date-time - - &375 + - &378 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) @@ -48384,7 +48702,7 @@ paths: schema: type: string format: date-time - - &376 + - &379 name: token_id description: The ID of the token in: query @@ -48701,9 +49019,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -48729,14 +49047,14 @@ paths: - *81 - *17 - *19 - - *370 - - *104 - - *371 - - *372 - *373 + - *104 - *374 - *375 - *376 + - *377 + - *378 + - *379 responses: '500': *38 '422': *15 @@ -49018,9 +49336,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -49062,7 +49380,7 @@ paths: type: integer configurations: type: array - items: &377 + items: &380 title: Organization private registry description: Private registry configuration for an organization type: object @@ -49091,6 +49409,10 @@ 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. @@ -49099,6 +49421,16 @@ paths: - 'null' examples: - monalisa + 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. @@ -49191,6 +49523,15 @@ paths: type: - string - 'null' + 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 @@ -49236,6 +49577,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 @@ -49286,12 +49628,25 @@ 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. type: string examples: - monalisa + 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 @@ -49321,7 +49676,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &378 + org-private-registry-with-selected-visibility: &381 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -49413,15 +49768,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *377 + schema: *380 examples: - default: *378 + default: *381 '404': *6 x-github: githubCloudOnly: false @@ -49443,7 +49798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 requestBody: required: true content: @@ -49481,6 +49836,15 @@ paths: type: - string - 'null' + 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 @@ -49540,7 +49904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *81 - - *276 + - *279 responses: '204': description: Response @@ -49586,7 +49950,7 @@ paths: application/json: schema: type: array - items: &379 + items: &382 title: Project description: Projects are a way to organize columns and cards of work. @@ -49768,7 +50132,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: default: value: @@ -49806,7 +50170,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &457 + '410': &459 description: Gone content: application/json: @@ -49849,7 +50213,7 @@ paths: application/json: schema: type: array - items: &380 + items: &383 title: Projects v2 Project description: A projects v2 project type: object @@ -49923,7 +50287,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &876 + - &880 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -50008,7 +50372,7 @@ paths: - deleted_at - deleted_by examples: - default: &381 + default: &384 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50111,7 +50475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &382 + - &385 name: project_number description: The project's number. in: path @@ -50124,9 +50488,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -50148,7 +50512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *382 + - *385 - *81 - *17 - *102 @@ -50160,7 +50524,7 @@ paths: application/json: schema: type: array - items: &383 + items: &386 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -50310,9 +50674,9 @@ paths: - updated_at - project_url examples: - default: &384 + default: &822 value: - id: 12345 + - id: 12345 node_id: PVTF_lADOABCD1234567890 name: Priority data_type: single_select @@ -50332,6 +50696,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: *41 '304': *35 @@ -50353,8 +50777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *382 - - &820 + - *385 + - &823 name: field_id description: The unique identifier of the field. in: path @@ -50367,9 +50791,30 @@ paths: description: Response content: application/json: - schema: *383 + schema: *386 examples: - default: *384 + default: &824 + 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: *41 '304': *35 @@ -50392,7 +50837,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: - - *382 + - *385 - *81 - 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) @@ -50425,7 +50870,7 @@ paths: application/json: schema: type: array - items: &389 + items: &391 title: Projects v2 Item description: An item belonging to a project type: object @@ -50442,7 +50887,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &387 + content_type: &389 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50499,7 +50944,7 @@ paths: - updated_at - archived_at examples: - default: &390 + default: &392 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -51194,7 +51639,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *382 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -51231,7 +51676,7 @@ paths: description: Response content: application/json: - schema: &821 + schema: &825 title: Projects v2 Item description: An item belonging to a project type: object @@ -51244,8 +51689,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *215 - - &566 + - *218 + - &568 title: Pull Request Simple description: Pull Request Simple type: object @@ -51365,7 +51810,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 active_lock_reason: type: - string @@ -51420,7 +51865,7 @@ paths: type: - array - 'null' - items: *293 + items: *296 head: type: object properties: @@ -51464,7 +51909,7 @@ paths: _links: type: object properties: - comments: &386 + comments: &388 title: Link description: Hypermedia Link type: object @@ -51473,13 +51918,13 @@ paths: type: string required: - href - commits: *386 - statuses: *386 - html: *386 - issue: *386 - review_comments: *386 - review_comment: *386 - self: *386 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -51489,8 +51934,8 @@ paths: - review_comments - review_comment - self - author_association: *202 - auto_merge: &675 + author_association: *205 + auto_merge: &677 title: Auto merge description: The status of auto merging a pull request. type: @@ -51592,7 +52037,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *387 + content_type: *389 creator: *4 created_at: type: string @@ -51629,7 +52074,7 @@ paths: - updated_at - archived_at examples: - issue: &388 + issue: &390 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -51684,7 +52129,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: *388 + pull_request: *390 '304': *35 '403': *27 '401': *23 @@ -51704,9 +52149,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: - - *382 + - *385 - *81 - - &391 + - &393 name: item_id description: The unique identifier of the project item. in: path @@ -51732,9 +52177,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -51755,9 +52200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *382 + - *385 - *81 - - *391 + - *393 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -51830,13 +52275,13 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - text_field: *390 - number_field: *390 - date_field: *390 - single_select_field: *390 - iteration_field: *390 + text_field: *392 + number_field: *392 + date_field: *392 + single_select_field: *392 + iteration_field: *392 '401': *23 '403': *27 '404': *6 @@ -51856,9 +52301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *382 + - *385 - *81 - - *391 + - *393 responses: '204': description: Response @@ -52021,7 +52466,7 @@ paths: required: true content: application/json: - schema: *392 + schema: *394 examples: default: value: @@ -52249,7 +52694,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -52387,9 +52832,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -52593,7 +53038,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &461 title: Full Repository description: Full Repository type: object @@ -53039,7 +53484,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 organization: anyOf: - type: 'null' @@ -53058,7 +53503,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &571 + code_of_conduct: &573 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -53088,7 +53533,7 @@ paths: - key - name - html_url - security_and_analysis: *393 + security_and_analysis: *395 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53172,7 +53617,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &463 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -53698,9 +54143,9 @@ paths: application/json: schema: type: array - items: *394 + items: *396 examples: - default: *395 + default: *397 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53725,7 +54170,7 @@ paths: - *81 - *17 - *19 - - &698 + - &700 name: targets description: | A comma-separated list of rule targets to filter by. @@ -53817,11 +54262,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *396 + conditions: *398 rules: type: array description: An array of rules within the ruleset. - items: &398 + items: &400 title: Repository Rule type: object description: A repository rule. @@ -53885,7 +54330,7 @@ paths: application/json: schema: *179 examples: - default: &397 + default: &399 value: id: 21 name: super cool ruleset @@ -53940,7 +54385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &700 + - &702 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 @@ -53950,16 +54395,16 @@ paths: schema: type: string x-multi-segment: true - - *290 + - *293 - *99 - - &701 + - &703 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 - - &702 + - &704 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53979,7 +54424,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &705 title: Rule Suites description: Response type: array @@ -54035,7 +54480,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &704 + default: &706 value: - id: 21 actor_id: 12 @@ -54079,7 +54524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &705 + - &707 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54095,7 +54540,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &708 title: Rule Suite description: Response type: object @@ -54202,7 +54647,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &707 + default: &709 value: id: 21 actor_id: 12 @@ -54277,7 +54722,7 @@ paths: application/json: schema: *179 examples: - default: *397 + default: *399 '404': *6 '500': *38 put: @@ -54326,11 +54771,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *396 + conditions: *398 rules: description: An array of rules within the ruleset. type: array - items: *398 + items: *400 examples: default: value: @@ -54367,7 +54812,7 @@ paths: application/json: schema: *179 examples: - default: *397 + default: *399 '404': *6 '500': *38 delete: @@ -54426,7 +54871,7 @@ paths: type: array items: *183 examples: - default: *399 + default: *401 '404': *6 '500': *38 x-github: @@ -54463,7 +54908,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -54526,14 +54971,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 - - *401 - - *402 - *403 - *404 + - *405 + - *406 - *104 - *19 - *17 - - &709 + - &711 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 @@ -54543,7 +54988,7 @@ paths: required: false schema: type: string - - &710 + - &712 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 @@ -54553,10 +54998,10 @@ paths: required: false schema: type: string - - *405 - - *406 - *407 - *408 + - *409 + - *410 responses: '200': description: Response @@ -54564,9 +55009,9 @@ paths: application/json: schema: type: array - items: *409 + items: *411 examples: - default: *410 + default: *412 headers: Link: *41 '404': *6 @@ -54601,9 +55046,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 '403': *27 '404': *6 patch: @@ -54756,7 +55201,7 @@ paths: application/json: schema: type: array - items: &731 + items: &733 description: A repository security advisory. type: object properties: @@ -55000,7 +55445,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 credits_detailed: type: - array @@ -55011,7 +55456,7 @@ paths: type: object properties: user: *4 - type: *413 + type: *415 state: type: string description: The state of the user's acceptance of the @@ -55037,7 +55482,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *293 + items: *296 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -55075,7 +55520,7 @@ paths: - private_fork additionalProperties: false examples: - default: &732 + default: &734 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55462,9 +55907,9 @@ paths: application/json: schema: type: array - items: *361 + items: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55488,7 +55933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -55514,7 +55959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -55549,9 +55994,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55576,7 +56021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *416 + - *418 - *17 - *19 responses: @@ -55584,9 +56029,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *419 examples: - default: *418 + default: *420 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55614,9 +56059,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55644,9 +56089,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55792,9 +56237,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *280 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55863,7 +56308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -55886,7 +56331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *260 + - *263 responses: '204': description: Response @@ -55929,7 +56374,7 @@ paths: type: array items: *137 examples: - default: *423 + default: *425 headers: Link: *41 x-github: @@ -56130,15 +56575,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: - *81 - - *424 + - *426 responses: '200': description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *426 + default: *428 headers: Link: *41 x-github: @@ -56176,7 +56621,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &450 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56228,7 +56673,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &449 + default: &451 value: groups: - group_id: '123' @@ -56274,7 +56719,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *81 - - *200 + - *203 - 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`). @@ -56306,13 +56751,13 @@ paths: application/json: schema: type: array - items: *192 + items: *195 examples: - default: *193 + default: *196 '500': *38 '403': *27 '404': *6 - '422': *194 + '422': *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56340,9 +56785,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 headers: Link: *41 '403': *27 @@ -56436,7 +56881,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &429 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56510,7 +56955,7 @@ paths: parent: anyOf: - type: 'null' - - *361 + - *364 members_count: type: integer examples: @@ -56835,7 +57280,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &430 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56906,15 +57351,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -56936,7 +57381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *81 - - *200 + - *203 requestBody: required: false content: @@ -56999,16 +57444,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '201': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 '422': *15 '403': *27 @@ -57034,7 +57479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *81 - - *200 + - *203 responses: '204': description: Response @@ -57061,7 +57506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *81 - - *200 + - *203 - *104 - *17 - *19 @@ -57078,7 +57523,7 @@ paths: application/json: schema: type: array - items: &429 + items: &431 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57169,7 +57614,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *203 + reactions: *206 required: - author - body @@ -57189,7 +57634,7 @@ paths: - updated_at - url examples: - default: &775 + default: &777 value: - author: login: octocat @@ -57264,7 +57709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *81 - - *200 + - *203 requestBody: required: true content: @@ -57298,9 +57743,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &430 + default: &432 value: author: login: octocat @@ -57373,8 +57818,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *81 - - *200 - - &431 + - *203 + - &433 name: discussion_number description: The number that identifies the discussion. in: path @@ -57386,9 +57831,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57411,8 +57856,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: false content: @@ -57435,9 +57880,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &776 + default: &778 value: author: login: octocat @@ -57508,8 +57953,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 responses: '204': description: Response @@ -57536,8 +57981,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *81 - - *200 - - *431 + - *203 + - *433 - *104 - *17 - *19 @@ -57548,7 +57993,7 @@ paths: application/json: schema: type: array - items: &432 + items: &434 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -57613,7 +58058,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *203 + reactions: *206 required: - author - body @@ -57628,7 +58073,7 @@ paths: - updated_at - url examples: - default: &777 + default: &779 value: - author: login: octocat @@ -57697,8 +58142,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: true content: @@ -57720,9 +58165,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &433 + default: &435 value: author: login: octocat @@ -57789,9 +58234,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *81 - - *200 - - *431 - - &434 + - *203 + - *433 + - &436 name: comment_number description: The number that identifies the comment. in: path @@ -57803,9 +58248,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57828,9 +58273,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 requestBody: required: true content: @@ -57852,9 +58297,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &778 + default: &780 value: author: login: octocat @@ -57919,9 +58364,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 responses: '204': description: Response @@ -57948,9 +58393,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 - 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. @@ -57976,7 +58421,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58020,7 +58465,7 @@ paths: - content - created_at examples: - default: &437 + default: &439 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58071,9 +58516,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *81 - - *200 - - *431 - - *434 + - *203 + - *433 + - *436 requestBody: required: true content: @@ -58106,9 +58551,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *437 examples: - default: &436 + default: &438 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58137,9 +58582,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58163,10 +58608,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *81 - - *200 - - *431 - - *434 - - &438 + - *203 + - *433 + - *436 + - &440 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58199,8 +58644,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 - 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. @@ -58226,9 +58671,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -58255,8 +58700,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *81 - - *200 - - *431 + - *203 + - *433 requestBody: required: true content: @@ -58288,16 +58733,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58321,9 +58766,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *81 - - *200 - - *431 - - *438 + - *203 + - *433 + - *440 responses: '204': description: Response @@ -58347,15 +58792,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: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *440 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58375,7 +58820,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: - *81 - - *200 + - *203 requestBody: required: true content: @@ -58399,9 +58844,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: *442 + default: *444 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58421,7 +58866,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: - *81 - - *200 + - *203 responses: '204': description: Response @@ -58446,7 +58891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -58456,9 +58901,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 x-github: @@ -58481,7 +58926,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *81 - - *200 + - *203 - name: role description: Filters members returned by their role in the team. in: query @@ -58504,7 +58949,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -58535,14 +58980,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 responses: '200': description: Response content: application/json: - schema: &443 + schema: &445 title: Team Membership description: Team Membership type: object @@ -58570,7 +59015,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &779 + response-if-user-is-a-team-maintainer: &781 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58607,7 +59052,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 requestBody: required: false @@ -58633,9 +59078,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: &780 + response-if-users-membership-with-team-is-now-pending: &782 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58671,7 +59116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *81 - - *200 + - *203 - *132 responses: '204': @@ -58698,7 +59143,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -58708,7 +59153,7 @@ paths: application/json: schema: type: array - items: &444 + items: &446 title: Team Project description: A team's access to a project. type: object @@ -58777,7 +59222,7 @@ paths: - updated_at - permissions examples: - default: &781 + default: &783 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58841,8 +59286,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *81 - - *200 - - &445 + - *203 + - &447 name: project_id description: The unique identifier of the project. in: path @@ -58854,9 +59299,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &782 + default: &784 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -58919,8 +59364,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *81 - - *200 - - *445 + - *203 + - *447 requestBody: required: false content: @@ -58988,8 +59433,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *81 - - *200 - - *445 + - *203 + - *447 responses: '204': description: Response @@ -59017,7 +59462,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -59027,9 +59472,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -59059,15 +59504,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &785 title: Team Repository description: A team's access to a repository. type: object @@ -59093,7 +59538,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 forks: type: integer permissions: @@ -59709,9 +60154,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 requestBody: required: false content: @@ -59757,9 +60202,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *81 - - *200 - - *446 - - *447 + - *203 + - *448 + - *449 responses: '204': description: Response @@ -59786,15 +60231,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *81 - - *200 + - *203 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59817,7 +60262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *81 - - *200 + - *203 requestBody: required: true content: @@ -59860,7 +60305,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -59893,7 +60338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *81 - - *200 + - *203 - *17 - *19 responses: @@ -59903,9 +60348,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &786 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60032,7 +60477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &452 name: card_id description: The unique identifier of the card. in: path @@ -60044,7 +60489,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &453 title: Project Card description: Project cards represent a scope of work. type: object @@ -60119,7 +60564,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &454 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60175,7 +60620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *450 + - *452 requestBody: required: false content: @@ -60205,9 +60650,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 '304': *35 '403': *27 '401': *23 @@ -60234,7 +60679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *452 responses: '204': description: Response @@ -60278,7 +60723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *452 requestBody: required: true content: @@ -60391,7 +60836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &455 name: column_id description: The unique identifier of the column. in: path @@ -60403,7 +60848,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: Project Column description: Project columns contain cards of work. type: object @@ -60457,7 +60902,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &457 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60492,7 +60937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *453 + - *455 requestBody: required: true content: @@ -60517,9 +60962,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *455 + default: *457 '304': *35 '403': *27 '401': *23 @@ -60544,7 +60989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *455 responses: '204': description: Response @@ -60573,7 +61018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *455 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -60594,7 +61039,7 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: default: value: @@ -60653,7 +61098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *455 requestBody: required: true content: @@ -60697,9 +61142,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: - default: *452 + default: *454 '304': *35 '403': *27 '401': *23 @@ -60709,8 +61154,8 @@ paths: application/json: schema: oneOf: - - *241 - - *242 + - *244 + - *245 '503': description: Response content: @@ -60755,7 +61200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *455 requestBody: required: true content: @@ -60816,15 +61261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *447 responses: '200': description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: &456 + default: &458 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -60881,7 +61326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *447 requestBody: required: false content: @@ -60930,9 +61375,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *456 + default: *458 '404': description: Not Found if the authenticated user does not have access to the project @@ -60953,7 +61398,7 @@ paths: items: type: string '401': *23 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -60976,7 +61421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *447 responses: '204': description: Delete Success @@ -60997,7 +61442,7 @@ paths: items: type: string '401': *23 - '410': *457 + '410': *459 '404': *6 x-github: githubCloudOnly: false @@ -61021,7 +61466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *447 - 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 @@ -61048,7 +61493,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -61078,7 +61523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 + - *447 - *132 requestBody: required: false @@ -61133,7 +61578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 + - *447 - *132 responses: '204': @@ -61165,7 +61610,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: - - *445 + - *447 - *132 responses: '200': @@ -61263,7 +61708,7 @@ paths: resources: type: object properties: - core: &458 + core: &460 title: Rate Limit type: object properties: @@ -61280,21 +61725,21 @@ paths: - remaining - reset - used - graphql: *458 - search: *458 - code_search: *458 - source_import: *458 - integration_manifest: *458 - code_scanning_upload: *458 - actions_runner_registration: *458 - scim: *458 - dependency_snapshots: *458 - dependency_sbom: *458 - code_scanning_autofix: *458 + graphql: *460 + search: *460 + code_search: *460 + source_import: *460 + integration_manifest: *460 + code_scanning_upload: *460 + actions_runner_registration: *460 + scim: *460 + dependency_snapshots: *460 + dependency_sbom: *460 + code_scanning_autofix: *460 required: - core - search - rate: *458 + rate: *460 required: - rate - resources @@ -61399,14 +61844,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: default-response: summary: Default response @@ -61911,7 +62356,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *460 + '301': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61929,8 +62374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -62188,10 +62633,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 - '307': &462 + default: *463 + '307': &464 description: Temporary Redirect content: application/json: @@ -62220,8 +62665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -62243,7 +62688,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': *462 + '307': *464 '404': *6 '409': *112 x-github: @@ -62267,11 +62712,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - - &477 + - &479 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62294,7 +62739,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &465 title: Artifact description: An artifact type: object @@ -62389,7 +62834,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &480 value: total_count: 2 artifacts: @@ -62450,9 +62895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *448 + - *449 + - &466 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62464,7 +62909,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *465 examples: default: value: @@ -62502,9 +62947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *448 + - *449 + - *466 responses: '204': description: Response @@ -62528,9 +62973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *448 + - *449 + - *466 - name: archive_format in: path required: true @@ -62544,7 +62989,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': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62567,14 +63012,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *465 + schema: *467 examples: default: value: @@ -62600,11 +63045,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: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - - &466 + - &468 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 @@ -62638,7 +63083,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &469 title: Repository actions caches description: Repository actions caches type: object @@ -62688,7 +63133,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &470 value: total_count: 1 actions_caches: @@ -62720,23 +63165,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: - - *446 - - *447 + - *448 + - *449 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *468 responses: '200': description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,8 +63201,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: - - *446 - - *447 + - *448 + - *449 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62788,9 +63233,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: - - *446 - - *447 - - &469 + - *448 + - *449 + - &471 name: job_id description: The unique identifier of the job. in: path @@ -62802,7 +63247,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &483 title: Job description: Information of a job execution in a workflow run type: object @@ -63149,9 +63594,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: - - *446 - - *447 - - *469 + - *448 + - *449 + - *471 responses: '302': description: Response @@ -63179,9 +63624,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: - - *446 - - *447 - - *469 + - *448 + - *449 + - *471 requestBody: required: false content: @@ -63203,7 +63648,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -63227,8 +63672,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Status response @@ -63278,8 +63723,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -63313,7 +63758,7 @@ paths: description: Empty response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -63342,8 +63787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -63361,7 +63806,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &485 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63382,7 +63827,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &486 value: total_count: 2 secrets: @@ -63415,9 +63860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *446 - - *447 - - *470 + - *448 + - *449 + - *472 - *19 responses: '200': @@ -63434,7 +63879,7 @@ paths: type: integer variables: type: array - items: &487 + items: &489 title: Actions Variable type: object properties: @@ -63468,7 +63913,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &490 value: total_count: 2 variables: @@ -63501,8 +63946,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63511,11 +63956,11 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &473 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 - selected_actions_url: *253 + selected_actions_url: *256 sha_pinning_required: *55 required: - enabled @@ -63546,8 +63991,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63558,7 +64003,7 @@ paths: schema: type: object properties: - enabled: *471 + enabled: *473 allowed_actions: *54 sha_pinning_required: *55 required: @@ -63591,14 +64036,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &472 + schema: &474 type: object properties: access_level: @@ -63616,7 +64061,7 @@ paths: required: - access_level examples: - default: &473 + default: &475 value: access_level: organization x-github: @@ -63641,15 +64086,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 responses: '204': description: Response @@ -63673,14 +64118,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *255 + schema: *258 examples: default: value: @@ -63704,8 +64149,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Empty response for successful settings update @@ -63715,7 +64160,7 @@ paths: required: true content: application/json: - schema: *256 + schema: *259 examples: default: summary: Set retention days @@ -63739,8 +64184,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63748,7 +64193,7 @@ paths: application/json: schema: *56 examples: - default: *257 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -63767,8 +64212,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63802,14 +64247,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *258 + schema: *261 examples: default: *57 '403': *27 @@ -63831,13 +64276,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *259 + schema: *262 examples: default: *57 responses: @@ -63863,8 +64308,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -63895,8 +64340,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -63928,14 +64373,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *262 + schema: *265 examples: default: *63 x-github: @@ -63958,8 +64403,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Success response @@ -63970,7 +64415,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *266 examples: default: *63 x-github: @@ -63999,8 +64444,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -64044,8 +64489,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -64053,9 +64498,9 @@ paths: application/json: schema: type: array - items: *267 + items: *270 examples: - default: *268 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64077,8 +64522,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -64121,7 +64566,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *269 + '201': *272 '404': *6 '422': *7 '409': *112 @@ -64152,8 +64597,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: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -64161,7 +64606,7 @@ paths: application/json: schema: *73 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64189,8 +64634,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: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -64198,7 +64643,7 @@ paths: application/json: schema: *73 examples: - default: *271 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64220,8 +64665,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '200': @@ -64230,7 +64675,7 @@ paths: application/json: schema: *70 examples: - default: *272 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64251,8 +64696,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '204': @@ -64279,8 +64724,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: '200': *75 @@ -64305,8 +64750,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: - - *446 - - *447 + - *448 + - *449 - *69 requestBody: required: true @@ -64355,8 +64800,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: - - *446 - - *447 + - *448 + - *449 - *69 requestBody: required: true @@ -64406,11 +64851,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: - - *446 - - *447 + - *448 + - *449 - *69 responses: - '200': *273 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -64437,10 +64882,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: - - *446 - - *447 + - *448 + - *449 - *69 - - *274 + - *277 responses: '200': *75 '404': *6 @@ -64468,9 +64913,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: - - *446 - - *447 - - &491 + - *448 + - *449 + - &493 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. @@ -64478,7 +64923,7 @@ paths: required: false schema: type: string - - &492 + - &494 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64486,7 +64931,7 @@ paths: required: false schema: type: string - - &493 + - &495 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64495,7 +64940,7 @@ paths: required: false schema: type: string - - &494 + - &496 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 @@ -64522,7 +64967,7 @@ paths: - pending - *17 - *19 - - &495 + - &497 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)." @@ -64531,7 +64976,7 @@ paths: schema: type: string format: date-time - - &474 + - &476 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64540,13 +64985,13 @@ paths: schema: type: boolean default: false - - &496 + - &498 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &499 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64569,7 +65014,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &477 title: Workflow Run description: An invocation of a workflow type: object @@ -64686,7 +65131,7 @@ paths: type: - array - 'null' - items: &516 + items: &518 title: Pull Request Minimal type: object properties: @@ -64813,7 +65258,7 @@ paths: head_commit: anyOf: - type: 'null' - - &520 + - &522 title: Simple Commit description: A commit. type: object @@ -64887,8 +65332,8 @@ paths: - timestamp - author - committer - repository: *266 - head_repository: *266 + repository: *269 + head_repository: *269 head_repository_id: type: integer examples: @@ -64928,7 +65373,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &500 value: total_count: 1 workflow_runs: @@ -65164,24 +65609,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *446 - - *447 - - &476 + - *448 + - *449 + - &478 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *476 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: &479 + default: &481 value: id: 30433642 name: Build @@ -65422,9 +65867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '204': description: Response @@ -65447,9 +65892,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -65577,15 +66022,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -65612,12 +66057,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 - *17 - *19 - - *477 + - *479 responses: '200': description: Response @@ -65633,9 +66078,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *465 examples: - default: *478 + default: *480 headers: Link: *41 x-github: @@ -65659,25 +66104,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - &480 + - *448 + - *449 + - *478 + - &482 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *476 responses: '200': description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65700,10 +66145,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: - - *446 - - *447 - - *476 - - *480 + - *448 + - *449 + - *478 + - *482 - *17 - *19 responses: @@ -65721,9 +66166,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *483 examples: - default: &482 + default: &484 value: total_count: 1 jobs: @@ -65836,10 +66281,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *446 - - *447 - - *476 - - *480 + - *448 + - *449 + - *478 + - *482 responses: '302': description: Response @@ -65867,15 +66312,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '202': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -65902,9 +66347,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: true content: @@ -65971,15 +66416,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '202': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66006,9 +66451,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 - 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 @@ -66038,9 +66483,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *483 examples: - default: *482 + default: *484 headers: Link: *41 x-github: @@ -66065,9 +66510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '302': description: Response @@ -66094,9 +66539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '204': description: Response @@ -66123,9 +66568,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -66194,7 +66639,7 @@ paths: items: type: object properties: - type: &600 + type: &602 type: string description: The type of reviewer. enum: @@ -66205,7 +66650,7 @@ paths: reviewer: anyOf: - *4 - - *293 + - *296 required: - environment - wait_timer @@ -66280,9 +66725,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: true content: @@ -66332,7 +66777,7 @@ paths: application/json: schema: type: array - items: &586 + items: &588 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66444,7 +66889,7 @@ paths: - created_at - updated_at examples: - default: &587 + default: &589 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66500,9 +66945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: false content: @@ -66524,7 +66969,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66547,9 +66992,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: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 requestBody: required: false content: @@ -66571,7 +67016,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66604,9 +67049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *446 - - *447 - - *476 + - *448 + - *449 + - *478 responses: '200': description: Response @@ -66743,8 +67188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -66762,9 +67207,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *485 examples: - default: *484 + default: *486 headers: Link: *41 x-github: @@ -66789,16 +67234,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66820,17 +67265,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: &613 + default: &615 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66856,9 +67301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -66889,7 +67334,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -66915,9 +67360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -66942,9 +67387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *448 + - *449 + - *472 - *19 responses: '200': @@ -66961,9 +67406,9 @@ paths: type: integer variables: type: array - items: *487 + items: *489 examples: - default: *488 + default: *490 headers: Link: *41 x-github: @@ -66986,8 +67431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -67014,7 +67459,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -67039,17 +67484,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &614 + default: &616 value: name: USERNAME value: octocat @@ -67075,9 +67520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 requestBody: required: true content: @@ -67119,9 +67564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 - - *279 + - *448 + - *449 + - *282 responses: '204': description: Response @@ -67146,8 +67591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -67165,7 +67610,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &491 title: Workflow description: A GitHub Actions workflow type: object @@ -67283,9 +67728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *448 + - *449 + - &492 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67300,7 +67745,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: default: value: @@ -67333,9 +67778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67360,9 +67805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67413,9 +67858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '204': description: Response @@ -67442,19 +67887,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: - - *446 - - *447 - - *490 - - *491 + - *448 + - *449 - *492 - *493 - *494 - - *17 - - *19 - *495 - - *474 - *496 + - *17 + - *19 - *497 + - *476 + - *498 + - *499 responses: '200': description: Response @@ -67470,9 +67915,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *477 examples: - default: *498 + default: *500 headers: Link: *41 x-github: @@ -67505,9 +67950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *448 + - *449 + - *492 responses: '200': description: Response @@ -67568,8 +68013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 + - *448 + - *449 - *104 - *17 - *102 @@ -67737,8 +68182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -67750,7 +68195,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -67775,8 +68220,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: - - *446 - - *447 + - *448 + - *449 - name: assignee in: path required: true @@ -67812,8 +68257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -67925,8 +68370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *102 - *103 @@ -67983,7 +68428,7 @@ paths: initiator: type: string examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68003,8 +68448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -68012,7 +68457,7 @@ paths: application/json: schema: type: array - items: &500 + items: &502 title: Autolink reference description: An autolink reference. type: object @@ -68071,8 +68516,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -68111,9 +68556,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *502 examples: - default: &501 + default: &503 value: id: 1 key_prefix: TICKET- @@ -68144,9 +68589,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: - - *446 - - *447 - - &502 + - *448 + - *449 + - &504 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68158,9 +68603,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *502 examples: - default: *501 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -68180,9 +68625,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: - - *446 - - *447 - - *502 + - *448 + - *449 + - *504 responses: '204': description: Response @@ -68206,8 +68651,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response if Dependabot is enabled @@ -68257,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -68279,8 +68724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -68300,8 +68745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *448 + - *449 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68339,7 +68784,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &506 title: Branch Protection description: Branch Protection type: object @@ -68382,7 +68827,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &509 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68399,7 +68844,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &511 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68421,7 +68866,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *293 + items: *296 apps: description: The list of apps with review dismissal access. @@ -68453,7 +68898,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *293 + items: *296 apps: description: The list of apps allowed to bypass pull request requirements. @@ -68483,7 +68928,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &508 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68546,7 +68991,7 @@ paths: type: string teams: type: array - items: *293 + items: *296 apps: type: array items: @@ -68776,9 +69221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *448 + - *449 + - &507 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). @@ -68792,14 +69237,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &517 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &562 + commit: &564 title: Commit description: Commit type: object @@ -68838,7 +69283,7 @@ paths: author: anyOf: - type: 'null' - - &503 + - &505 title: Git User description: Metaproperties for Git author/committer information. @@ -68859,7 +69304,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 message: type: string examples: @@ -68883,7 +69328,7 @@ paths: required: - sha - url - verification: &620 + verification: &622 title: Verification type: object properties: @@ -68919,14 +69364,14 @@ paths: author: oneOf: - *4 - - *277 + - *280 type: - 'null' - object committer: oneOf: - *4 - - *277 + - *280 type: - 'null' - object @@ -68963,7 +69408,7 @@ paths: type: integer files: type: array - items: &573 + items: &575 title: Diff Entry description: Diff Entry type: object @@ -69059,7 +69504,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *506 protection_url: type: string format: uri @@ -69168,7 +69613,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *462 '404': *6 x-github: githubCloudOnly: false @@ -69190,15 +69635,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: default: value: @@ -69392,9 +69837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -69654,7 +70099,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &514 title: Status Check Policy description: Status Check Policy type: object @@ -69735,7 +70180,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 apps: type: array items: *5 @@ -69753,7 +70198,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 apps: type: array items: *5 @@ -69813,7 +70258,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *508 required_conversation_resolution: type: object properties: @@ -69925,9 +70370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -69952,17 +70397,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &508 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69984,17 +70429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70013,9 +70458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70040,17 +70485,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: &510 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70146,9 +70591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70246,9 +70691,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *511 examples: - default: *510 + default: *512 '422': *15 x-github: githubCloudOnly: false @@ -70269,9 +70714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70298,17 +70743,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: &511 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70331,17 +70776,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *507 + schema: *509 examples: - default: *511 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -70361,9 +70806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70388,17 +70833,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: &513 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70424,9 +70869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70478,9 +70923,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *514 examples: - default: *513 + default: *515 '404': *6 '422': *15 x-github: @@ -70502,9 +70947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70528,9 +70973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -70564,9 +71009,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70633,9 +71078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -70699,9 +71144,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: content: application/json: @@ -70767,15 +71212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -70866,9 +71311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '204': description: Response @@ -70891,9 +71336,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -70903,7 +71348,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &516 value: - id: 1 slug: octoapp @@ -70960,9 +71405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -70996,7 +71441,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71017,9 +71462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71053,7 +71498,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71074,9 +71519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71110,7 +71555,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *516 '422': *15 x-github: githubCloudOnly: false @@ -71132,9 +71577,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -71142,9 +71587,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -71164,9 +71609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -71202,9 +71647,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71225,9 +71670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: false content: @@ -71263,9 +71708,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71286,9 +71731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: content: application/json: @@ -71323,9 +71768,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -71347,9 +71792,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: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 responses: '200': description: Response @@ -71359,7 +71804,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '404': *6 x-github: githubCloudOnly: false @@ -71383,9 +71828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71418,7 +71863,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71443,9 +71888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71478,7 +71923,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71503,9 +71948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71538,7 +71983,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '422': *15 x-github: githubCloudOnly: false @@ -71565,9 +72010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 requestBody: required: true content: @@ -71589,7 +72034,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *517 examples: default: value: @@ -71703,8 +72148,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 @@ -71718,9 +72163,9 @@ paths: application/json: schema: type: array - items: *288 + items: *291 examples: - default: *289 + default: *292 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71740,8 +72185,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71755,7 +72200,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *291 examples: default: value: @@ -71814,8 +72259,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 @@ -71829,9 +72274,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '404': *6 '403': *27 '500': *38 @@ -71855,8 +72300,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71868,7 +72313,7 @@ paths: description: A single bypass request. content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -71926,8 +72371,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_request_number in: path required: true @@ -71998,8 +72443,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *448 + - *449 - name: bypass_response_id in: path required: true @@ -72032,8 +72477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -72312,7 +72757,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &519 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72447,8 +72892,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *516 - deployment: &837 + items: *518 + deployment: &841 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72735,9 +73180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *446 - - *447 - - &518 + - *448 + - *449 + - &520 name: check_run_id description: The unique identifier of the check run. in: path @@ -72749,9 +73194,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: &519 + default: &521 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72851,9 +73296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 requestBody: required: true content: @@ -73093,9 +73538,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *519 examples: - default: *519 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73115,9 +73560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 - *17 - *19 responses: @@ -73227,15 +73672,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *518 + - *448 + - *449 + - *520 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -73273,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -73296,7 +73741,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &523 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73378,12 +73823,12 @@ paths: type: - array - 'null' - items: *516 + items: *518 app: anyOf: - type: 'null' - *5 - repository: *266 + repository: *269 created_at: type: - string @@ -73394,7 +73839,7 @@ paths: - string - 'null' format: date-time - head_commit: *520 + head_commit: *522 latest_check_runs_count: type: integer check_runs_url: @@ -73422,7 +73867,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &524 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73713,9 +74158,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73734,8 +74179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -73796,7 +74241,7 @@ paths: required: - app_id - setting - repository: *266 + repository: *269 examples: default: value: @@ -74044,9 +74489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *446 - - *447 - - &523 + - *448 + - *449 + - &525 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74058,9 +74503,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *523 examples: - default: *522 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74083,17 +74528,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: - - *446 - - *447 - - *523 - - &568 + - *448 + - *449 + - *525 + - &570 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &569 + - &571 name: status description: Returns check runs with the specified `status`. in: query @@ -74132,9 +74577,9 @@ paths: type: integer check_runs: type: array - items: *517 + items: *519 examples: - default: &570 + default: &572 value: total_count: 1 check_runs: @@ -74236,15 +74681,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *448 + - *449 + - *525 responses: '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -74271,21 +74716,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: - - *446 - - *447 - - *297 - - *298 + - *448 + - *449 + - *300 + - *301 - *19 - *17 - - &539 + - &541 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: *524 - - &540 + schema: *526 + - &542 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74310,13 +74755,13 @@ paths: be returned. in: query required: false - schema: *299 + schema: *302 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *525 + schema: *527 responses: '200': description: Response @@ -74332,7 +74777,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *526 + instances_url: *528 state: *107 fixed_at: *129 dismissed_by: @@ -74340,11 +74785,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_reason: *529 + dismissed_comment: *530 + rule: *531 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -74467,7 +74912,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &532 + '403': &534 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74494,9 +74939,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: - - *446 - - *447 - - &533 + - *448 + - *449 + - &535 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74510,7 +74955,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &536 type: object properties: number: *119 @@ -74518,7 +74963,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *526 + instances_url: *528 state: *107 fixed_at: *129 dismissed_by: @@ -74526,8 +74971,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *529 + dismissed_comment: *530 rule: type: object properties: @@ -74589,8 +75034,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -74686,7 +75131,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -74706,9 +75151,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: true content: @@ -74723,8 +75168,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *529 + dismissed_comment: *530 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74743,7 +75188,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: default: value: @@ -74819,7 +75264,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &540 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74846,15 +75291,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 responses: '200': description: Response content: application/json: - schema: &535 + schema: &537 type: object properties: status: @@ -74881,13 +75326,13 @@ paths: - description - started_at examples: - default: &536 + default: &538 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &539 description: Bad Request content: application/json: @@ -74898,7 +75343,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': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -74923,29 +75368,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 responses: '200': description: OK content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '202': description: Accepted content: application/json: - schema: *535 + schema: *537 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *539 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74977,9 +75422,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: false content: @@ -75025,8 +75470,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *539 + '403': *540 '404': *6 '422': description: Unprocessable Entity @@ -75050,13 +75495,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 - *19 - *17 - - *539 - - *540 + - *541 + - *542 responses: '200': description: Response @@ -75064,7 +75509,7 @@ paths: application/json: schema: type: array - items: *531 + items: *533 examples: default: value: @@ -75103,7 +75548,7 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75137,25 +75582,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: - - *446 - - *447 - - *297 - - *298 + - *448 + - *449 + - *300 + - *301 - *19 - *17 - - *540 + - *542 - 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: *524 + schema: *526 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &545 type: string description: An identifier for the upload. examples: @@ -75177,23 +75622,23 @@ paths: application/json: schema: type: array - items: &544 + items: &546 type: object properties: - ref: *524 - commit_sha: &552 + ref: *526 + commit_sha: &554 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: *541 + analysis_key: *543 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *544 error: type: string examples: @@ -75218,8 +75663,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *545 + tool: *532 deletable: type: boolean warning: @@ -75281,7 +75726,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75317,8 +75762,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: - - *446 - - *447 + - *448 + - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75331,7 +75776,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: response: summary: application/json response @@ -75385,7 +75830,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *534 '404': *6 '422': description: Response if analysis could not be processed @@ -75472,8 +75917,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: - - *446 - - *447 + - *448 + - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75529,7 +75974,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': *538 + '403': *540 '404': *6 '503': *184 x-github: @@ -75551,8 +75996,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -75560,7 +76005,7 @@ paths: application/json: schema: type: array - items: &545 + items: &547 title: CodeQL Database description: A CodeQL database. type: object @@ -75672,7 +76117,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': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75701,8 +76146,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: - - *446 - - *447 + - *448 + - *449 - name: language in: path description: The language of the CodeQL database. @@ -75714,7 +76159,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: default: value: @@ -75746,9 +76191,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': &575 + '302': &577 description: Found - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -75770,8 +76215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *446 - - *447 + - *448 + - *449 - name: language in: path description: The language of the CodeQL database. @@ -75781,7 +76226,7 @@ paths: responses: '204': description: Response - '403': *538 + '403': *540 '404': *6 '503': *184 x-github: @@ -75809,8 +76254,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -75819,7 +76264,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &548 type: string description: The language targeted by the CodeQL query enum: @@ -75898,7 +76343,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &552 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75908,7 +76353,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *546 + query_language: *548 query_pack_url: type: string description: The download url for the query pack. @@ -75956,7 +76401,7 @@ paths: items: type: object properties: - repository: &547 + repository: &549 title: Repository Identifier description: Repository Identifier type: object @@ -75998,7 +76443,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &553 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76030,7 +76475,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &550 type: object properties: repository_count: @@ -76045,7 +76490,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: *547 + items: *549 required: - repository_count - repositories @@ -76068,8 +76513,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *550 + over_limit_repos: *550 required: - access_mismatch_repos - not_found_repos @@ -76085,7 +76530,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &551 summary: Default response value: id: 1 @@ -76237,10 +76682,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *551 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *551 '404': *6 '422': description: Unable to process variant analysis submission @@ -76268,8 +76713,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: - - *446 - - *447 + - *448 + - *449 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76281,9 +76726,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *549 + default: *551 '404': *6 '503': *184 x-github: @@ -76306,7 +76751,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: - - *446 + - *448 - name: repo in: path description: The name of the controller repository. @@ -76341,7 +76786,7 @@ paths: type: object properties: repository: *113 - analysis_status: *551 + analysis_status: *553 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76466,8 +76911,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -76560,7 +77005,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *534 '404': *6 '503': *184 x-github: @@ -76581,8 +77026,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -76651,7 +77096,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -76676,7 +77121,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *540 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76747,8 +77192,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -76756,7 +77201,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *554 ref: type: string description: |- @@ -76816,7 +77261,7 @@ paths: schema: type: object properties: - id: *543 + id: *545 url: type: string description: The REST API URL for checking the status of the upload. @@ -76830,7 +77275,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': *538 + '403': *540 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76853,8 +77298,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: - - *446 - - *447 + - *448 + - *449 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76902,7 +77347,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': *532 + '403': *534 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -76927,8 +77372,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77009,8 +77454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *448 + - *449 - 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 @@ -77138,8 +77583,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77155,7 +77600,7 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: default: value: @@ -77453,8 +77898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -77518,17 +77963,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '400': *14 '401': *23 '403': *27 @@ -77557,8 +78002,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -77622,8 +78067,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: - - *446 - - *447 + - *448 + - *449 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77660,9 +78105,9 @@ paths: type: integer machines: type: array - items: *554 + items: *556 examples: - default: &791 + default: &793 value: total_count: 2 machines: @@ -77702,8 +78147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *446 - - *447 + - *448 + - *449 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77790,8 +78235,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: - - *446 - - *447 + - *448 + - *449 - 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 @@ -77860,8 +78305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -77879,7 +78324,7 @@ paths: type: integer secrets: type: array - items: &558 + items: &560 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77900,7 +78345,7 @@ paths: - created_at - updated_at examples: - default: *555 + default: *557 headers: Link: *41 x-github: @@ -77923,16 +78368,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77952,17 +78397,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *558 + schema: *560 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77982,9 +78427,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: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -78012,7 +78457,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -78036,9 +78481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -78066,8 +78511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *448 + - *449 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78105,7 +78550,7 @@ paths: application/json: schema: type: array - items: &560 + items: &562 title: Collaborator description: Collaborator type: object @@ -78298,8 +78743,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: - - *446 - - *447 + - *448 + - *449 - *132 responses: '204': @@ -78346,8 +78791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 + - *448 + - *449 - *132 requestBody: required: false @@ -78374,7 +78819,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &633 + schema: &635 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78386,7 +78831,7 @@ paths: format: int64 examples: - 42 - repository: *266 + repository: *269 invitee: anyOf: - type: 'null' @@ -78562,7 +79007,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *241 + schema: *244 '403': *27 x-github: triggersNotification: true @@ -78602,8 +79047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 + - *448 + - *449 - *132 responses: '204': @@ -78635,8 +79080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 + - *448 + - *449 - *132 responses: '200': @@ -78657,7 +79102,7 @@ paths: user: anyOf: - type: 'null' - - *560 + - *562 required: - permission - role_name @@ -78711,8 +79156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -78722,7 +79167,7 @@ paths: application/json: schema: type: array - items: &561 + items: &563 title: Commit Comment description: Commit Comment type: object @@ -78763,8 +79208,8 @@ paths: updated_at: type: string format: date-time - author_association: *202 - reactions: *203 + author_association: *205 + reactions: *206 required: - url - html_url @@ -78780,7 +79225,7 @@ paths: - created_at - updated_at examples: - default: &564 + default: &566 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78839,17 +79284,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &565 + default: &567 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78906,9 +79351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -78930,7 +79375,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: default: value: @@ -78981,9 +79426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -79004,9 +79449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -79032,9 +79477,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -79055,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -79089,16 +79534,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -79120,10 +79565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -79172,8 +79617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *448 + - *449 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -79229,9 +79674,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: &682 + default: &684 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79325,9 +79770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *446 - - *447 - - &563 + - *448 + - *449 + - &565 name: commit_sha description: The SHA of the commit. in: path @@ -79399,9 +79844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 - *17 - *19 responses: @@ -79411,9 +79856,9 @@ paths: application/json: schema: type: array - items: *561 + items: *563 examples: - default: *564 + default: *566 headers: Link: *41 x-github: @@ -79441,9 +79886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 requestBody: required: true content: @@ -79478,9 +79923,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *565 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79508,9 +79953,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: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 - *17 - *19 responses: @@ -79520,9 +79965,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: &674 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80059,11 +80504,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 - - &567 + - &569 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)" @@ -80078,9 +80523,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &660 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80193,11 +80638,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: - - *446 - - *447 - - *567 - - *568 + - *448 + - *449 - *569 + - *570 + - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -80231,9 +80676,9 @@ paths: type: integer check_runs: type: array - items: *517 + items: *519 examples: - default: *570 + default: *572 headers: Link: *41 x-github: @@ -80258,9 +80703,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: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -80268,7 +80713,7 @@ paths: schema: type: integer example: 1 - - *568 + - *570 - *17 - *19 responses: @@ -80286,7 +80731,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *523 examples: default: value: @@ -80486,9 +80931,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: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - *17 - *19 responses: @@ -80559,7 +81004,7 @@ paths: type: string total_count: type: integer - repository: *266 + repository: *269 commit_url: type: string format: uri @@ -80690,9 +81135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *446 - - *447 - - *567 + - *448 + - *449 + - *569 - *17 - *19 responses: @@ -80702,7 +81147,7 @@ paths: application/json: schema: type: array - items: &736 + items: &738 title: Status description: The status of a commit. type: object @@ -80783,7 +81228,7 @@ paths: site_admin: false headers: Link: *41 - '301': *460 + '301': *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80811,8 +81256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -80845,11 +81290,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *571 + - *573 code_of_conduct_file: anyOf: - type: 'null' - - &572 + - &574 title: Community Health File type: object properties: @@ -80865,23 +81310,23 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 contributing: anyOf: - type: 'null' - - *572 + - *574 readme: anyOf: - type: 'null' - - *572 + - *574 issue_template: anyOf: - type: 'null' - - *572 + - *574 pull_request_template: anyOf: - type: 'null' - - *572 + - *574 required: - code_of_conduct - code_of_conduct_file @@ -81010,8 +81455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 - name: basehead @@ -81059,8 +81504,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *562 - merge_base_commit: *562 + base_commit: *564 + merge_base_commit: *564 status: type: string enum: @@ -81084,10 +81529,10 @@ paths: - 6 commits: type: array - items: *562 + items: *564 files: type: array - items: *573 + items: *575 required: - url - html_url @@ -81373,8 +81818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -81527,7 +81972,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &574 + response-if-content-is-a-file: &576 summary: Response if content is a file value: type: file @@ -81664,7 +82109,7 @@ paths: - size - type - url - - &687 + - &689 title: Content File description: Content File type: object @@ -81882,7 +82327,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *574 + response-if-content-is-a-file: *576 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81951,7 +82396,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *575 + '302': *577 '304': *35 x-github: githubCloudOnly: false @@ -81974,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -82070,7 +82515,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &578 title: File Commit description: File Commit type: object @@ -82226,7 +82671,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: example-for-creating-a-file: value: @@ -82280,7 +82725,7 @@ paths: schema: oneOf: - *3 - - &615 + - &617 description: Repository rule violation was detected type: object properties: @@ -82301,7 +82746,7 @@ paths: items: type: object properties: - placeholder_id: &728 + placeholder_id: &730 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82333,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *448 + - *449 - name: path description: path parameter in: path @@ -82395,7 +82840,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -82450,8 +82895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *448 + - *449 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82575,22 +83020,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 - - *313 - - *314 - - *315 + - *448 + - *449 - *316 + - *317 + - *318 + - *319 - 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 - - *317 - - *577 - - *318 - - *319 + - *320 + - *579 + - *321 + - *322 - *104 - name: per_page description: The number of results per page (max 100). For more information, @@ -82609,7 +83054,7 @@ paths: application/json: schema: type: array - items: &580 + items: &582 type: object description: A Dependabot alert. properties: @@ -82659,7 +83104,7 @@ paths: - direct - transitive - - security_advisory: *578 + security_advisory: *580 security_vulnerability: *123 url: *124 html_url: *125 @@ -82690,7 +83135,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *579 + auto_dismissed_at: *581 required: - number - state @@ -82920,9 +83365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *446 - - *447 - - &581 + - *448 + - *449 + - &583 name: alert_number in: path description: |- @@ -82937,7 +83382,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -83050,9 +83495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *446 - - *447 - - *581 + - *448 + - *449 + - *583 requestBody: required: true content: @@ -83097,7 +83542,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: default: value: @@ -83226,8 +83671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -83245,7 +83690,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &586 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -83299,16 +83744,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *582 + schema: *584 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83328,15 +83773,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '200': description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -83362,9 +83807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 requestBody: required: true content: @@ -83392,7 +83837,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -83416,9 +83861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *276 + - *448 + - *449 + - *279 responses: '204': description: Response @@ -83440,8 +83885,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: - - *446 - - *447 + - *448 + - *449 - 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 @@ -83615,8 +84060,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -83876,8 +84321,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -83960,7 +84405,7 @@ paths: - version - url additionalProperties: false - metadata: &585 + metadata: &587 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83999,7 +84444,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *585 + metadata: *587 resolved: type: object description: A collection of resolved package dependencies. @@ -84013,7 +84458,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *585 + metadata: *587 relationship: type: string description: A notation of whether a dependency is requested @@ -84146,8 +84591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *448 + - *449 - name: sha description: The SHA recorded at creation time. in: query @@ -84188,9 +84633,9 @@ paths: application/json: schema: type: array - items: *586 + items: *588 examples: - default: *587 + default: *589 headers: Link: *41 x-github: @@ -84256,8 +84701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -84339,7 +84784,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *588 examples: simple-example: summary: Simple example @@ -84412,9 +84857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &588 + - *448 + - *449 + - &590 name: deployment_id description: deployment_id parameter in: path @@ -84426,7 +84871,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *588 examples: default: value: @@ -84491,9 +84936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 responses: '204': description: Response @@ -84515,9 +84960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 - *17 - *19 responses: @@ -84527,7 +84972,7 @@ paths: application/json: schema: type: array - items: &589 + items: &591 title: Deployment Status description: The status of a deployment. type: object @@ -84691,9 +85136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 requestBody: required: true content: @@ -84768,9 +85213,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84826,9 +85271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *446 - - *447 - - *588 + - *448 + - *449 + - *590 - name: status_id in: path required: true @@ -84839,9 +85284,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -84868,12 +85313,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *591 - - *592 + - *448 + - *449 - *593 - *594 + - *595 + - *596 - *17 - *19 responses: @@ -84883,9 +85328,9 @@ paths: application/json: schema: type: array - items: *595 + items: *597 examples: - default: *596 + default: *598 '404': *6 '403': *27 '500': *38 @@ -84909,8 +85354,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -84922,7 +85367,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *595 + schema: *597 examples: default: value: @@ -84978,8 +85423,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85038,12 +85483,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - *97 - *98 - *99 - - *597 + - *599 - *17 - *19 responses: @@ -85053,9 +85498,9 @@ paths: application/json: schema: type: array - items: *598 + items: *600 examples: - default: *599 + default: *601 '404': *6 '403': *27 '500': *38 @@ -85080,8 +85525,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85093,7 +85538,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *598 + schema: *600 examples: default: value: @@ -85151,8 +85596,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: alert_number in: path required: true @@ -85221,8 +85666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -85279,8 +85724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -85298,7 +85743,7 @@ paths: - 5 environments: type: array - items: &601 + items: &603 title: Environment description: Details of a deployment environment type: object @@ -85360,7 +85805,7 @@ paths: type: string examples: - wait_timer - wait_timer: &603 + wait_timer: &605 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -85402,11 +85847,11 @@ paths: items: type: object properties: - type: *600 + type: *602 reviewer: anyOf: - *4 - - *293 + - *296 required: - id - node_id @@ -85429,7 +85874,7 @@ paths: - id - node_id - type - deployment_branch_policy: &604 + deployment_branch_policy: &606 type: - object - 'null' @@ -85546,9 +85991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &602 + - *448 + - *449 + - &604 name: environment_name in: path required: true @@ -85561,9 +86006,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &605 + default: &607 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85647,9 +86092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: false content: @@ -85659,7 +86104,7 @@ paths: - object - 'null' properties: - wait_timer: *603 + wait_timer: *605 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -85678,14 +86123,14 @@ paths: items: type: object properties: - type: *600 + type: *602 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *604 + deployment_branch_policy: *606 additionalProperties: false examples: default: @@ -85705,9 +86150,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *605 + default: *607 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85731,9 +86176,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 responses: '204': description: Default response @@ -85758,9 +86203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 - *17 - *19 responses: @@ -85779,7 +86224,7 @@ paths: - 2 branch_policies: type: array - items: &606 + items: &608 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85840,9 +86285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: true content: @@ -85890,9 +86335,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - example-wildcard: &607 + example-wildcard: &609 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85934,10 +86379,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - &608 + - *448 + - *449 + - *604 + - &610 name: branch_policy_id in: path required: true @@ -85949,9 +86394,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85970,10 +86415,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - *608 + - *448 + - *449 + - *604 + - *610 requestBody: required: true content: @@ -86002,9 +86447,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86023,10 +86468,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *446 - - *447 - - *602 - - *608 + - *448 + - *449 + - *604 + - *610 responses: '204': description: Response @@ -86051,9 +86496,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 responses: '200': description: List of deployment protection rules @@ -86070,7 +86515,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &609 + items: &611 title: Deployment protection rule description: Deployment protection rule type: object @@ -86092,7 +86537,7 @@ paths: for the environment. examples: - true - app: &610 + app: &612 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86195,9 +86640,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 requestBody: content: application/json: @@ -86218,9 +86663,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *609 + schema: *611 examples: - default: &611 + default: &613 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86255,9 +86700,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: - - *602 - - *447 - - *446 + - *604 + - *449 + - *448 - *19 - *17 responses: @@ -86277,7 +86722,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *610 + items: *612 examples: default: value: @@ -86312,10 +86757,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: - - *446 - - *447 - - *602 - - &612 + - *448 + - *449 + - *604 + - &614 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86327,9 +86772,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *611 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86350,10 +86795,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: - - *602 - - *447 - - *446 - - *612 + - *604 + - *449 + - *448 + - *614 responses: '204': description: Response @@ -86379,9 +86824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 - *17 - *19 responses: @@ -86399,9 +86844,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *485 examples: - default: *484 + default: *486 headers: Link: *41 x-github: @@ -86426,17 +86871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86458,18 +86903,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86491,10 +86936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 requestBody: required: true content: @@ -86525,7 +86970,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -86551,10 +86996,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *602 - - *276 + - *448 + - *449 + - *604 + - *279 responses: '204': description: Default response @@ -86579,10 +87024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *446 - - *447 - - *602 - - *470 + - *448 + - *449 + - *604 + - *472 - *19 responses: '200': @@ -86599,9 +87044,9 @@ paths: type: integer variables: type: array - items: *487 + items: *489 examples: - default: *488 + default: *490 headers: Link: *41 x-github: @@ -86624,9 +87069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *446 - - *447 - - *602 + - *448 + - *449 + - *604 requestBody: required: true content: @@ -86653,7 +87098,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -86678,18 +87123,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *602 - - *279 + - *448 + - *449 + - *604 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86710,10 +87155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 - - *279 - - *602 + - *448 + - *449 + - *282 + - *604 requestBody: required: true content: @@ -86755,10 +87200,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 - - *279 - - *602 + - *448 + - *449 + - *282 + - *604 responses: '204': description: Response @@ -86780,8 +87225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -86791,7 +87236,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: 200-response: value: @@ -86849,8 +87294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *448 + - *449 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86872,7 +87317,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -87009,8 +87454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -87043,9 +87488,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 '400': *14 '422': *15 '403': *27 @@ -87066,8 +87511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87126,8 +87571,8 @@ paths: application/json: schema: oneOf: - - *241 - - *615 + - *244 + - *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87152,8 +87597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *448 + - *449 - name: file_sha in: path required: true @@ -87253,8 +87698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87363,7 +87808,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &618 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87590,15 +88035,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *446 - - *447 - - *563 + - *448 + - *449 + - *565 responses: '200': description: Response content: application/json: - schema: *616 + schema: *618 examples: default: value: @@ -87654,9 +88099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &617 + - *448 + - *449 + - &619 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. @@ -87673,7 +88118,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Git Reference description: Git references within a repository type: object @@ -87749,17 +88194,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 responses: '200': description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: &619 + default: &621 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87788,8 +88233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -87818,9 +88263,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87846,9 +88291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 requestBody: required: true content: @@ -87877,9 +88322,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: - default: *619 + default: *621 '422': *15 '409': *112 x-github: @@ -87897,9 +88342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *617 + - *448 + - *449 + - *619 responses: '204': description: Response @@ -87954,8 +88399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -88022,7 +88467,7 @@ paths: description: Response content: application/json: - schema: &621 + schema: &623 title: Git Tag description: Metadata for a Git tag type: object @@ -88078,7 +88523,7 @@ paths: - sha - type - url - verification: *620 + verification: *622 required: - sha - url @@ -88088,7 +88533,7 @@ paths: - tag - message examples: - default: &622 + default: &624 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88161,8 +88606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *448 + - *449 - name: tag_sha in: path required: true @@ -88173,9 +88618,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 '404': *6 '409': *112 x-github: @@ -88199,8 +88644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -88274,7 +88719,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &625 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88376,8 +88821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *448 + - *449 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88400,7 +88845,7 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: default-response: summary: Default response @@ -88459,8 +88904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -88470,7 +88915,7 @@ paths: application/json: schema: type: array - items: &624 + items: &626 title: Webhook description: Webhooks for repositories. type: object @@ -88533,7 +88978,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &868 + last_response: &872 title: Hook Response type: object properties: @@ -88610,8 +89055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -88664,9 +89109,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: &625 + default: &627 value: type: Repository id: 12345678 @@ -88714,17 +89159,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '200': description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '404': *6 x-github: githubCloudOnly: false @@ -88744,9 +89189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 requestBody: required: true content: @@ -88791,9 +89236,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *626 examples: - default: *625 + default: *627 '422': *15 '404': *6 x-github: @@ -88814,9 +89259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -88840,9 +89285,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '200': description: Response @@ -88869,9 +89314,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 requestBody: required: false content: @@ -88915,11 +89360,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *17 - - *326 + - *329 responses: '200': description: Response @@ -88927,9 +89372,9 @@ paths: application/json: schema: type: array - items: *327 + items: *330 examples: - default: *328 + default: *331 '400': *14 '422': *15 x-github: @@ -88948,18 +89393,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 '400': *14 '422': *15 x-github: @@ -88978,9 +89423,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: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 - *16 responses: '202': *37 @@ -89003,9 +89448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -89030,9 +89475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *446 - - *447 - - *325 + - *448 + - *449 + - *328 responses: '204': description: Response @@ -89055,8 +89500,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response if immutable releases are enabled @@ -89104,8 +89549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '409': *112 @@ -89125,8 +89570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '409': *112 @@ -89183,14 +89628,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &626 + schema: &628 title: Import description: A repository import from an external source. type: object @@ -89297,7 +89742,7 @@ paths: - html_url - authors_url examples: - default: &629 + default: &631 value: vcs: subversion use_lfs: true @@ -89313,7 +89758,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': &627 + '503': &629 description: Unavailable due to service under maintenance. content: application/json: @@ -89342,8 +89787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -89391,7 +89836,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: default: value: @@ -89416,7 +89861,7 @@ paths: type: string '422': *15 '404': *6 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89444,8 +89889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -89497,7 +89942,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: example-1: summary: Example 1 @@ -89545,7 +89990,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': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89568,12 +90013,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89599,9 +90044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *446 - - *447 - - &812 + - *448 + - *449 + - &814 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89615,7 +90060,7 @@ paths: application/json: schema: type: array - items: &628 + items: &630 title: Porter Author description: Porter Author type: object @@ -89669,7 +90114,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': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89694,8 +90139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *446 - - *447 + - *448 + - *449 - name: author_id in: path required: true @@ -89725,7 +90170,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -89738,7 +90183,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89762,8 +90207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89804,7 +90249,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89832,8 +90277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -89860,11 +90305,11 @@ paths: description: Response content: application/json: - schema: *626 + schema: *628 examples: - default: *629 + default: *631 '422': *15 - '503': *627 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89887,8 +90332,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89896,8 +90341,8 @@ paths: application/json: schema: *20 examples: - default: *630 - '301': *460 + default: *632 + '301': *462 '404': *6 x-github: githubCloudOnly: false @@ -89917,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -89926,12 +90371,12 @@ paths: application/json: schema: anyOf: - - *343 + - *346 - type: object properties: {} additionalProperties: false examples: - default: &632 + default: &634 value: limit: collaborators_only origin: repository @@ -89956,13 +90401,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: application/json: - schema: *631 + schema: *633 examples: default: summary: Example request body @@ -89974,9 +90419,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *632 + default: *634 '409': description: Response x-github: @@ -89998,8 +90443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -90022,8 +90467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -90033,9 +90478,9 @@ paths: application/json: schema: type: array - items: *633 + items: *635 examples: - default: &805 + default: &807 value: - id: 1 repository: @@ -90166,9 +90611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *446 - - *447 - - *347 + - *448 + - *449 + - *350 requestBody: required: false content: @@ -90197,7 +90642,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: default: value: @@ -90328,9 +90773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *446 - - *447 - - *347 + - *448 + - *449 + - *350 responses: '204': description: Response @@ -90361,8 +90806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *448 + - *449 - 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 @@ -90410,7 +90855,7 @@ paths: required: false schema: type: string - - *351 + - *354 - name: sort description: What to sort results by. in: query @@ -90423,7 +90868,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -90433,9 +90878,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: &640 + default: &642 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90583,7 +91028,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *460 + '301': *462 '422': *15 '404': *6 x-github: @@ -90612,8 +91057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -90703,9 +91148,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: &637 + default: &639 value: id: 1 node_id: MDU6SXNzdWUx @@ -90861,7 +91306,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *457 + '410': *459 x-github: triggersNotification: true githubCloudOnly: false @@ -90889,9 +91334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 - - *224 + - *448 + - *449 + - *227 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -90901,7 +91346,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -90911,9 +91356,9 @@ paths: application/json: schema: type: array - items: *634 + items: *636 examples: - default: &639 + default: &641 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90971,17 +91416,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &635 + default: &637 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91035,9 +91480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -91059,9 +91504,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 '422': *15 x-github: githubCloudOnly: false @@ -91079,9 +91524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -91101,9 +91546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -91129,9 +91574,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -91152,9 +91597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -91186,16 +91631,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -91217,10 +91662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -91240,8 +91685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -91251,7 +91696,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Issue Event description: Issue Event type: object @@ -91298,7 +91743,7 @@ paths: issue: anyOf: - type: 'null' - - *215 + - *218 label: title: Issue Event Label description: Issue Event Label @@ -91331,7 +91776,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *293 + requested_team: *296 dismissed_review: title: Issue Event Dismissed Review type: object @@ -91398,7 +91843,7 @@ paths: required: - from - to - author_association: *202 + author_association: *205 lock_reason: type: - string @@ -91590,8 +92035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *448 + - *449 - name: event_id in: path required: true @@ -91602,7 +92047,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *638 examples: default: value: @@ -91795,7 +92240,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *459 '403': *27 x-github: githubCloudOnly: false @@ -91829,9 +92274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &638 + - *448 + - *449 + - &640 name: issue_number description: The number that identifies the issue. in: path @@ -91843,12 +92288,12 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '404': *6 - '410': *457 + '410': *459 '304': *35 x-github: githubCloudOnly: false @@ -91873,9 +92318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -91994,15 +92439,15 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 '422': *15 '503': *184 '403': *27 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92020,9 +92465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -92048,9 +92493,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92066,9 +92511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: content: application/json: @@ -92093,9 +92538,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92117,9 +92562,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: assignee in: path required: true @@ -92159,10 +92604,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *638 - - *205 + - *448 + - *449 + - *640 + - *208 - *17 - *19 responses: @@ -92172,13 +92617,13 @@ paths: application/json: schema: type: array - items: *634 + items: *636 examples: - default: *639 + default: *641 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92207,9 +92652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -92231,16 +92676,16 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *635 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -92268,9 +92713,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92280,14 +92725,14 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92315,9 +92760,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -92339,17 +92784,17 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *462 '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -92380,9 +92825,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92394,15 +92839,15 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 x-github: triggersNotification: true githubCloudOnly: false @@ -92428,9 +92873,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: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92440,14 +92885,14 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92464,9 +92909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -92480,7 +92925,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &643 + - &645 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92529,7 +92974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &646 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92657,7 +93102,7 @@ paths: - performed_via_github_app - assignee - assigner - - &645 + - &647 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92703,7 +93148,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &648 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92749,7 +93194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &649 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92798,7 +93243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &650 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92827,7 +93272,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *293 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -92840,7 +93285,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &651 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92869,7 +93314,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *293 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -92882,7 +93327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &652 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92938,7 +93383,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &653 title: Locked Issue Event description: Locked Issue Event type: object @@ -92983,7 +93428,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &654 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93044,7 +93489,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &655 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93105,7 +93550,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &656 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93166,7 +93611,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &657 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93259,7 +93704,7 @@ paths: color: red headers: Link: *41 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93276,9 +93721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -93288,7 +93733,7 @@ paths: application/json: schema: type: array - items: &641 + items: &643 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -93343,7 +93788,7 @@ paths: - color - default examples: - default: &642 + default: &644 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93361,9 +93806,9 @@ paths: default: false headers: Link: *41 - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93380,9 +93825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93441,12 +93886,12 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 - '301': *460 + default: *644 + '301': *462 '404': *6 - '410': *457 + '410': *459 '422': *15 x-github: githubCloudOnly: false @@ -93463,9 +93908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93525,12 +93970,12 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 - '301': *460 + default: *644 + '301': *462 '404': *6 - '410': *457 + '410': *459 '422': *15 x-github: githubCloudOnly: false @@ -93547,15 +93992,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '204': description: Response - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93574,9 +94019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - name: name in: path required: true @@ -93589,7 +94034,7 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: default: value: @@ -93600,9 +94045,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93622,9 +94067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: false content: @@ -93653,7 +94098,7 @@ paths: '204': description: Response '403': *27 - '410': *457 + '410': *459 '404': *6 '422': *15 x-github: @@ -93671,9 +94116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '204': description: Response @@ -93703,20 +94148,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 responses: '200': description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 - '301': *460 + default: *639 + '301': *462 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93733,9 +94178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - 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. @@ -93761,13 +94206,13 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93785,9 +94230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -93819,16 +94264,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -93850,10 +94295,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *446 - - *447 - - *638 - - *438 + - *448 + - *449 + - *640 + - *440 responses: '204': description: Response @@ -93882,9 +94327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -93906,9 +94351,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93941,9 +94386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -93953,13 +94398,13 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *640 + default: *642 headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93987,9 +94432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -94016,16 +94461,16 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *457 + '410': *459 '422': *15 '404': *6 x-github: @@ -94045,9 +94490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 requestBody: required: true content: @@ -94078,9 +94523,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *218 examples: - default: *637 + default: *639 '403': *27 '404': *6 '422': *7 @@ -94102,9 +94547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *446 - - *447 - - *638 + - *448 + - *449 + - *640 - *17 - *19 responses: @@ -94119,8 +94564,6 @@ paths: description: Timeline Event type: object anyOf: - - *643 - - *644 - *645 - *646 - *647 @@ -94132,6 +94575,8 @@ paths: - *653 - *654 - *655 + - *656 + - *657 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94179,12 +94624,12 @@ paths: issue_url: type: string format: uri - author_association: *202 + author_association: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - event - actor @@ -94215,7 +94660,7 @@ paths: properties: type: type: string - issue: *215 + issue: *218 required: - event - created_at @@ -94437,7 +94882,7 @@ paths: type: string body_text: type: string - author_association: *202 + author_association: *205 required: - event - id @@ -94460,7 +94905,7 @@ paths: type: string comments: type: array - items: &676 + items: &678 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94565,7 +95010,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *202 + author_association: *205 _links: type: object properties: @@ -94660,7 +95105,7 @@ paths: enum: - line - file - reactions: *203 + reactions: *206 body_html: type: string examples: @@ -94698,7 +95143,7 @@ paths: type: string comments: type: array - items: *561 + items: *563 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94973,7 +95418,7 @@ paths: headers: Link: *41 '404': *6 - '410': *457 + '410': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94990,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -95001,7 +95446,7 @@ paths: application/json: schema: type: array - items: &656 + items: &658 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95069,8 +95514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95106,9 +95551,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: - default: &657 + default: &659 value: id: 1 key: ssh-rsa AAA... @@ -95142,9 +95587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *446 - - *447 - - &658 + - *448 + - *449 + - &660 name: key_id description: The unique identifier of the key. in: path @@ -95156,9 +95601,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *658 examples: - default: *657 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -95176,9 +95621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *446 - - *447 - - *658 + - *448 + - *449 + - *660 responses: '204': description: Response @@ -95198,8 +95643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -95209,9 +95654,9 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 + default: *644 headers: Link: *41 '404': *6 @@ -95232,8 +95677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95269,9 +95714,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: &659 + default: &661 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95303,8 +95748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95315,9 +95760,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *659 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -95334,8 +95779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95374,7 +95819,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: default: value: @@ -95400,8 +95845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *448 + - *449 - name: name in: path required: true @@ -95427,8 +95872,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -95464,8 +95909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '202': *37 '403': @@ -95493,8 +95938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -95520,9 +95965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *446 - - *447 - - *539 + - *448 + - *449 + - *541 responses: '200': description: Response @@ -95588,7 +96033,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 required: - _links - git_url @@ -95669,8 +96114,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95735,8 +96180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95770,9 +96215,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *562 + schema: *564 examples: - default: *660 + default: *662 '204': description: Response when already merged '404': @@ -95797,8 +96242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95839,7 +96284,7 @@ paths: application/json: schema: type: array - items: *385 + items: *387 examples: default: value: @@ -95895,8 +96340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -95936,9 +96381,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &661 + default: &663 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95997,9 +96442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &662 + - *448 + - *449 + - &664 name: milestone_number description: The number that identifies the milestone. in: path @@ -96011,9 +96456,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *661 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -96030,9 +96475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 requestBody: required: false content: @@ -96070,9 +96515,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *661 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96088,9 +96533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 responses: '204': description: Response @@ -96111,9 +96556,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: - - *446 - - *447 - - *662 + - *448 + - *449 + - *664 - *17 - *19 responses: @@ -96123,9 +96568,9 @@ paths: application/json: schema: type: array - items: *641 + items: *643 examples: - default: *642 + default: *644 headers: Link: *41 x-github: @@ -96144,12 +96589,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: - - *446 - - *447 - - *663 - - *664 - - *205 + - *448 + - *449 - *665 + - *666 + - *208 + - *667 - *17 - *19 responses: @@ -96159,9 +96604,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *666 + default: *668 headers: Link: *41 x-github: @@ -96185,8 +96630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -96244,14 +96689,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: &667 + schema: &669 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96395,7 +96840,7 @@ paths: - custom_404 - public examples: - default: &668 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96436,8 +96881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -96492,9 +96937,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 '422': *15 '409': *112 x-github: @@ -96517,8 +96962,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -96626,8 +97071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -96653,8 +97098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -96664,7 +97109,7 @@ paths: application/json: schema: type: array - items: &669 + items: &671 title: Page Build description: Page Build type: object @@ -96756,8 +97201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *446 - - *447 + - *448 + - *449 responses: '201': description: Response @@ -96804,16 +97249,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: &670 + default: &672 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96861,8 +97306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *448 + - *449 - name: build_id in: path required: true @@ -96873,9 +97318,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96895,8 +97340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97004,9 +97449,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: - - *446 - - *447 - - &671 + - *448 + - *449 + - &673 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97064,9 +97509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *671 + - *448 + - *449 + - *673 responses: '204': *144 '404': *6 @@ -97093,8 +97538,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -97362,7 +97807,7 @@ paths: description: Empty response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -97389,8 +97834,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Private vulnerability reporting status @@ -97427,8 +97872,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: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '422': *14 @@ -97449,8 +97894,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: - - *446 - - *447 + - *448 + - *449 responses: '204': *144 '422': *14 @@ -97473,8 +97918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: Indicates the state of the projects to return. in: query @@ -97495,7 +97940,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -97535,7 +97980,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -97558,8 +98003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97585,13 +98030,13 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *456 + default: *458 '401': *23 '403': *27 '404': *6 - '410': *457 + '410': *459 '422': *7 x-github: githubCloudOnly: false @@ -97614,8 +98059,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -97625,7 +98070,7 @@ paths: type: array items: *145 examples: - default: *672 + default: *674 '403': *27 '404': *6 x-github: @@ -97647,8 +98092,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97664,7 +98109,7 @@ paths: required: - properties examples: - default: *673 + default: *675 responses: '204': description: No Content when custom property values are successfully created @@ -97702,8 +98147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *448 + - *449 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97763,9 +98208,9 @@ paths: application/json: schema: type: array - items: *566 + items: *568 examples: - default: *674 + default: *676 headers: Link: *41 '304': *35 @@ -97797,8 +98242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -97865,7 +98310,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &680 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97994,7 +98439,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 active_lock_reason: type: - string @@ -98049,7 +98494,7 @@ paths: type: - array - 'null' - items: *361 + items: *364 head: type: object properties: @@ -98087,14 +98532,14 @@ paths: _links: type: object properties: - comments: *386 - commits: *386 - statuses: *386 - html: *386 - issue: *386 - review_comments: *386 - review_comment: *386 - self: *386 + comments: *388 + commits: *388 + statuses: *388 + html: *388 + issue: *388 + review_comments: *388 + review_comment: *388 + self: *388 required: - comments - commits @@ -98104,8 +98549,8 @@ paths: - review_comments - review_comment - self - author_association: *202 - auto_merge: *675 + author_association: *205 + auto_merge: *677 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98207,7 +98652,7 @@ paths: - merged_by - review_comments examples: - default: &679 + default: &681 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98734,8 +99179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *446 - - *447 + - *448 + - *449 - name: sort in: query required: false @@ -98754,7 +99199,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -98764,9 +99209,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: &681 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98843,17 +99288,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '200': description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: &677 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98928,9 +99373,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -98952,9 +99397,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: - default: *677 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98970,9 +99415,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 responses: '204': description: Response @@ -98993,9 +99438,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 - 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. @@ -99021,9 +99466,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -99044,9 +99489,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: - - *446 - - *447 - - *214 + - *448 + - *449 + - *217 requestBody: required: true content: @@ -99078,16 +99523,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -99109,10 +99554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 - - *214 - - *438 + - *448 + - *449 + - *217 + - *440 responses: '204': description: Response @@ -99155,9 +99600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *446 - - *447 - - &680 + - *448 + - *449 + - &682 name: pull_number description: The number that identifies the pull request. in: path @@ -99170,9 +99615,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '304': *35 '404': *6 '406': @@ -99207,9 +99652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -99251,9 +99696,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '422': *15 '403': *27 x-github: @@ -99275,9 +99720,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -99338,17 +99783,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -99378,10 +99823,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: - - *446 - - *447 - - *680 - - *224 + - *448 + - *449 + - *682 + - *227 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -99391,7 +99836,7 @@ paths: enum: - asc - desc - - *205 + - *208 - *17 - *19 responses: @@ -99401,9 +99846,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *681 + default: *683 headers: Link: *41 x-github: @@ -99436,9 +99881,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -99544,7 +99989,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: example-for-a-multi-line-comment: value: @@ -99632,10 +100077,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: - - *446 - - *447 - - *680 - - *214 + - *448 + - *449 + - *682 + - *217 requestBody: required: true content: @@ -99657,7 +100102,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: default: value: @@ -99743,9 +100188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -99755,9 +100200,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *682 + default: *684 headers: Link: *41 x-github: @@ -99787,9 +100232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -99799,7 +100244,7 @@ paths: application/json: schema: type: array - items: *573 + items: *575 examples: default: value: @@ -99837,9 +100282,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 responses: '204': description: Response if pull request has been merged @@ -99862,9 +100307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -99976,9 +100421,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 responses: '200': description: Response @@ -99994,7 +100439,7 @@ paths: items: *4 teams: type: array - items: *293 + items: *296 required: - users - teams @@ -100053,9 +100498,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -100092,7 +100537,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -100628,9 +101073,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: true content: @@ -100664,7 +101109,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default: value: @@ -101169,9 +101614,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 - *17 - *19 responses: @@ -101181,7 +101626,7 @@ paths: application/json: schema: type: array - items: &683 + items: &685 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101255,7 +101700,7 @@ paths: type: string body_text: type: string - author_association: *202 + author_association: *205 required: - id - node_id @@ -101337,9 +101782,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: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -101429,9 +101874,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: &685 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101494,10 +101939,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: - - *446 - - *447 - - *680 - - &684 + - *448 + - *449 + - *682 + - &686 name: review_id description: The unique identifier of the review. in: path @@ -101509,9 +101954,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: &686 + default: &688 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101570,10 +102015,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -101596,7 +102041,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -101658,18 +102103,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 responses: '200': description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: *685 + default: *687 '422': *7 '404': *6 x-github: @@ -101696,10 +102141,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 - *17 - *19 responses: @@ -101793,13 +102238,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *202 + author_association: *205 _links: type: object properties: - self: *386 - html: *386 - pull_request: *386 + self: *388 + html: *388 + pull_request: *388 required: - self - html @@ -101808,7 +102253,7 @@ paths: type: string body_html: type: string - reactions: *203 + reactions: *206 side: description: The side of the first line of the range for a multi-line comment. @@ -101957,10 +102402,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -101989,7 +102434,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: default: value: @@ -102052,10 +102497,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: - - *446 - - *447 - - *680 - - *684 + - *448 + - *449 + - *682 + - *686 requestBody: required: true content: @@ -102090,9 +102535,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *685 examples: - default: *686 + default: *688 '404': *6 '422': *7 '403': *27 @@ -102114,9 +102559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *446 - - *447 - - *680 + - *448 + - *449 + - *682 requestBody: required: false content: @@ -102180,8 +102625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *448 + - *449 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102194,9 +102639,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: &688 + default: &690 value: type: file encoding: base64 @@ -102238,8 +102683,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: - - *446 - - *447 + - *448 + - *449 - name: dir description: The alternate path to look for a README file in: path @@ -102259,9 +102704,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *689 examples: - default: *688 + default: *690 '404': *6 '422': *15 x-github: @@ -102283,8 +102728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -102294,7 +102739,7 @@ paths: application/json: schema: type: array - items: &689 + items: &691 title: Release description: A release. type: object @@ -102376,7 +102821,7 @@ paths: author: *4 assets: type: array - items: &690 + items: &692 title: Release Asset description: Data related to a release. type: object @@ -102451,7 +102896,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *203 + reactions: *206 required: - assets_url - upload_url @@ -102563,8 +103008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -102640,9 +103085,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: &693 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102747,9 +103192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *446 - - *447 - - &691 + - *448 + - *449 + - &693 name: asset_id description: The unique identifier of the asset. in: path @@ -102761,9 +103206,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: &692 + default: &694 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 @@ -102798,7 +103243,7 @@ paths: type: User site_admin: false '404': *6 - '302': *575 + '302': *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102814,9 +103259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *446 - - *447 - - *691 + - *448 + - *449 + - *693 requestBody: required: false content: @@ -102845,9 +103290,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *692 examples: - default: *692 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102863,9 +103308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *446 - - *447 - - *691 + - *448 + - *449 + - *693 responses: '204': description: Response @@ -102889,8 +103334,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -102976,16 +103421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103002,8 +103447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *446 - - *447 + - *448 + - *449 - name: tag description: tag parameter in: path @@ -103016,9 +103461,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 '404': *6 x-github: githubCloudOnly: false @@ -103040,9 +103485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &694 + - *448 + - *449 + - &696 name: release_id description: The unique identifier of the release. in: path @@ -103056,9 +103501,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: *689 + schema: *691 examples: - default: *693 + default: *695 '401': description: Unauthorized x-github: @@ -103076,9 +103521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 requestBody: required: false content: @@ -103142,9 +103587,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *691 examples: - default: *693 + default: *695 '404': description: Not Found if the discussion category name is invalid content: @@ -103165,9 +103610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 responses: '204': description: Response @@ -103187,9 +103632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - *17 - *19 responses: @@ -103199,7 +103644,7 @@ paths: application/json: schema: type: array - items: *690 + items: *692 examples: default: value: @@ -103281,9 +103726,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: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - name: name in: query required: true @@ -103309,7 +103754,7 @@ paths: description: Response for successful upload content: application/json: - schema: *690 + schema: *692 examples: response-for-successful-upload: value: @@ -103364,9 +103809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 - 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. @@ -103390,9 +103835,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 '404': *6 @@ -103413,9 +103858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *446 - - *447 - - *694 + - *448 + - *449 + - *696 requestBody: required: true content: @@ -103445,16 +103890,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '201': description: Reaction created content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '422': *15 x-github: githubCloudOnly: false @@ -103476,10 +103921,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *446 - - *447 - - *694 - - *438 + - *448 + - *449 + - *696 + - *440 responses: '204': description: Response @@ -103503,9 +103948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *446 - - *447 - - *505 + - *448 + - *449 + - *507 - *17 - *19 responses: @@ -103522,7 +103967,7 @@ paths: oneOf: - allOf: - *159 - - &695 + - &697 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103543,67 +103988,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *695 + - *697 - allOf: - *161 - - *695 + - *697 - allOf: - *162 - - *695 + - *697 - allOf: - - *696 - - *695 + - *698 + - *697 - allOf: - *163 - - *695 + - *697 - allOf: - *164 - - *695 + - *697 - allOf: - *165 - - *695 + - *697 - allOf: - *166 - - *695 + - *697 - allOf: - *167 - - *695 + - *697 - allOf: - *168 - - *695 + - *697 - allOf: - *169 - - *695 + - *697 - allOf: - *170 - - *695 + - *697 - allOf: - *171 - - *695 + - *697 - allOf: - *172 - - *695 + - *697 - allOf: - *173 - - *695 + - *697 - allOf: - *174 - - *695 + - *697 - allOf: - *175 - - *695 + - *697 - allOf: - *176 - - *695 + - *697 - allOf: - *177 - - *695 + - *697 - allOf: - *178 - - *695 + - *697 - allOf: + - *699 - *697 - - *695 examples: default: value: @@ -103642,8 +104087,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - name: includes_parents @@ -103654,7 +104099,7 @@ paths: schema: type: boolean default: true - - *698 + - *700 responses: '200': description: Response @@ -103709,8 +104154,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 requestBody: description: Request body required: true @@ -103739,7 +104184,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *699 + items: *701 required: - name - enforcement @@ -103772,7 +104217,7 @@ paths: application/json: schema: *179 examples: - default: &708 + default: &710 value: id: 42 name: super cool ruleset @@ -103819,12 +104264,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *446 - - *447 - - *700 - - *99 - - *701 + - *448 + - *449 - *702 + - *99 + - *703 + - *704 - *17 - *19 responses: @@ -103832,9 +104277,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *705 examples: - default: *704 + default: *706 '404': *6 '500': *38 x-github: @@ -103855,17 +104300,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *446 - - *447 - - *705 + - *448 + - *449 + - *707 responses: '200': description: Response content: application/json: - schema: *706 + schema: *708 examples: - default: *707 + default: *709 '404': *6 '500': *38 x-github: @@ -103893,8 +104338,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103916,7 +104361,7 @@ paths: application/json: schema: *179 examples: - default: *708 + default: *710 '404': *6 '500': *38 put: @@ -103934,8 +104379,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103969,7 +104414,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *699 + items: *701 examples: default: value: @@ -103999,7 +104444,7 @@ paths: application/json: schema: *179 examples: - default: *708 + default: *710 '404': *6 '500': *38 delete: @@ -104017,8 +104462,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104041,8 +104486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 - name: ruleset_id @@ -104060,7 +104505,7 @@ paths: type: array items: *183 examples: - default: *399 + default: *401 '404': *6 '500': *38 x-github: @@ -104079,8 +104524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *448 + - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104098,7 +104543,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -104153,21 +104598,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: - - *446 - - *447 - - *401 - - *402 + - *448 + - *449 - *403 - *404 + - *405 + - *406 - *104 - *19 - *17 - - *709 - - *710 - - *405 - - *406 + - *711 + - *712 - *407 - *408 + - *409 + - *410 responses: '200': description: Response @@ -104175,7 +104620,7 @@ paths: application/json: schema: type: array - items: &714 + items: &716 type: object properties: number: *119 @@ -104191,8 +104636,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *711 - resolution: *712 + state: *713 + resolution: *714 resolved_at: type: - string @@ -104286,7 +104731,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *713 + - *715 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104431,16 +104876,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: - - *446 - - *447 - - *533 - - *408 + - *448 + - *449 + - *535 + - *410 responses: '200': description: Response content: application/json: - schema: *714 + schema: *716 examples: default: value: @@ -104492,9 +104937,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 requestBody: required: true content: @@ -104502,8 +104947,8 @@ paths: schema: type: object properties: - state: *711 - resolution: *712 + state: *713 + resolution: *714 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104522,7 +104967,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *716 examples: default: value: @@ -104597,9 +105042,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: - - *446 - - *447 - - *533 + - *448 + - *449 + - *535 - *19 - *17 responses: @@ -104610,7 +105055,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &888 + items: &892 type: object properties: type: @@ -104637,8 +105082,6 @@ paths: - commit details: oneOf: - - *715 - - *716 - *717 - *718 - *719 @@ -104650,6 +105093,8 @@ paths: - *725 - *726 - *727 + - *728 + - *729 examples: default: value: @@ -104735,8 +105180,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -104744,14 +105189,14 @@ paths: schema: type: object properties: - reason: &729 + reason: &731 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *728 + placeholder_id: *730 required: - reason - placeholder_id @@ -104768,7 +105213,7 @@ paths: schema: type: object properties: - reason: *729 + reason: *731 expire_at: type: - string @@ -104815,8 +105260,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: - - *446 - - *447 + - *448 + - *449 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -104831,7 +105276,7 @@ paths: properties: incremental_scans: type: array - items: &730 + items: &732 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104859,15 +105304,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *730 + items: *732 backfill_scans: type: array - items: *730 + items: *732 custom_pattern_backfill_scans: type: array items: allOf: - - *730 + - *732 - type: object properties: pattern_name: @@ -104937,8 +105382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *446 - - *447 + - *448 + - *449 - *104 - name: sort description: The property to sort the results by. @@ -104982,9 +105427,9 @@ paths: application/json: schema: type: array - items: *731 + items: *733 examples: - default: *732 + default: *734 '400': *14 '404': *6 x-github: @@ -105007,8 +105452,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -105088,7 +105533,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 required: - login - type @@ -105178,9 +105623,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: &734 + default: &736 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105413,8 +105858,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -105527,7 +105972,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: default: value: @@ -105674,17 +106119,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '200': description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: *734 + default: *736 '403': *27 '404': *6 x-github: @@ -105708,9 +106153,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 requestBody: required: true content: @@ -105790,7 +106235,7 @@ paths: login: type: string description: The username of the user credited. - type: *413 + type: *415 required: - login - type @@ -105881,17 +106326,17 @@ paths: description: Response content: application/json: - schema: *731 + schema: *733 examples: - default: *734 - add_credit: *734 + default: *736 + add_credit: *736 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *241 + schema: *244 examples: invalid_state_transition: value: @@ -105922,9 +106367,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '202': *37 '400': *14 @@ -105951,17 +106396,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: - - *446 - - *447 - - *733 + - *448 + - *449 + - *735 responses: '202': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 '400': *14 '422': *15 '403': *27 @@ -105987,8 +106432,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106084,8 +106529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106094,7 +106539,7 @@ paths: application/json: schema: type: array - items: &735 + items: &737 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106127,8 +106572,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106206,8 +106651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106301,8 +106746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106456,8 +106901,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106467,7 +106912,7 @@ paths: application/json: schema: type: array - items: *735 + items: *737 examples: default: value: @@ -106500,8 +106945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *448 + - *449 - name: sha in: path required: true @@ -106557,7 +107002,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *738 examples: default: value: @@ -106611,8 +107056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106624,7 +107069,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -106644,14 +107089,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &737 + schema: &739 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106724,8 +107169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: false content: @@ -106751,7 +107196,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *739 examples: default: value: @@ -106778,8 +107223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -106799,8 +107244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -106882,8 +107327,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: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -106891,7 +107336,7 @@ paths: application/json: schema: type: array - items: &738 + items: &740 title: Tag protection description: Tag protection type: object @@ -106948,8 +107393,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: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -106972,7 +107417,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *740 examples: default: value: @@ -107003,8 +107448,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: - - *446 - - *447 + - *448 + - *449 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107041,8 +107486,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *446 - - *447 + - *448 + - *449 - name: ref in: path required: true @@ -107078,8 +107523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *448 + - *449 - *17 - *19 responses: @@ -107089,9 +107534,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *362 + default: *365 headers: Link: *41 '404': *6 @@ -107111,8 +107556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *448 + - *449 - *19 - *17 responses: @@ -107120,7 +107565,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &741 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107132,7 +107577,7 @@ paths: required: - names examples: - default: &740 + default: &742 value: names: - octocat @@ -107155,8 +107600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -107187,9 +107632,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *741 examples: - default: *740 + default: *742 '404': *6 '422': *7 x-github: @@ -107210,9 +107655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &741 + - *448 + - *449 + - &743 name: per description: The time frame to display results for. in: query @@ -107243,7 +107688,7 @@ paths: - 128 clones: type: array - items: &742 + items: &744 title: Traffic type: object properties: @@ -107330,8 +107775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -107425,8 +107870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *448 + - *449 responses: '200': description: Response @@ -107489,9 +107934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *741 + - *448 + - *449 + - *743 responses: '200': description: Response @@ -107512,7 +107957,7 @@ paths: - 3782 views: type: array - items: *742 + items: *744 required: - uniques - count @@ -107589,8 +108034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *448 + - *449 requestBody: required: true content: @@ -107626,7 +108071,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: default: value: @@ -107864,8 +108309,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107888,8 +108333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -107911,8 +108356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -107938,8 +108383,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *446 - - *447 + - *448 + - *449 - name: ref in: path required: true @@ -108031,9 +108476,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108074,7 +108519,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -108184,7 +108629,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &750 + - &752 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108194,7 +108639,7 @@ paths: type: string examples: - members - - &755 + - &757 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108206,7 +108651,7 @@ paths: format: int32 examples: - 1 - - &756 + - &758 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108250,7 +108695,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &745 + items: &747 allOf: - type: object required: @@ -108332,7 +108777,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: &757 + meta: &759 type: object description: The metadata associated with the creation/updates to the user. @@ -108397,30 +108842,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &746 + '400': &748 description: Bad request content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '401': *744 - '403': &747 + schema: *745 + '401': *746 + '403': &749 description: Permission denied - '429': &748 + '429': &750 description: Too many requests content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '500': &749 + schema: *745 + '500': &751 description: Internal server error content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 + schema: *745 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108444,7 +108889,7 @@ paths: required: true content: application/json: - schema: &753 + schema: &755 type: object required: - schemas @@ -108508,9 +108953,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *745 + schema: *747 examples: - group: &751 + group: &753 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108529,13 +108974,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': *746 - '401': *744 - '403': *747 - '409': &754 + '400': *748 + '401': *746 + '403': *749 + '409': &756 description: Duplicate record detected - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108552,7 +108997,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: - - &752 + - &754 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -108561,22 +109006,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *750 + - *752 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *745 + schema: *747 examples: - default: *751 - '400': *746 - '401': *744 - '403': *747 + default: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108595,13 +109040,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: - - *752 + - *754 - *39 requestBody: required: true content: application/json: - schema: *753 + schema: *755 examples: group: summary: Group @@ -108627,17 +109072,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *745 + schema: *747 examples: - group: *751 - groupWithMembers: *751 - '400': *746 - '401': *744 - '403': *747 + group: *753 + groupWithMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108661,13 +109106,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: - - *752 + - *754 - *39 requestBody: required: true content: application/json: - schema: &764 + schema: &766 type: object required: - Operations @@ -108727,17 +109172,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *745 + schema: *747 examples: - updateGroup: *751 - addMembers: *751 - '400': *746 - '401': *744 - '403': *747 + updateGroup: *753 + addMembers: *753 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108753,17 +109198,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: - - *752 + - *754 - *39 responses: '204': description: Group was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108797,8 +109242,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *755 - - *756 + - *757 + - *758 - *39 responses: '200': @@ -108832,7 +109277,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &759 + items: &761 allOf: - type: object required: @@ -108924,7 +109369,7 @@ paths: address. examples: - true - roles: &758 + roles: &760 type: array description: The roles assigned to the user. items: @@ -108983,7 +109428,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *757 + meta: *759 startIndex: type: integer description: A starting index for the returned page @@ -109022,11 +109467,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *746 - '401': *744 - '403': *747 - '429': *748 - '500': *749 + '400': *748 + '401': *746 + '403': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109050,7 +109495,7 @@ paths: required: true content: application/json: - schema: &762 + schema: &764 type: object required: - schemas @@ -109143,9 +109588,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *758 + roles: *760 examples: - user: &763 + user: &765 summary: User value: schemas: @@ -109192,9 +109637,9 @@ paths: description: User has been created content: application/scim+json: - schema: *759 + schema: *761 examples: - user: &760 + user: &762 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109220,13 +109665,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: *760 - '400': *746 - '401': *744 - '403': *747 - '409': *754 - '429': *748 - '500': *749 + enterpriseOwner: *762 + '400': *748 + '401': *746 + '403': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109243,7 +109688,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: - - &761 + - &763 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -109256,15 +109701,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *759 + schema: *761 examples: - default: *760 - '400': *746 - '401': *744 - '403': *747 + default: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109286,30 +109731,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: - - *761 + - *763 - *39 requestBody: required: true content: application/json: - schema: *762 + schema: *764 examples: - user: *763 + user: *765 responses: '200': description: User was updated content: application/scim+json: - schema: *759 + schema: *761 examples: - user: *760 - '400': *746 - '401': *744 - '403': *747 + user: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109344,13 +109789,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: - - *761 + - *763 - *39 requestBody: required: true content: application/json: - schema: *764 + schema: *766 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -109390,18 +109835,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *759 + schema: *761 examples: - userMultiValuedProperties: *760 - userSingleValuedProperties: *760 - disableUser: *760 - '400': *746 - '401': *744 - '403': *747 + userMultiValuedProperties: *762 + userSingleValuedProperties: *762 + disableUser: *762 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *756 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109421,17 +109866,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: - - *761 + - *763 - *39 responses: '204': description: User was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *748 + '401': *746 + '403': *749 '404': *6 - '429': *748 - '500': *749 + '429': *750 + '500': *751 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109522,7 +109967,7 @@ paths: - 1 Resources: type: array - items: &765 + items: &767 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -109769,22 +110214,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &766 + '404': &768 description: Resource not found content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '403': &767 + schema: *745 + '403': &769 description: Forbidden content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '400': *746 - '429': *748 + schema: *745 + '400': *748 + '429': *750 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -109810,9 +110255,9 @@ paths: description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: &768 + default: &770 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109835,17 +110280,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *766 - '403': *767 - '500': *749 + '404': *768 + '403': *769 + '500': *751 '409': description: Conflict content: application/json: - schema: *743 + schema: *745 application/scim+json: - schema: *743 - '400': *746 + schema: *745 + '400': *748 requestBody: required: true content: @@ -109945,17 +110390,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 - '404': *766 - '403': *767 + default: *770 + '404': *768 + '403': *769 '304': *35 x-github: githubCloudOnly: true @@ -109979,18 +110424,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 + default: *770 '304': *35 - '404': *766 - '403': *767 + '404': *768 + '403': *769 requestBody: required: true content: @@ -110105,19 +110550,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *761 + - *763 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *767 examples: - default: *768 + default: *770 '304': *35 - '404': *766 - '403': *767 - '400': *746 + '404': *768 + '403': *769 + '400': *748 '429': description: Response content: @@ -110213,12 +110658,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *761 + - *763 responses: '204': description: Response - '404': *766 - '403': *767 + '404': *768 + '403': *769 '304': *35 x-github: githubCloudOnly: true @@ -110333,7 +110778,7 @@ paths: html_url: type: string format: uri - repository: *266 + repository: *269 score: type: number file_size: @@ -110352,7 +110797,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &769 + text_matches: &771 title: Search Result Text Matches type: array items: @@ -110516,7 +110961,7 @@ paths: enum: - author-date - committer-date - - &770 + - &772 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 @@ -110585,7 +111030,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 comment_count: type: integer message: @@ -110604,7 +111049,7 @@ paths: url: type: string format: uri - verification: *620 + verification: *622 required: - author - committer @@ -110619,7 +111064,7 @@ paths: committer: anyOf: - type: 'null' - - *503 + - *505 parents: type: array items: @@ -110631,12 +111076,12 @@ paths: type: string sha: type: string - repository: *266 + repository: *269 score: type: number node_id: type: string - text_matches: *769 + text_matches: *771 required: - sha - node_id @@ -110829,7 +111274,7 @@ paths: - interactions - created - updated - - *770 + - *772 - *17 - *19 - name: advanced_search @@ -110926,11 +111371,11 @@ paths: type: - string - 'null' - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: type: string state_reason: @@ -110944,7 +111389,7 @@ paths: milestone: anyOf: - type: 'null' - - *385 + - *387 comments: type: integer created_at: @@ -110958,7 +111403,7 @@ paths: - string - 'null' format: date-time - text_matches: *769 + text_matches: *771 pull_request: type: object properties: @@ -110996,7 +111441,7 @@ paths: type: string score: type: number - author_association: *202 + author_association: *205 draft: type: boolean repository: *72 @@ -111007,12 +111452,12 @@ paths: timeline_url: type: string format: uri - type: *348 + type: *351 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *203 + reactions: *206 required: - assignee - closed_at @@ -111181,7 +111626,7 @@ paths: enum: - created - updated - - *770 + - *772 - *17 - *19 responses: @@ -111226,7 +111671,7 @@ paths: - 'null' score: type: number - text_matches: *769 + text_matches: *771 required: - id - node_id @@ -111312,7 +111757,7 @@ paths: - forks - help-wanted-issues - updated - - *770 + - *772 - *17 - *19 responses: @@ -111531,7 +111976,7 @@ paths: license: anyOf: - type: 'null' - - *216 + - *219 permissions: type: object properties: @@ -111549,7 +111994,7 @@ paths: - admin - pull - push - text_matches: *769 + text_matches: *771 temp_clone_token: type: string allow_merge_commit: @@ -111858,7 +112303,7 @@ paths: - string - 'null' format: uri - text_matches: *769 + text_matches: *771 related: type: - array @@ -112053,7 +112498,7 @@ paths: - followers - repositories - joined - - *770 + - *772 - *17 - *19 responses: @@ -112163,7 +112608,7 @@ paths: type: - boolean - 'null' - text_matches: *769 + text_matches: *771 blog: type: - string @@ -112245,7 +112690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &774 + - &776 name: team_id description: The unique identifier of the team. in: path @@ -112257,9 +112702,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 x-github: githubCloudOnly: false @@ -112286,7 +112731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *774 + - *776 requestBody: required: true content: @@ -112350,16 +112795,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '201': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 '404': *6 '422': *15 '403': *27 @@ -112387,7 +112832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *774 + - *776 responses: '204': description: Response @@ -112418,7 +112863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *774 + - *776 - *104 - *17 - *19 @@ -112429,9 +112874,9 @@ paths: application/json: schema: type: array - items: *429 + items: *431 examples: - default: *775 + default: *777 headers: Link: *41 x-github: @@ -112460,7 +112905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *774 + - *776 requestBody: required: true content: @@ -112494,9 +112939,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: triggersNotification: true githubCloudOnly: false @@ -112523,16 +112968,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112557,8 +113002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 requestBody: required: false content: @@ -112581,9 +113026,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *776 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112608,8 +113053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *774 - - *431 + - *776 + - *433 responses: '204': description: Response @@ -112638,8 +113083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *774 - - *431 + - *776 + - *433 - *104 - *17 - *19 @@ -112650,9 +113095,9 @@ paths: application/json: schema: type: array - items: *432 + items: *434 examples: - default: *777 + default: *779 headers: Link: *41 x-github: @@ -112681,8 +113126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *774 - - *431 + - *776 + - *433 requestBody: required: true content: @@ -112704,9 +113149,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: triggersNotification: true githubCloudOnly: false @@ -112733,17 +113178,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 responses: '200': description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112768,9 +113213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 requestBody: required: true content: @@ -112792,9 +113237,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *778 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112819,9 +113264,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 responses: '204': description: Response @@ -112850,9 +113295,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: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 - 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. @@ -112878,9 +113323,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -112909,9 +113354,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: - - *774 - - *431 - - *434 + - *776 + - *433 + - *436 requestBody: required: true content: @@ -112943,9 +113388,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112971,8 +113416,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: - - *774 - - *431 + - *776 + - *433 - 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. @@ -112998,9 +113443,9 @@ paths: application/json: schema: type: array - items: *435 + items: *437 examples: - default: *437 + default: *439 headers: Link: *41 x-github: @@ -113029,8 +113474,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: - - *774 - - *431 + - *776 + - *433 requestBody: required: true content: @@ -113062,9 +113507,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113088,7 +113533,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113098,9 +113543,9 @@ paths: application/json: schema: type: array - items: *345 + items: *348 examples: - default: *346 + default: *349 headers: Link: *41 x-github: @@ -113126,7 +113571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *774 + - *776 - name: role description: Filters members returned by their role in the team. in: query @@ -113149,7 +113594,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '404': *6 @@ -113177,7 +113622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113214,7 +113659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113254,7 +113699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *774 + - *776 - *132 responses: '204': @@ -113291,16 +113736,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: - - *774 + - *776 - *132 responses: '200': description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-user-is-a-team-maintainer: *779 + response-if-user-is-a-team-maintainer: *781 '404': *6 x-github: githubCloudOnly: false @@ -113333,7 +113778,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: - - *774 + - *776 - *132 requestBody: required: false @@ -113359,9 +113804,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - response-if-users-membership-with-team-is-now-pending: *780 + response-if-users-membership-with-team-is-now-pending: *782 '403': description: Forbidden if team synchronization is set up '422': @@ -113395,7 +113840,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: - - *774 + - *776 - *132 responses: '204': @@ -113424,7 +113869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113434,9 +113879,9 @@ paths: application/json: schema: type: array - items: *444 + items: *446 examples: - default: *781 + default: *783 headers: Link: *41 '404': *6 @@ -113462,16 +113907,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: - - *774 - - *445 + - *776 + - *447 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *782 + default: *784 '404': description: Not Found if project is not managed by this team x-github: @@ -113495,8 +113940,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: - - *774 - - *445 + - *776 + - *447 requestBody: required: false content: @@ -113563,8 +114008,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: - - *774 - - *445 + - *776 + - *447 responses: '204': description: Response @@ -113591,7 +114036,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -113601,9 +114046,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '404': *6 @@ -113633,15 +114078,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *785 examples: alternative-response-with-extra-repository-information: value: @@ -113792,9 +114237,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 requestBody: required: false content: @@ -113844,9 +114289,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: - - *774 - - *446 - - *447 + - *776 + - *448 + - *449 responses: '204': description: Response @@ -113875,15 +114320,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: - - *774 + - *776 responses: '200': description: Response content: application/json: - schema: *448 + schema: *450 examples: - default: *449 + default: *451 '403': *27 '404': *6 x-github: @@ -113910,7 +114355,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: - - *774 + - *776 requestBody: required: true content: @@ -113971,7 +114416,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *450 examples: default: value: @@ -114002,7 +114447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *774 + - *776 - *17 - *19 responses: @@ -114012,9 +114457,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *786 headers: Link: *41 '404': *6 @@ -114047,7 +114492,7 @@ paths: application/json: schema: oneOf: - - &786 + - &788 title: Private User description: Private User type: object @@ -114297,7 +114742,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *787 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114457,7 +114902,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *788 examples: default: value: @@ -114536,7 +114981,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 '304': *35 '404': *6 '403': *27 @@ -114660,9 +115105,9 @@ paths: type: integer codespaces: type: array - items: *353 + items: *356 examples: - default: *354 + default: *357 '304': *35 '500': *38 '401': *23 @@ -114801,17 +115246,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -114855,7 +115300,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &789 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114897,7 +115342,7 @@ paths: - visibility - selected_repositories_url examples: - default: *555 + default: *557 headers: Link: *41 x-github: @@ -114969,13 +115414,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: - - *276 + - *279 responses: '200': description: Response content: application/json: - schema: *787 + schema: *789 examples: default: value: @@ -115005,7 +115450,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: - - *276 + - *279 requestBody: required: true content: @@ -115050,7 +115495,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -115078,7 +115523,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: - - *276 + - *279 responses: '204': description: Response @@ -115103,7 +115548,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: - - *276 + - *279 responses: '200': description: Response @@ -115119,9 +115564,9 @@ paths: type: integer repositories: type: array - items: *266 + items: *269 examples: - default: *788 + default: *790 '401': *23 '403': *27 '404': *6 @@ -115146,7 +115591,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: - - *276 + - *279 requestBody: required: true content: @@ -115200,7 +115645,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: - - *276 + - *279 - name: repository_id in: path required: true @@ -115233,7 +115678,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: - - *276 + - *279 - name: repository_id in: path required: true @@ -115265,15 +115710,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '304': *35 '500': *38 '401': *23 @@ -115299,7 +115744,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: - - *355 + - *358 requestBody: required: false content: @@ -115329,9 +115774,9 @@ paths: description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '401': *23 '403': *27 '404': *6 @@ -115353,7 +115798,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: - - *355 + - *358 responses: '202': *37 '304': *35 @@ -115382,13 +115827,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: - - *355 + - *358 responses: '202': description: Response content: application/json: - schema: &789 + schema: &791 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115441,7 +115886,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &790 + default: &792 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115473,7 +115918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *355 + - *358 - name: export_id in: path required: true @@ -115486,9 +115931,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *791 examples: - default: *790 + default: *792 '404': *6 x-github: githubCloudOnly: false @@ -115509,7 +115954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *355 + - *358 responses: '200': description: Response @@ -115525,9 +115970,9 @@ paths: type: integer machines: type: array - items: *554 + items: *556 examples: - default: *791 + default: *793 '304': *35 '500': *38 '401': *23 @@ -115556,7 +116001,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: - - *355 + - *358 requestBody: required: true content: @@ -115612,11 +116057,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *459 + repository: *461 machine: anyOf: - type: 'null' - - *554 + - *556 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116413,15 +116858,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '304': *35 '500': *38 '400': *14 @@ -116453,15 +116898,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: - - *355 + - *358 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *553 + default: *555 '500': *38 '401': *23 '403': *27 @@ -116491,9 +116936,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: &802 + default: &804 value: - id: 197 name: hello_docker @@ -116594,7 +117039,7 @@ paths: application/json: schema: type: array - items: &792 + items: &794 title: Email description: Email type: object @@ -116664,9 +117109,9 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: - default: &804 + default: &806 value: - email: octocat@github.com verified: true @@ -116743,7 +117188,7 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: default: value: @@ -116855,7 +117300,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '304': *35 @@ -116888,7 +117333,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 '304': *35 @@ -117001,7 +117446,7 @@ paths: application/json: schema: type: array - items: &793 + items: &795 title: GPG Key description: A unique encryption key type: object @@ -117146,7 +117591,7 @@ paths: - subkeys - revoked examples: - default: &818 + default: &820 value: - id: 3 name: Octocat's GPG Key @@ -117231,9 +117676,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *795 examples: - default: &794 + default: &796 value: id: 3 name: Octocat's GPG Key @@ -117290,7 +117735,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: - - &795 + - &797 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117302,9 +117747,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *795 examples: - default: *794 + default: *796 '404': *6 '304': *35 '403': *27 @@ -117327,7 +117772,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: - - *795 + - *797 responses: '204': description: Response @@ -117518,7 +117963,7 @@ paths: type: array items: *72 examples: - default: *261 + default: *264 headers: Link: *41 '404': *6 @@ -117543,7 +117988,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *260 + - *263 responses: '204': description: Response @@ -117569,7 +118014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *260 + - *263 responses: '204': description: Response @@ -117603,12 +118048,12 @@ paths: application/json: schema: anyOf: - - *343 + - *346 - type: object properties: {} additionalProperties: false examples: - default: *344 + default: *347 '204': description: Response when there are no restrictions x-github: @@ -117632,7 +118077,7 @@ paths: required: true content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -117643,7 +118088,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: default: value: @@ -117724,7 +118169,7 @@ paths: - closed - all default: open - - *351 + - *354 - name: sort description: What to sort results by. in: query @@ -117737,7 +118182,7 @@ paths: - comments default: created - *104 - - *205 + - *208 - *17 - *19 responses: @@ -117747,9 +118192,9 @@ paths: application/json: schema: type: array - items: *215 + items: *218 examples: - default: *352 + default: *355 headers: Link: *41 '404': *6 @@ -117782,7 +118227,7 @@ paths: application/json: schema: type: array - items: &796 + items: &798 title: Key description: Key type: object @@ -117885,9 +118330,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *798 examples: - default: &797 + default: &799 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117920,15 +118365,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: - - *658 + - *660 responses: '200': description: Response content: application/json: - schema: *796 + schema: *798 examples: - default: *797 + default: *799 '404': *6 '304': *35 '403': *27 @@ -117951,7 +118396,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: - - *658 + - *660 responses: '204': description: Response @@ -117984,7 +118429,7 @@ paths: application/json: schema: type: array - items: &798 + items: &800 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118052,7 +118497,7 @@ paths: - id - type - login - plan: *218 + plan: *221 required: - billing_cycle - next_billing_date @@ -118063,7 +118508,7 @@ paths: - account - plan examples: - default: &799 + default: &801 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118125,9 +118570,9 @@ paths: application/json: schema: type: array - items: *798 + items: *800 examples: - default: *799 + default: *801 headers: Link: *41 '304': *35 @@ -118167,7 +118612,7 @@ paths: application/json: schema: type: array - items: *356 + items: *359 examples: default: value: @@ -118275,7 +118720,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -118358,7 +118803,7 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: default: value: @@ -118426,7 +118871,7 @@ paths: application/json: schema: type: array - items: *358 + items: *361 examples: default: value: @@ -118688,7 +119133,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -118868,7 +119313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *359 + - *362 - name: exclude in: query required: false @@ -118881,7 +119326,7 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: default: value: @@ -119075,7 +119520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *359 + - *362 responses: '302': description: Response @@ -119101,7 +119546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *359 + - *362 responses: '204': description: Response @@ -119130,8 +119575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *359 - - *800 + - *362 + - *802 responses: '204': description: Response @@ -119155,7 +119600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *359 + - *362 - *17 - *19 responses: @@ -119165,9 +119610,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '404': *6 @@ -119204,7 +119649,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: *41 '304': *35 @@ -119246,7 +119691,7 @@ paths: - docker - nuget - container - - *801 + - *803 - *19 - *17 responses: @@ -119256,10 +119701,10 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 - '400': *803 + default: *804 + '400': *805 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119279,16 +119724,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: - - *365 - - *366 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: &819 + default: &821 value: id: 40201 name: octo-name @@ -119401,8 +119846,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: - - *365 - - *366 + - *368 + - *369 responses: '204': description: Response @@ -119432,8 +119877,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: - - *365 - - *366 + - *368 + - *369 - name: token description: package token schema: @@ -119465,8 +119910,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: - - *365 - - *366 + - *368 + - *369 - *19 - *17 - name: state @@ -119486,7 +119931,7 @@ paths: application/json: schema: type: array - items: *367 + items: *370 examples: default: value: @@ -119535,15 +119980,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -119579,9 +120024,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '204': description: Response @@ -119611,9 +120056,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: - - *365 - - *366 - *368 + - *369 + - *371 responses: '204': description: Response @@ -119671,7 +120116,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: default: value: @@ -119743,9 +120188,9 @@ paths: application/json: schema: type: array - items: *792 + items: *794 examples: - default: *804 + default: *806 headers: Link: *41 '304': *35 @@ -119858,7 +120303,7 @@ paths: type: array items: *72 examples: - default: &811 + default: &813 summary: Default response value: - id: 1296269 @@ -120176,9 +120621,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *461 + default: *463 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120216,9 +120661,9 @@ paths: application/json: schema: type: array - items: *633 + items: *635 examples: - default: *805 + default: *807 headers: Link: *41 '304': *35 @@ -120241,7 +120686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *347 + - *350 responses: '204': description: Response @@ -120264,7 +120709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *347 + - *350 responses: '204': description: Response @@ -120297,7 +120742,7 @@ paths: application/json: schema: type: array - items: &806 + items: &808 title: Social account description: Social media account type: object @@ -120314,7 +120759,7 @@ paths: - provider - url examples: - default: &807 + default: &809 value: - provider: twitter url: https://twitter.com/github @@ -120377,9 +120822,9 @@ paths: application/json: schema: type: array - items: *806 + items: *808 examples: - default: *807 + default: *809 '422': *15 '304': *35 '404': *6 @@ -120467,7 +120912,7 @@ paths: application/json: schema: type: array - items: &808 + items: &810 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120487,7 +120932,7 @@ paths: - title - created_at examples: - default: &822 + default: &826 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120554,9 +120999,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *810 examples: - default: &809 + default: &811 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120587,7 +121032,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: - - &810 + - &812 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120599,9 +121044,9 @@ paths: description: Response content: application/json: - schema: *808 + schema: *810 examples: - default: *809 + default: *811 '404': *6 '304': *35 '403': *27 @@ -120624,7 +121069,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: - - *810 + - *812 responses: '204': description: Response @@ -120653,7 +121098,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: - - &823 + - &827 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 @@ -120678,11 +121123,11 @@ paths: type: array items: *72 examples: - default-response: *811 + default-response: *813 application/vnd.github.v3.star+json: schema: type: array - items: &824 + items: &828 title: Starred Repository description: Starred Repository type: object @@ -120838,8 +121283,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response if this repository is starred by you @@ -120867,8 +121312,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -120892,8 +121337,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: - - *446 - - *447 + - *448 + - *449 responses: '204': description: Response @@ -120926,9 +121371,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 '304': *35 @@ -120965,7 +121410,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -121043,7 +121488,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *220 + - *223 responses: '200': description: Response @@ -121051,10 +121496,10 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *788 + - *787 examples: - default-response: &813 + default-response: &815 summary: Default response value: login: octocat @@ -121089,7 +121534,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &814 + response-with-git-hub-plan-information: &816 summary: Response with GitHub plan information value: login: octocat @@ -121149,7 +121594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *812 + - *814 - *17 responses: '200': @@ -121160,7 +121605,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: example: ; rel="next" @@ -121198,11 +121643,11 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *788 + - *787 examples: - default-response: *813 - response-with-git-hub-plan-information: *814 + default-response: *815 + response-with-git-hub-plan-information: *816 '404': *6 x-github: githubCloudOnly: false @@ -121252,8 +121697,8 @@ paths: required: - subject_digests examples: - default: *815 - withPredicateType: *816 + default: *817 + withPredicateType: *818 responses: '200': description: Response @@ -121307,7 +121752,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *817 + default: *819 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121512,12 +121957,12 @@ paths: initiator: type: string examples: - default: *499 + default: *501 '201': description: Response content: application/json: - schema: *277 + schema: *280 examples: default: value: @@ -121551,9 +121996,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 + default: *804 '403': *27 '401': *23 x-github: @@ -121586,7 +122031,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121659,7 +122104,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121746,7 +122191,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -121816,7 +122261,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -121847,7 +122292,7 @@ paths: type: array items: *4 examples: - default: *197 + default: *200 headers: Link: *41 x-github: @@ -121894,7 +122339,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *132 - - *205 + - *208 - *17 - *19 responses: @@ -121904,9 +122349,9 @@ paths: application/json: schema: type: array - items: *206 + items: *209 examples: - default: *207 + default: *210 headers: Link: *41 '422': *15 @@ -121937,9 +122382,9 @@ paths: application/json: schema: type: array - items: *793 + items: *795 examples: - default: *818 + default: *820 headers: Link: *41 x-github: @@ -122043,7 +122488,7 @@ paths: application/json: schema: *20 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122129,7 +122574,7 @@ paths: type: array items: *67 examples: - default: *231 + default: *234 headers: Link: *41 x-github: @@ -122168,7 +122613,7 @@ paths: - docker - nuget - container - - *801 + - *803 - *132 - *19 - *17 @@ -122179,12 +122624,12 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *802 + default: *804 '403': *27 '401': *23 - '400': *803 + '400': *805 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122204,17 +122649,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *819 + default: *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122235,8 +122680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 responses: '204': @@ -122269,8 +122714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *365 - - *366 + - *368 + - *369 - *132 - name: token description: package token @@ -122303,8 +122748,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: - - *365 - - *366 + - *368 + - *369 - *132 responses: '200': @@ -122313,7 +122758,7 @@ paths: application/json: schema: type: array - items: *367 + items: *370 examples: default: value: @@ -122371,16 +122816,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: - - *365 - - *366 - *368 + - *369 + - *371 - *132 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: default: value: @@ -122415,10 +122860,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *365 - - *366 - - *132 - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -122450,10 +122895,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *365 - - *366 - - *132 - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -122500,7 +122945,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -122575,9 +123020,9 @@ paths: application/json: schema: type: array - items: *380 + items: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -122599,16 +123044,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *382 + - *385 - *132 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: - default: *381 + default: *384 headers: Link: *41 '304': *35 @@ -122630,7 +123075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *382 + - *385 - *132 - *17 - *102 @@ -122642,9 +123087,9 @@ paths: application/json: schema: type: array - items: *383 + items: *386 examples: - default: *384 + default: *822 headers: Link: *41 '304': *35 @@ -122666,17 +123111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *382 - - *820 + - *385 + - *823 - *132 responses: '200': description: Response content: application/json: - schema: *383 + schema: *386 examples: - default: *384 + default: *824 headers: Link: *41 '304': *35 @@ -122699,7 +123144,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: - - *382 + - *385 - *132 - *102 - *103 @@ -122732,9 +123177,9 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -122756,7 +123201,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *382 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -122793,10 +123238,10 @@ paths: description: Response content: application/json: - schema: *821 + schema: *825 examples: - issue: *388 - pull_request: *388 + issue: *390 + pull_request: *390 '304': *35 '403': *27 '401': *23 @@ -122816,9 +123261,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: - - *382 + - *385 - *132 - - *391 + - *393 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -122838,9 +123283,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 headers: Link: *41 '304': *35 @@ -122861,9 +123306,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *382 + - *385 - *132 - - *391 + - *393 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -122936,13 +123381,13 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - text_field: *390 - number_field: *390 - date_field: *390 - single_select_field: *390 - iteration_field: *390 + text_field: *392 + number_field: *392 + date_field: *392 + single_select_field: *392 + iteration_field: *392 '401': *23 '403': *27 '404': *6 @@ -122962,9 +123407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *382 + - *385 - *132 - - *391 + - *393 responses: '204': description: Response @@ -123001,7 +123446,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -123076,7 +123521,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -123182,9 +123627,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -123214,9 +123659,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123244,9 +123689,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123268,10 +123713,10 @@ paths: parameters: - *132 - *190 - - *232 + - *192 - *191 - - *234 - - *235 + - *236 + - *194 responses: '200': description: Response when getting a billing premium request usage report @@ -123407,9 +123852,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *422 + default: *424 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123431,7 +123876,7 @@ paths: parameters: - *132 - *190 - - *236 + - *237 - *191 responses: '200': @@ -123509,6 +123954,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: + - *132 + - *190 + - *192 + - *191 + - *240 + - *194 + - *241 + 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': *27 + '404': *6 + '500': *38 + '503': *184 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -123531,9 +124111,9 @@ paths: application/json: schema: type: array - items: *806 + items: *808 examples: - default: *807 + default: *809 headers: Link: *41 x-github: @@ -123563,9 +124143,9 @@ paths: application/json: schema: type: array - items: *808 + items: *810 examples: - default: *822 + default: *826 headers: Link: *41 x-github: @@ -123590,7 +124170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *823 + - *827 - *104 - *17 - *19 @@ -123602,11 +124182,11 @@ paths: schema: anyOf: - type: array - items: *824 + items: *828 - type: array items: *72 examples: - default-response: *811 + default-response: *813 headers: Link: *41 x-github: @@ -123635,9 +124215,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *369 + default: *372 headers: Link: *41 x-github: @@ -123766,7 +124346,7 @@ webhooks: type: string enum: - disabled - enterprise: &825 + enterprise: &829 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123835,7 +124415,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &826 + installation: &830 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123856,7 +124436,7 @@ webhooks: required: - id - node_id - organization: &827 + organization: &831 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123929,7 +124509,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &828 + repository: &832 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -123958,7 +124538,7 @@ webhooks: license: anyOf: - type: 'null' - - *216 + - *219 organization: anyOf: - type: 'null' @@ -124842,10 +125422,10 @@ webhooks: type: string enum: - enabled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -124921,11 +125501,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: &829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: &833 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) @@ -125148,11 +125728,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: *829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -125340,11 +125920,11 @@ webhooks: - everyone required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - rule: *829 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + rule: *833 sender: *4 required: - action @@ -125415,7 +125995,7 @@ webhooks: required: true content: application/json: - schema: &832 + schema: &836 title: Exemption request cancellation event type: object properties: @@ -125423,11 +126003,11 @@ webhooks: type: string enum: - cancelled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: &830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: &834 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -125665,7 +126245,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &831 + items: &835 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -125775,7 +126355,7 @@ webhooks: required: true content: application/json: - schema: &833 + schema: &837 title: Exemption request completed event type: object properties: @@ -125783,11 +126363,11 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -125857,7 +126437,7 @@ webhooks: required: true content: application/json: - schema: &834 + schema: &838 title: Exemption request created event type: object properties: @@ -125865,11 +126445,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 sender: *4 required: - action @@ -125939,7 +126519,7 @@ webhooks: required: true content: application/json: - schema: &835 + schema: &839 title: Exemption response dismissed event type: object properties: @@ -125947,12 +126527,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 - exemption_response: *831 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -126024,7 +126604,7 @@ webhooks: required: true content: application/json: - schema: &836 + schema: &840 title: Exemption response submitted event type: object properties: @@ -126032,12 +126612,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - exemption_request: *830 - exemption_response: *831 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + exemption_request: *834 + exemption_response: *835 sender: *4 required: - action @@ -126110,7 +126690,7 @@ webhooks: required: true content: application/json: - schema: *832 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126177,7 +126757,7 @@ webhooks: required: true content: application/json: - schema: *833 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126244,7 +126824,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126311,7 +126891,7 @@ webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126379,7 +126959,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126457,7 +127037,7 @@ webhooks: type: string enum: - completed - check_run: &838 + check_run: &842 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126522,8 +127102,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *516 - repository: *266 + items: *518 + repository: *269 status: type: string enum: @@ -126567,7 +127147,7 @@ webhooks: - examples: - neutral - deployment: *837 + deployment: *841 details_url: type: string examples: @@ -126627,7 +127207,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *516 + items: *518 started_at: type: string format: date-time @@ -126665,10 +127245,10 @@ webhooks: - output - app - pull_requests - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -127061,11 +127641,11 @@ webhooks: type: string enum: - created - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -127461,11 +128041,11 @@ webhooks: type: string enum: - requested_action - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 requested_action: description: The action requested by the user. type: object @@ -127870,11 +128450,11 @@ webhooks: type: string enum: - rerequested - check_run: *838 - installation: *826 - enterprise: *825 - organization: *827 - repository: *828 + check_run: *842 + installation: *830 + enterprise: *829 + organization: *831 + repository: *832 sender: *4 required: - check_run @@ -128866,10 +129446,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -129554,10 +130134,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -130236,10 +130816,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -130408,7 +130988,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130560,20 +131140,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &839 + commit_oid: &843 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: *825 - installation: *826 - organization: *827 - ref: &840 + enterprise: *829 + installation: *830 + organization: *831 + ref: &844 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: *828 + repository: *832 sender: *4 required: - action @@ -130740,7 +131320,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130981,12 +131561,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131084,7 +131664,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131269,12 +131849,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131443,7 +132023,7 @@ webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131620,12 +132200,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -131728,7 +132308,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131908,9 +132488,9 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131918,7 +132498,7 @@ webhooks: type: - string - 'null' - repository: *828 + repository: *832 sender: *4 required: - action @@ -132017,7 +132597,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *528 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132164,12 +132744,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *839 - enterprise: *825 - installation: *826 - organization: *827 - ref: *840 - repository: *828 + commit_oid: *843 + enterprise: *829 + installation: *830 + organization: *831 + ref: *844 + repository: *832 sender: *4 required: - action @@ -132431,10 +133011,10 @@ webhooks: - updated_at - author_association - body - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -132515,18 +133095,18 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *827 - pusher_type: &841 + organization: *831 + pusher_type: &845 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &842 + ref: &846 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -132536,7 +133116,7 @@ webhooks: enum: - tag - branch - repository: *828 + repository: *832 sender: *4 required: - ref @@ -132619,9 +133199,9 @@ webhooks: enum: - created definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132706,9 +133286,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132786,9 +133366,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132866,9 +133446,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -132945,10 +133525,10 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - repository: *828 - organization: *827 + enterprise: *829 + installation: *830 + repository: *832 + organization: *831 sender: *4 new_property_values: type: array @@ -133033,18 +133613,18 @@ webhooks: title: delete event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - pusher_type: *841 - ref: *842 + enterprise: *829 + installation: *830 + organization: *831 + pusher_type: *845 + ref: *846 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *828 + repository: *832 sender: *4 required: - ref @@ -133128,11 +133708,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133216,11 +133796,11 @@ webhooks: type: string enum: - auto_reopened - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133304,11 +133884,11 @@ webhooks: type: string enum: - created - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133390,11 +133970,11 @@ webhooks: type: string enum: - dismissed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133476,11 +134056,11 @@ webhooks: type: string enum: - fixed - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133563,11 +134143,11 @@ webhooks: type: string enum: - reintroduced - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133649,11 +134229,11 @@ webhooks: type: string enum: - reopened - alert: *580 - installation: *826 - organization: *827 - enterprise: *825 - repository: *828 + alert: *582 + installation: *830 + organization: *831 + enterprise: *829 + repository: *832 sender: *4 required: - action @@ -133730,9 +134310,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - key: &843 + enterprise: *829 + installation: *830 + key: &847 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -133770,8 +134350,8 @@ webhooks: - verified - created_at - read_only - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -133848,11 +134428,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - key: *843 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + key: *847 + organization: *831 + repository: *832 sender: *4 required: - action @@ -134424,12 +135004,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: &847 + workflow: &851 title: Workflow type: - object @@ -135167,13 +135747,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *586 + deployment: *588 pull_requests: type: array - items: *678 - repository: *828 - organization: *827 - installation: *826 + items: *680 + repository: *832 + organization: *831 + installation: *830 sender: *4 responses: '200': @@ -135244,7 +135824,7 @@ webhooks: type: string enum: - approved - approver: &844 + approver: &848 type: object properties: avatar_url: @@ -135287,11 +135867,11 @@ webhooks: type: string comment: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - reviewers: &845 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: &849 type: array items: type: object @@ -135372,7 +135952,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &846 + workflow_job_run: &850 type: object properties: conclusion: @@ -136118,18 +136698,18 @@ webhooks: type: string enum: - rejected - approver: *844 + approver: *848 comment: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - reviewers: *845 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + reviewers: *849 sender: *4 since: type: string - workflow_job_run: *846 + workflow_job_run: *850 workflow_job_runs: type: array items: @@ -136846,13 +137426,13 @@ webhooks: type: string enum: - requested - enterprise: *825 + enterprise: *829 environment: type: string - installation: *826 - organization: *827 - repository: *828 - requestor: &852 + installation: *830 + organization: *831 + repository: *832 + requestor: &856 title: User type: - object @@ -138795,12 +139375,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Deployment Workflow Run type: @@ -139491,7 +140071,7 @@ webhooks: type: string enum: - answered - answer: &850 + answer: &854 type: object properties: author_association: @@ -139651,7 +140231,7 @@ webhooks: - created_at - updated_at - body - discussion: &848 + discussion: &852 title: Discussion description: A Discussion in a repository. type: object @@ -139947,7 +140527,7 @@ webhooks: - id labels: type: array - items: *641 + items: *643 required: - repository_url - category @@ -139969,10 +140549,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140099,11 +140679,11 @@ webhooks: - from required: - category - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140186,11 +140766,11 @@ webhooks: type: string enum: - closed - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140272,7 +140852,7 @@ webhooks: type: string enum: - created - comment: &849 + comment: &853 type: object properties: author_association: @@ -140432,11 +141012,11 @@ webhooks: - updated_at - body - reactions - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140519,12 +141099,12 @@ webhooks: type: string enum: - deleted - comment: *849 - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140619,12 +141199,12 @@ webhooks: - from required: - body - comment: *849 - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + comment: *853 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140708,11 +141288,11 @@ webhooks: type: string enum: - created - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140794,11 +141374,11 @@ webhooks: type: string enum: - deleted - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140898,11 +141478,11 @@ webhooks: type: string required: - from - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -140984,10 +141564,10 @@ webhooks: type: string enum: - labeled - discussion: *848 - enterprise: *825 - installation: *826 - label: &851 + discussion: *852 + enterprise: *829 + installation: *830 + label: &855 title: Label type: object properties: @@ -141020,8 +141600,8 @@ webhooks: - color - default - description - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141104,11 +141684,11 @@ webhooks: type: string enum: - locked - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141190,11 +141770,11 @@ webhooks: type: string enum: - pinned - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141276,11 +141856,11 @@ webhooks: type: string enum: - reopened - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141365,16 +141945,16 @@ webhooks: changes: type: object properties: - new_discussion: *848 - new_repository: *828 + new_discussion: *852 + new_repository: *832 required: - new_discussion - new_repository - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141457,10 +142037,10 @@ webhooks: type: string enum: - unanswered - discussion: *848 - old_answer: *850 - organization: *827 - repository: *828 + discussion: *852 + old_answer: *854 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141542,12 +142122,12 @@ webhooks: type: string enum: - unlabeled - discussion: *848 - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141630,11 +142210,11 @@ webhooks: type: string enum: - unlocked - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141716,11 +142296,11 @@ webhooks: type: string enum: - unpinned - discussion: *848 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + discussion: *852 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -141789,7 +142369,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141852,7 +142432,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141918,7 +142498,7 @@ webhooks: required: true content: application/json: - schema: *832 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141984,7 +142564,7 @@ webhooks: required: true content: application/json: - schema: *833 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142050,7 +142630,7 @@ webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142116,7 +142696,7 @@ webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142182,7 +142762,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142249,7 +142829,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *825 + enterprise: *829 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -142927,9 +143507,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - forkee @@ -143075,9 +143655,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pages: description: The pages that were updated. type: array @@ -143115,7 +143695,7 @@ webhooks: - action - sha - html_url - repository: *828 + repository: *832 sender: *4 required: - pages @@ -143191,10 +143771,10 @@ webhooks: type: string enum: - created - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: &853 + organization: *831 + repositories: &857 description: An array of repository objects that the installation can access. type: array @@ -143220,8 +143800,8 @@ webhooks: - name - full_name - private - repository: *828 - requester: *852 + repository: *832 + requester: *856 sender: *4 required: - action @@ -143296,11 +143876,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143377,11 +143957,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143458,10 +144038,10 @@ webhooks: type: string enum: - added - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories_added: &854 + organization: *831 + repositories_added: &858 description: An array of repository objects, which were added to the installation. type: array @@ -143507,15 +144087,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *828 - repository_selection: &855 + repository: *832 + repository_selection: &859 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *852 + requester: *856 sender: *4 required: - action @@ -143594,10 +144174,10 @@ webhooks: type: string enum: - removed - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories_added: *854 + organization: *831 + repositories_added: *858 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -143624,9 +144204,9 @@ webhooks: - name - full_name - private - repository: *828 - repository_selection: *855 - requester: *852 + repository: *832 + repository_selection: *859 + requester: *856 sender: *4 required: - action @@ -143705,11 +144285,11 @@ webhooks: type: string enum: - suspend - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -143892,10 +144472,10 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 target_type: type: string @@ -143974,11 +144554,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *825 + enterprise: *829 installation: *20 - organization: *827 - repositories: *853 - repository: *828 + organization: *831 + repositories: *857 + repository: *832 requester: type: - 'null' @@ -144226,8 +144806,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145044,8 +145624,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145062,7 +145642,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -145406,8 +145986,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -145487,7 +146067,7 @@ webhooks: type: string enum: - deleted - comment: &856 + comment: &860 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -145654,8 +146234,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146468,8 +147048,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146486,7 +147066,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -146832,8 +147412,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -146913,7 +147493,7 @@ webhooks: type: string enum: - edited - changes: &880 + changes: &884 description: The changes to the comment. type: object properties: @@ -146925,9 +147505,9 @@ webhooks: type: string required: - from - comment: *856 - enterprise: *825 - installation: *826 + comment: *860 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147743,8 +148323,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147761,7 +148341,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -148105,8 +148685,8 @@ webhooks: - state - locked - assignee - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148190,15 +148770,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 + blocking_issue: *218 blocking_issue_repo: *72 - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148286,15 +148866,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 + blocking_issue: *218 blocking_issue_repo: *72 - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148381,15 +148961,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 - installation: *826 - organization: *827 - repository: *828 + blocking_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148477,15 +149057,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *215 + blocked_issue: *218 blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *215 - installation: *826 - organization: *827 - repository: *828 + blocking_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -148570,10 +149150,10 @@ webhooks: type: string enum: - assigned - assignee: *852 - enterprise: *825 - installation: *826 - issue: &859 + assignee: *856 + enterprise: *829 + installation: *830 + issue: &863 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149385,11 +149965,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149406,7 +149986,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -149509,8 +150089,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -149590,8 +150170,8 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150408,11 +150988,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150429,7 +151009,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -150675,8 +151255,8 @@ webhooks: required: - state - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -150755,8 +151335,8 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151564,11 +152144,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151585,7 +152165,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -151687,8 +152267,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -151767,8 +152347,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152599,11 +153179,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152620,7 +153200,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -152701,7 +153281,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &857 + milestone: &861 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152844,8 +153424,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -152944,8 +153524,8 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153757,11 +154337,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153775,7 +154355,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -153881,9 +154461,9 @@ webhooks: - active_lock_reason - body - reactions - label: *851 - organization: *827 - repository: *828 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -153963,8 +154543,8 @@ webhooks: type: string enum: - labeled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154775,11 +155355,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154793,7 +155373,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -154899,9 +155479,9 @@ webhooks: - active_lock_reason - body - reactions - label: *851 - organization: *827 - repository: *828 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -154981,8 +155561,8 @@ webhooks: type: string enum: - locked - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155818,11 +156398,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155836,7 +156416,7 @@ webhooks: timeline_url: type: string format: uri - type: *348 + type: *351 title: description: Title of the issue type: string @@ -155919,8 +156499,8 @@ webhooks: format: uri user_view_type: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -155999,8 +156579,8 @@ webhooks: type: string enum: - milestoned - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156830,11 +157410,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156851,7 +157431,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -156931,9 +157511,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *857 - organization: *827 - repository: *828 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -157825,11 +158405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157925,7 +158505,7 @@ webhooks: required: - login - id - type: *348 + type: *351 required: - id - number @@ -158406,8 +158986,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159219,11 +159799,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159240,7 +159820,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -159342,8 +159922,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -159423,9 +160003,9 @@ webhooks: type: string enum: - pinned - enterprise: *825 - installation: *826 - issue: &858 + enterprise: *829 + installation: *830 + issue: &862 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160231,11 +160811,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160252,7 +160832,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -160354,8 +160934,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -160434,8 +161014,8 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161269,11 +161849,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161370,9 +161950,9 @@ webhooks: format: uri user_view_type: type: string - type: *348 - organization: *827 - repository: *828 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162261,11 +162841,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162282,7 +162862,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -162864,11 +163444,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *825 - installation: *826 - issue: *858 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -162948,12 +163528,12 @@ webhooks: type: string enum: - typed - enterprise: *825 - installation: *826 - issue: *859 - type: *348 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163034,7 +163614,7 @@ webhooks: type: string enum: - unassigned - assignee: &883 + assignee: &887 title: User type: - object @@ -163106,11 +163686,11 @@ webhooks: required: - login - id - enterprise: *825 - installation: *826 - issue: *859 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163189,12 +163769,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *825 - installation: *826 - issue: *859 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -163274,8 +163854,8 @@ webhooks: type: string enum: - unlocked - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164109,11 +164689,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *773 + issue_dependencies_summary: *774 issue_field_values: type: array - items: *773 + items: *775 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164130,7 +164710,7 @@ webhooks: title: description: Title of the issue type: string - type: *348 + type: *351 updated_at: type: string format: date-time @@ -164210,8 +164790,8 @@ webhooks: format: uri user_view_type: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164291,11 +164871,11 @@ webhooks: type: string enum: - unpinned - enterprise: *825 - installation: *826 - issue: *858 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *862 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164374,12 +164954,12 @@ webhooks: type: string enum: - untyped - enterprise: *825 - installation: *826 - issue: *859 - type: *348 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + issue: *863 + type: *351 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164459,11 +165039,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164541,11 +165121,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164655,11 +165235,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - label: *851 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + label: *855 + organization: *831 + repository: *832 sender: *4 required: - action @@ -164741,9 +165321,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: &860 + enterprise: *829 + installation: *830 + marketplace_purchase: &864 title: Marketplace Purchase type: object required: @@ -164831,8 +165411,8 @@ webhooks: type: integer unit_count: type: integer - organization: *827 - previous_marketplace_purchase: &861 + organization: *831 + previous_marketplace_purchase: &865 title: Marketplace Purchase type: object properties: @@ -164916,7 +165496,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -164996,10 +165576,10 @@ webhooks: - changed effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165087,7 +165667,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -165169,10 +165749,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165258,7 +165838,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *828 + repository: *832 sender: *4 required: - action @@ -165339,8 +165919,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 marketplace_purchase: title: Marketplace Purchase type: object @@ -165426,9 +166006,9 @@ webhooks: type: integer unit_count: type: integer - organization: *827 - previous_marketplace_purchase: *861 - repository: *828 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -165508,12 +166088,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *825 - installation: *826 - marketplace_purchase: *860 - organization: *827 - previous_marketplace_purchase: *861 - repository: *828 + enterprise: *829 + installation: *830 + marketplace_purchase: *864 + organization: *831 + previous_marketplace_purchase: *865 + repository: *832 sender: *4 required: - action @@ -165615,11 +166195,11 @@ webhooks: type: string required: - to - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165721,11 +166301,11 @@ webhooks: type: - string - 'null' - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165804,11 +166384,11 @@ webhooks: type: string enum: - removed - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 sender: *4 required: - action @@ -165886,11 +166466,11 @@ webhooks: type: string enum: - added - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165968,7 +166548,7 @@ webhooks: required: - login - id - team: &862 + team: &866 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166198,11 +166778,11 @@ webhooks: type: string enum: - removed - enterprise: *825 - installation: *826 - member: *852 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + member: *856 + organization: *831 + repository: *832 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166281,7 +166861,7 @@ webhooks: required: - login - id - team: *862 + team: *866 required: - action - scope @@ -166363,8 +166943,8 @@ webhooks: type: string enum: - checks_requested - installation: *826 - merge_group: &863 + installation: *830 + merge_group: &867 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166383,15 +166963,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *520 + head_commit: *522 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166477,10 +167057,10 @@ webhooks: - merged - invalidated - dequeued - installation: *826 - merge_group: *863 - organization: *827 - repository: *828 + installation: *830 + merge_group: *867 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166553,7 +167133,7 @@ webhooks: type: string enum: - deleted - enterprise: *825 + enterprise: *829 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166662,12 +167242,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *826 - organization: *827 + installation: *830 + organization: *831 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -166747,11 +167327,11 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -166830,9 +167410,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - milestone: &864 + enterprise: *829 + installation: *830 + milestone: &868 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166974,8 +167554,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167054,11 +167634,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167168,11 +167748,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - milestone: *857 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *861 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167252,11 +167832,11 @@ webhooks: type: string enum: - opened - enterprise: *825 - installation: *826 - milestone: *864 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + milestone: *868 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167335,11 +167915,11 @@ webhooks: type: string enum: - blocked - blocked_user: *852 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167418,11 +167998,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *852 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + blocked_user: *856 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -167498,7 +168078,7 @@ webhooks: enum: - created definition: *140 - enterprise: *825 + enterprise: *829 sender: *4 required: - action @@ -167578,8 +168158,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 sender: *4 required: - action @@ -167652,8 +168232,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 sender: *4 required: - action @@ -167725,9 +168305,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 new_property_values: type: array @@ -167815,9 +168395,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - membership: &865 + enterprise: *829 + installation: *830 + membership: &869 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167927,8 +168507,8 @@ webhooks: - role - organization_url - user - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168006,11 +168586,11 @@ webhooks: type: string enum: - member_added - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168089,8 +168669,8 @@ webhooks: type: string enum: - member_invited - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168212,10 +168792,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 - user: *852 + user: *856 required: - action - invitation @@ -168293,11 +168873,11 @@ webhooks: type: string enum: - member_removed - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168384,11 +168964,11 @@ webhooks: properties: from: type: string - enterprise: *825 - installation: *826 - membership: *865 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + membership: *869 + organization: *831 + repository: *832 sender: *4 required: - action @@ -168464,9 +169044,9 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -168989,7 +169569,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &866 + items: &870 title: Ruby Gems metadata type: object properties: @@ -169086,7 +169666,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -169162,9 +169742,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 package: description: Information about the package. type: object @@ -169526,7 +170106,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *870 source_url: type: string format: uri @@ -169597,7 +170177,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -169778,12 +170358,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *825 + enterprise: *829 id: type: integer - installation: *826 - organization: *827 - repository: *828 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - id @@ -169860,7 +170440,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &867 + personal_access_token_request: &871 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170010,10 +170590,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *825 - organization: *827 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170090,11 +170670,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *867 - enterprise: *825 - organization: *827 + personal_access_token_request: *871 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170170,11 +170750,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *867 - enterprise: *825 - organization: *827 + personal_access_token_request: *871 + enterprise: *829 + organization: *831 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170249,11 +170829,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *867 - organization: *827 - enterprise: *825 + personal_access_token_request: *871 + organization: *831 + enterprise: *829 sender: *4 - installation: *826 + installation: *830 required: - action - personal_access_token_request @@ -170358,7 +170938,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *868 + last_response: *872 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170390,8 +170970,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 zen: description: Random string of GitHub zen. @@ -170636,10 +171216,10 @@ webhooks: - from required: - note - enterprise: *825 - installation: *826 - organization: *827 - project_card: &869 + enterprise: *829 + installation: *830 + organization: *831 + project_card: &873 title: Project Card type: object properties: @@ -170762,7 +171342,7 @@ webhooks: - creator - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -170843,11 +171423,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project_card: *869 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *873 + repository: *832 sender: *4 required: - action @@ -170927,9 +171507,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 project_card: title: Project Card type: object @@ -171059,7 +171639,7 @@ webhooks: repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -171153,11 +171733,11 @@ webhooks: - from required: - note - enterprise: *825 - installation: *826 - organization: *827 - project_card: *869 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_card: *873 + repository: *832 sender: *4 required: - action @@ -171251,9 +171831,9 @@ webhooks: - from required: - column_id - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 project_card: allOf: - title: Project Card @@ -171450,7 +172030,7 @@ webhooks: type: string required: - after_id - repository: *828 + repository: *832 sender: *4 required: - action @@ -171530,10 +172110,10 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - organization: *827 - project: &871 + enterprise: *829 + installation: *830 + organization: *831 + project: &875 title: Project type: object properties: @@ -171660,7 +172240,7 @@ webhooks: - creator - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -171740,10 +172320,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project_column: &870 + enterprise: *829 + installation: *830 + organization: *831 + project_column: &874 title: Project Column type: object properties: @@ -171783,7 +172363,7 @@ webhooks: - name - created_at - updated_at - repository: *828 + repository: *832 sender: *4 required: - action @@ -171862,14 +172442,14 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -171958,11 +172538,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 + repository: *832 sender: *4 required: - action @@ -172042,11 +172622,11 @@ webhooks: type: string enum: - moved - enterprise: *825 - installation: *826 - organization: *827 - project_column: *870 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project_column: *874 + repository: *832 sender: *4 required: - action @@ -172126,11 +172706,11 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172210,14 +172790,14 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - project: *871 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 repository: anyOf: - type: 'null' - - *828 + - *832 sender: *4 required: - action @@ -172318,11 +172898,11 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172401,11 +172981,11 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 - organization: *827 - project: *871 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + project: *875 + repository: *832 sender: *4 required: - action @@ -172486,9 +173066,9 @@ webhooks: type: string enum: - closed - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172569,9 +173149,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172652,9 +173232,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172775,9 +173355,9 @@ webhooks: type: string to: type: string - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -172860,7 +173440,7 @@ webhooks: type: string enum: - archived - changes: &875 + changes: &879 type: object properties: archived_at: @@ -172876,9 +173456,9 @@ webhooks: - string - 'null' format: date-time - installation: *826 - organization: *827 - projects_v2_item: &872 + installation: *830 + organization: *831 + projects_v2_item: &876 title: Projects v2 Item description: An item belonging to a project type: object @@ -172896,7 +173476,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *387 + content_type: *389 creator: *4 created_at: type: string @@ -173018,9 +173598,9 @@ webhooks: - 'null' to: type: string - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173102,9 +173682,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173185,9 +173765,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173292,7 +173872,7 @@ webhooks: oneOf: - type: string - type: integer - - &873 + - &877 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173316,7 +173896,7 @@ webhooks: required: - id - name - - &874 + - &878 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173356,8 +173936,8 @@ webhooks: oneOf: - type: string - type: integer - - *873 - - *874 + - *877 + - *878 type: - 'null' - string @@ -173380,9 +173960,9 @@ webhooks: - 'null' required: - body - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173479,9 +174059,9 @@ webhooks: type: - string - 'null' - installation: *826 - organization: *827 - projects_v2_item: *872 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173564,10 +174144,10 @@ webhooks: type: string enum: - restored - changes: *875 - installation: *826 - organization: *827 - projects_v2_item: *872 + changes: *879 + installation: *830 + organization: *831 + projects_v2_item: *876 sender: *4 required: - action @@ -173649,9 +174229,9 @@ webhooks: type: string enum: - reopened - installation: *826 - organization: *827 - projects_v2: *380 + installation: *830 + organization: *831 + projects_v2: *383 sender: *4 required: - action @@ -173732,9 +174312,9 @@ webhooks: type: string enum: - created - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -173815,9 +174395,9 @@ webhooks: type: string enum: - deleted - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -173963,9 +174543,9 @@ webhooks: - string - 'null' format: date - installation: *826 - organization: *827 - projects_v2_status_update: *876 + installation: *830 + organization: *831 + projects_v2_status_update: *880 sender: *4 required: - action @@ -174036,10 +174616,10 @@ webhooks: title: public event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - repository @@ -174116,13 +174696,13 @@ webhooks: type: string enum: - assigned - assignee: *852 - enterprise: *825 - installation: *826 - number: &877 + assignee: *856 + enterprise: *829 + installation: *830 + number: &881 description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -176471,7 +177051,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -176553,11 +177133,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -178899,7 +179479,7 @@ webhooks: - draft reason: type: string - repository: *828 + repository: *832 sender: *4 required: - action @@ -178981,11 +179561,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -181327,7 +181907,7 @@ webhooks: - draft reason: type: string - repository: *828 + repository: *832 sender: *4 required: - action @@ -181409,13 +181989,13 @@ webhooks: type: string enum: - closed - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: &878 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: &882 allOf: - - *678 + - *680 - type: object properties: allow_auto_merge: @@ -181477,7 +182057,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *828 + repository: *832 sender: *4 required: - action @@ -181558,12 +182138,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -181643,11 +182223,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *825 - milestone: *385 - number: *877 - organization: *827 - pull_request: &879 + enterprise: *829 + milestone: *387 + number: *881 + organization: *831 + pull_request: &883 title: Pull Request type: object properties: @@ -183974,7 +184554,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -184053,11 +184633,11 @@ webhooks: type: string enum: - dequeued - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -186403,7 +186983,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *828 + repository: *832 sender: *4 required: - action @@ -186527,12 +187107,12 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -186612,11 +187192,11 @@ webhooks: type: string enum: - enqueued - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -188947,7 +189527,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -189027,11 +189607,11 @@ webhooks: type: string enum: - labeled - enterprise: *825 - installation: *826 - label: *851 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + label: *855 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -191379,7 +191959,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -191460,10 +192040,10 @@ webhooks: type: string enum: - locked - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -193809,7 +194389,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -193889,12 +194469,12 @@ webhooks: type: string enum: - milestoned - enterprise: *825 - milestone: *385 - number: *877 - organization: *827 - pull_request: *879 - repository: *828 + enterprise: *829 + milestone: *387 + number: *881 + organization: *831 + pull_request: *883 + repository: *832 sender: *4 required: - action @@ -193973,12 +194553,12 @@ webhooks: type: string enum: - opened - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194059,12 +194639,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194144,12 +194724,12 @@ webhooks: type: string enum: - reopened - enterprise: *825 - installation: *826 - number: *877 - organization: *827 - pull_request: *878 - repository: *828 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 + pull_request: *882 + repository: *832 sender: *4 required: - action @@ -194524,9 +195104,9 @@ webhooks: - start_side - side - reactions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -196756,7 +197336,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -196836,7 +197416,7 @@ webhooks: type: string enum: - deleted - comment: &881 + comment: &885 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. @@ -197129,9 +197709,9 @@ webhooks: - start_side - side - reactions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -199349,7 +199929,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -199429,11 +200009,11 @@ webhooks: type: string enum: - edited - changes: *880 - comment: *881 - enterprise: *825 - installation: *826 - organization: *827 + changes: *884 + comment: *885 + enterprise: *829 + installation: *830 + organization: *831 pull_request: type: object properties: @@ -201654,7 +202234,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *828 + repository: *832 sender: *4 required: - action @@ -201735,9 +202315,9 @@ webhooks: type: string enum: - dismissed - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -203970,7 +204550,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 review: description: The review that was affected. type: object @@ -204221,9 +204801,9 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -206337,8 +206917,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 - review: &882 + repository: *832 + review: &886 description: The review that was affected. type: object properties: @@ -206576,12 +207156,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -208928,7 +209508,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_reviewer: title: User type: @@ -209014,12 +209594,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -211373,7 +211953,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211568,12 +212148,12 @@ webhooks: type: string enum: - review_requested - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -213922,7 +214502,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_reviewer: title: User type: @@ -214009,12 +214589,12 @@ webhooks: type: string enum: - review_requested - enterprise: *825 - installation: *826 + enterprise: *829 + installation: *830 number: description: The pull request number. type: integer - organization: *827 + organization: *831 pull_request: title: Pull Request type: object @@ -216354,7 +216934,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216538,9 +217118,9 @@ webhooks: type: string enum: - submitted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -218776,8 +219356,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 - review: *882 + repository: *832 + review: *886 sender: *4 required: - action @@ -218857,9 +219437,9 @@ webhooks: type: string enum: - resolved - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -220990,7 +221570,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 sender: *4 thread: type: object @@ -221387,9 +221967,9 @@ webhooks: type: string enum: - unresolved - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 pull_request: title: Simple Pull Request type: object @@ -223503,7 +224083,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *828 + repository: *832 sender: *4 thread: type: object @@ -223902,10 +224482,10 @@ webhooks: type: string before: type: string - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -226240,7 +226820,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -226322,11 +226902,11 @@ webhooks: type: string enum: - unassigned - assignee: *883 - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + assignee: *887 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -228676,7 +229256,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -228755,11 +229335,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *825 - installation: *826 - label: *851 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + label: *855 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -231098,7 +231678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -231179,10 +231759,10 @@ webhooks: type: string enum: - unlocked - enterprise: *825 - installation: *826 - number: *877 - organization: *827 + enterprise: *829 + installation: *830 + number: *881 + organization: *831 pull_request: title: Pull Request type: object @@ -233511,7 +234091,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *828 + repository: *832 sender: *4 required: - action @@ -233714,7 +234294,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *825 + enterprise: *829 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233809,8 +234389,8 @@ webhooks: - url - author - committer - installation: *826 - organization: *827 + installation: *830 + organization: *831 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234398,9 +234978,9 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -234877,7 +235457,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *866 + items: *870 summary: type: string tag_name: @@ -234933,7 +235513,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -235011,9 +235591,9 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 registry_package: type: object properties: @@ -235325,7 +235905,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *866 + items: *870 summary: type: string tag_name: @@ -235375,7 +235955,7 @@ webhooks: - owner - package_version - registry - repository: *828 + repository: *832 sender: *4 required: - action @@ -235452,10 +236032,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - release: &884 + enterprise: *829 + installation: *830 + organization: *831 + release: &888 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235786,7 +236366,7 @@ webhooks: - updated_at - zipball_url - body - repository: *828 + repository: *832 sender: *4 required: - action @@ -235863,11 +236443,11 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -235984,11 +236564,11 @@ webhooks: type: boolean required: - to - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -236066,9 +236646,9 @@ webhooks: type: string enum: - prereleased - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236404,7 +236984,7 @@ webhooks: - string - 'null' format: uri - repository: *828 + repository: *832 sender: *4 required: - action @@ -236480,10 +237060,10 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - release: &885 + enterprise: *829 + installation: *830 + organization: *831 + release: &889 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236816,7 +237396,7 @@ webhooks: - string - 'null' format: uri - repository: *828 + repository: *832 sender: *4 required: - action @@ -236892,11 +237472,11 @@ webhooks: type: string enum: - released - enterprise: *825 - installation: *826 - organization: *827 - release: *884 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *888 + repository: *832 sender: *4 required: - action @@ -236972,11 +237552,11 @@ webhooks: type: string enum: - unpublished - enterprise: *825 - installation: *826 - organization: *827 - release: *885 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + release: *889 + repository: *832 sender: *4 required: - action @@ -237052,11 +237632,11 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - repository_advisory: *731 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -237132,11 +237712,11 @@ webhooks: type: string enum: - reported - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - repository_advisory: *731 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + repository_advisory: *733 sender: *4 required: - action @@ -237212,10 +237792,10 @@ webhooks: type: string enum: - archived - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237292,10 +237872,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237373,10 +237953,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237461,10 +238041,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237579,10 +238159,10 @@ webhooks: - 'null' items: type: string - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237654,10 +238234,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 status: type: string @@ -237738,10 +238318,10 @@ webhooks: type: string enum: - privatized - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237818,10 +238398,10 @@ webhooks: type: string enum: - publicized - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237915,10 +238495,10 @@ webhooks: - name required: - repository - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -237998,10 +238578,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 sender: *4 required: @@ -238080,10 +238660,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 sender: *4 required: @@ -238162,10 +238742,10 @@ webhooks: type: string enum: - edited - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 repository_ruleset: *179 changes: type: object @@ -238227,16 +238807,16 @@ webhooks: properties: added: type: array - items: *699 + items: *701 deleted: type: array - items: *699 + items: *701 updated: type: array items: type: object properties: - rule: *699 + rule: *701 changes: type: object properties: @@ -238473,10 +239053,10 @@ webhooks: - from required: - owner - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238554,10 +239134,10 @@ webhooks: type: string enum: - unarchived - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238635,7 +239215,7 @@ webhooks: type: string enum: - create - alert: &886 + alert: &890 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238759,10 +239339,10 @@ webhooks: type: string enum: - open - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -238972,10 +239552,10 @@ webhooks: type: string enum: - dismissed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239053,11 +239633,11 @@ webhooks: type: string enum: - reopen - alert: *886 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *890 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239259,10 +239839,10 @@ webhooks: enum: - fixed - open - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239340,7 +239920,7 @@ webhooks: type: string enum: - created - alert: &887 + alert: &891 type: object properties: number: *119 @@ -239454,10 +240034,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239538,11 +240118,11 @@ webhooks: type: string enum: - created - alert: *887 - installation: *826 - location: *888 - organization: *827 - repository: *828 + alert: *891 + installation: *830 + location: *892 + organization: *831 + repository: *832 sender: *4 required: - location @@ -239780,11 +240360,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239862,11 +240442,11 @@ webhooks: type: string enum: - reopened - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -239944,11 +240524,11 @@ webhooks: type: string enum: - resolved - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -240026,11 +240606,11 @@ webhooks: type: string enum: - validated - alert: *887 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + alert: *891 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -240160,10 +240740,10 @@ webhooks: - organization - enterprise - - repository: *828 - enterprise: *825 - installation: *826 - organization: *827 + repository: *832 + enterprise: *829 + installation: *830 + organization: *831 sender: *4 required: - action @@ -240241,11 +240821,11 @@ webhooks: type: string enum: - published - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - security_advisory: &889 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: &893 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240431,11 +241011,11 @@ webhooks: type: string enum: - updated - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 - security_advisory: *889 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 + security_advisory: *893 sender: *4 required: - action @@ -240508,10 +241088,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240697,11 +241277,11 @@ webhooks: from: type: object properties: - security_and_analysis: *393 - enterprise: *825 - installation: *826 - organization: *827 - repository: *459 + security_and_analysis: *395 + enterprise: *829 + installation: *830 + organization: *831 + repository: *461 sender: *4 required: - changes @@ -240779,12 +241359,12 @@ webhooks: type: string enum: - cancelled - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: &890 + sponsorship: &894 type: object properties: created_at: @@ -241089,12 +241669,12 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - sponsorship @@ -241182,12 +241762,12 @@ webhooks: type: string required: - from - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241264,17 +241844,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &891 + effective_date: &895 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: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - sponsorship @@ -241348,7 +241928,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &892 + changes: &896 type: object properties: tier: @@ -241392,13 +241972,13 @@ webhooks: - from required: - tier - effective_date: *891 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + effective_date: *895 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241475,13 +242055,13 @@ webhooks: type: string enum: - tier_changed - changes: *892 - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + changes: *896 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - sponsorship: *890 + sponsorship: *894 required: - action - changes @@ -241555,10 +242135,10 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241642,10 +242222,10 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242079,15 +242659,15 @@ webhooks: type: - string - 'null' - enterprise: *825 + enterprise: *829 id: description: The unique identifier of the status. type: integer - installation: *826 + installation: *830 name: type: string - organization: *827 - repository: *828 + organization: *831 + repository: *832 sender: *4 sha: description: The Commit SHA. @@ -242197,15 +242777,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 + parent_issue: *218 parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 - installation: *826 - organization: *827 - repository: *828 + sub_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242289,15 +242869,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 + parent_issue: *218 parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 - installation: *826 - organization: *827 - repository: *828 + sub_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242381,15 +242961,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 + sub_issue: *218 sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 - installation: *826 - organization: *827 - repository: *828 + parent_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242473,15 +243053,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *215 + sub_issue: *218 sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *215 - installation: *826 - organization: *827 - repository: *828 + parent_issue: *218 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -242558,12 +243138,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - team: &893 + team: &897 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242793,9 +243373,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -243265,7 +243845,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -243341,9 +243921,9 @@ webhooks: type: string enum: - created - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -243813,7 +244393,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -243890,9 +244470,9 @@ webhooks: type: string enum: - deleted - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -244362,7 +244942,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -244506,9 +245086,9 @@ webhooks: - from required: - permissions - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -244978,7 +245558,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - changes @@ -245056,9 +245636,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *825 - installation: *826 - organization: *827 + enterprise: *829 + installation: *830 + organization: *831 repository: title: Repository description: A git repository @@ -245528,7 +246108,7 @@ webhooks: - topics - visibility sender: *4 - team: *893 + team: *897 required: - action - team @@ -245604,10 +246184,10 @@ webhooks: type: string enum: - started - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 required: - action @@ -245680,17 +246260,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *825 + enterprise: *829 inputs: type: - object - 'null' additionalProperties: true - installation: *826 - organization: *827 + installation: *830 + organization: *831 ref: type: string - repository: *828 + repository: *832 sender: *4 workflow: type: string @@ -245772,10 +246352,10 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -246031,7 +246611,7 @@ webhooks: type: string required: - conclusion - deployment: *586 + deployment: *588 required: - action - repository @@ -246110,10 +246690,10 @@ webhooks: type: string enum: - in_progress - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: allOf: @@ -246395,7 +246975,7 @@ webhooks: required: - status - steps - deployment: *586 + deployment: *588 required: - action - repository @@ -246474,10 +247054,10 @@ webhooks: type: string enum: - queued - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -246623,7 +247203,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *586 + deployment: *588 required: - action - repository @@ -246702,10 +247282,10 @@ webhooks: type: string enum: - waiting - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 workflow_job: type: object @@ -246852,7 +247432,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *586 + deployment: *588 required: - action - repository @@ -246932,12 +247512,12 @@ webhooks: type: string enum: - completed - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -247956,12 +248536,12 @@ webhooks: type: string enum: - in_progress - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object @@ -248965,12 +249545,12 @@ webhooks: type: string enum: - requested - enterprise: *825 - installation: *826 - organization: *827 - repository: *828 + enterprise: *829 + installation: *830 + organization: *831 + repository: *832 sender: *4 - workflow: *847 + workflow: *851 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 9322d5211..0efc46964 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -12745,6 +12745,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", @@ -17473,6 +17539,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", @@ -22777,6 +22903,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -34251,6 +34387,11 @@ "null" ] }, + "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", @@ -34292,6 +34433,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" @@ -34526,6 +34668,11 @@ "null" ] }, + "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", @@ -34965,7 +35112,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -90941,7 +91088,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -91967,6 +92114,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", @@ -130914,6 +131124,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", @@ -134407,17 +134744,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", @@ -134432,10 +134880,6 @@ "type": "string", "description": "SKU name." }, - "model": { - "type": "string", - "description": "Model name." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -134472,7 +134916,6 @@ "required": [ "product", "sku", - "model", "unitType", "pricePerUnit", "grossQuantity", @@ -138561,6 +139004,11 @@ ], "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.", "type": [ @@ -138571,6 +139019,11 @@ "monalisa" ] }, + "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": [ @@ -138630,6 +139083,11 @@ ], "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.", "type": "string", @@ -138637,6 +139095,11 @@ "monalisa" ] }, + "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": [ @@ -162482,6 +162945,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).\"", @@ -313602,6 +314171,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": [ { @@ -315364,6 +315955,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", @@ -319312,6 +319925,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, @@ -340730,6 +341459,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", @@ -343079,6 +343830,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.", @@ -345047,6 +345825,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": { @@ -345122,6 +345915,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." }, @@ -345378,6 +346186,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 8ffc41243..a1feeea93 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -9078,6 +9078,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 @@ -12393,6 +12435,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 @@ -16358,6 +16440,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -24676,6 +24772,15 @@ paths: type: - string - 'null' + 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 @@ -24721,6 +24826,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 @@ -24895,6 +25001,15 @@ paths: type: - string - 'null' + 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 @@ -25196,7 +25311,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" @@ -65637,7 +65752,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" @@ -66312,6 +66427,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 @@ -94654,6 +94811,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 @@ -97218,6 +97469,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: |- @@ -100331,6 +100661,10 @@ 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. type: @@ -100338,6 +100672,14 @@ components: - 'null' examples: - monalisa + 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. @@ -100387,11 +100729,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. type: string examples: - monalisa + 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 @@ -117389,6 +117743,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: |- @@ -230492,6 +230925,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 @@ -232064,6 +232513,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 @@ -235421,6 +235886,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 @@ -253798,6 +254345,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 @@ -255913,6 +256476,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 @@ -257495,6 +258080,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: @@ -257541,6 +258135,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. @@ -257702,6 +258305,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 9322d5211..0efc46964 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -12745,6 +12745,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", @@ -17473,6 +17539,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", @@ -22777,6 +22903,16 @@ "examples": [ "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.\\-_]+$", + "examples": [ + "my-github-repo" + ] } }, "required": [ @@ -34251,6 +34387,11 @@ "null" ] }, + "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", @@ -34292,6 +34433,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" @@ -34526,6 +34668,11 @@ "null" ] }, + "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", @@ -34965,7 +35112,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -90941,7 +91088,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/projects-v2-field" + "$ref": "#/components/examples/projects-v2-field-items" } } } @@ -91967,6 +92114,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", @@ -130914,6 +131124,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", @@ -134407,17 +134744,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", @@ -134432,10 +134880,6 @@ "type": "string", "description": "SKU name." }, - "model": { - "type": "string", - "description": "Model name." - }, "unitType": { "type": "string", "description": "Unit type of the usage line item." @@ -134472,7 +134916,6 @@ "required": [ "product", "sku", - "model", "unitType", "pricePerUnit", "grossQuantity", @@ -138561,6 +139004,11 @@ ], "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.", "type": [ @@ -138571,6 +139019,11 @@ "monalisa" ] }, + "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": [ @@ -138630,6 +139083,11 @@ ], "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.", "type": "string", @@ -138637,6 +139095,11 @@ "monalisa" ] }, + "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": [ @@ -162482,6 +162945,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).\"", @@ -313602,6 +314171,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": [ { @@ -315364,6 +315955,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", @@ -319312,6 +319925,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, @@ -340730,6 +341459,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", @@ -343079,6 +343830,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.", @@ -345047,6 +345825,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": { @@ -345122,6 +345915,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." }, @@ -345378,6 +346186,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 8ffc41243..a1feeea93 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -9078,6 +9078,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 @@ -12393,6 +12435,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 @@ -16358,6 +16440,20 @@ paths: default: active examples: - 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.\\-_]+$" + examples: + - my-github-repo required: - name - digest @@ -24676,6 +24772,15 @@ paths: type: - string - 'null' + 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 @@ -24721,6 +24826,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 @@ -24895,6 +25001,15 @@ paths: type: - string - 'null' + 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 @@ -25196,7 +25311,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" @@ -65637,7 +65752,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" @@ -66312,6 +66427,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 @@ -94654,6 +94811,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 @@ -97218,6 +97469,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: |- @@ -100331,6 +100661,10 @@ 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. type: @@ -100338,6 +100672,14 @@ components: - 'null' examples: - monalisa + 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. @@ -100387,11 +100729,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. type: string examples: - monalisa + 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 @@ -117389,6 +117743,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: |- @@ -230492,6 +230925,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 @@ -232064,6 +232513,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 @@ -235421,6 +235886,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 @@ -253798,6 +254345,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 @@ -255913,6 +256476,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 @@ -257495,6 +258080,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: @@ -257541,6 +258135,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. @@ -257702,6 +258305,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-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json index 68a856608..fda52fe10 100644 --- a/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.16/dereferenced/ghes-3.16.2022-11-28.deref.json @@ -144149,6 +144149,11 @@ ], "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.", "type": [ @@ -144159,6 +144164,11 @@ "monalisa" ] }, + "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 {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}