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 497839f020..d31d1f79da 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 @@ -4906,6 +4906,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4959,6 +4962,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5009,6 +5015,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5059,6 +5068,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5106,6 +5118,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5159,6 +5174,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6877,6 +6895,63 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot enterprise user-teams report for a specific day", @@ -19373,6 +19448,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -19441,6 +19521,143 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -26133,6 +26350,63 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -131622,6 +131896,52 @@ "commit_message" ] }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -131994,6 +132314,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -153182,6 +153505,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -169007,6 +169333,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -170926,6 +171255,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -222821,6 +223158,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -225956,6 +226296,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -229094,6 +229437,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -232341,6 +232687,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -235585,6 +235934,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -238732,6 +239084,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -241874,6 +242229,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -245398,6 +245756,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -248372,6 +248733,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -251353,6 +251717,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -254338,6 +254705,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -260582,6 +260952,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -263826,6 +264199,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -267114,6 +267490,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -270345,6 +270724,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -273476,6 +273858,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -276388,6 +276773,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -279677,6 +280065,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -280264,6 +280655,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -283212,6 +283606,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -286355,6 +286752,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -289507,6 +289907,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -292652,6 +293055,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -295776,6 +296182,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -347977,6 +348386,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -348298,16 +348717,6 @@ } } }, - "gone": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "code_quality_forbidden_read": { "description": "Response if the user is not authorized to access Code quality for this repository.", "content": { 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 7d2efa7375..a395f422b9 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 @@ -3734,6 +3734,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3772,6 +3774,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3810,6 +3814,8 @@ paths: "$ref": "#/components/examples/classroom-assignment-grades" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3847,6 +3853,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3883,6 +3891,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3921,6 +3931,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5222,6 +5234,49 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot enterprise user-teams report for a specific day @@ -14365,6 +14420,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -14412,6 +14475,107 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. + required: + - total_count + examples: + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -19480,6 +19644,51 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot organization user-teams report for a specific day @@ -95924,6 +96133,40 @@ components: - merge_method - commit_title - commit_message + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull request belongs to. + sha: + type: string + description: The base SHA of the stack this pull request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the stack. + position: + type: integer + description: The one-based position of this pull request within the stack, + where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request belongs to. + number: + type: integer + description: The number of the stack that this pull request belongs to. + required: + - base pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -96171,6 +96414,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -111414,6 +111659,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -122985,6 +123232,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -124416,6 +124665,14 @@ components: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` covers specific + provider patterns and custom patterns; `generic` covers non-specific patterns + and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -162291,6 +162548,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -164664,6 +164923,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -167039,6 +167300,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -169487,6 +169750,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -171936,6 +172201,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -174318,6 +174585,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -176696,6 +176965,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -179366,6 +179637,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -181618,6 +181891,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -183875,6 +184150,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -186139,6 +186416,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -190812,6 +191091,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193265,6 +193546,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195755,6 +196038,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -198195,6 +198480,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200569,6 +200856,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -202736,6 +203025,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -205194,6 +205485,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -205646,6 +205939,8 @@ components: "$ref": "#/components/schemas/enterprise-webhooks" installation: "$ref": "#/components/schemas/simple-installation" + stack: + "$ref": "#/components/schemas/pull-request-stack" number: "$ref": "#/components/schemas/webhooks_number" organization: @@ -207876,6 +208171,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -210246,6 +210543,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -212632,6 +212931,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -215003,6 +215304,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -217365,6 +217668,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -260438,6 +260743,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + gone: + description: Gone + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" internal_error: description: Internal Error content: @@ -260638,12 +260949,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - gone: - description: Gone - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" code_quality_forbidden_read: description: Response if the user is not authorized to access Code quality for this repository. diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index d2cc995f1e..47522f3a02 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -4906,6 +4906,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4959,6 +4962,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5009,6 +5015,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5059,6 +5068,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5106,6 +5118,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5159,6 +5174,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6877,6 +6895,63 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot enterprise user-teams report for a specific day", @@ -19372,6 +19447,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -19440,6 +19520,143 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -26091,6 +26308,63 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -131058,6 +131332,52 @@ "commit_message" ] }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -131411,6 +131731,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -152521,6 +152844,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -168554,6 +168880,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -170472,6 +170801,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -222332,6 +222669,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -225450,6 +225790,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -228571,6 +228914,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -231811,6 +232157,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -235048,6 +235397,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -238178,6 +238530,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -241303,6 +241658,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -244810,6 +245168,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -247767,6 +248128,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -250731,6 +251095,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -253699,6 +254066,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -259919,6 +260289,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -263146,6 +263519,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -266417,6 +266793,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -269631,6 +270010,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -272745,6 +273127,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -275650,6 +276035,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -278932,6 +279320,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -279518,6 +279909,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -282450,6 +282844,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -285576,6 +285973,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -288711,6 +289111,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -291839,6 +292242,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -294946,6 +295352,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -347020,6 +347429,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -347341,16 +347760,6 @@ } } }, - "gone": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "code_quality_forbidden_read": { "description": "Response if the user is not authorized to access Code quality for this repository.", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 8a443565c6..44db9ea544 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -3734,6 +3734,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3772,6 +3774,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3810,6 +3814,8 @@ paths: "$ref": "#/components/examples/classroom-assignment-grades" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3847,6 +3853,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3883,6 +3891,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3921,6 +3931,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5222,6 +5234,49 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot enterprise user-teams report for a specific day @@ -14363,6 +14418,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -14410,6 +14473,107 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. + required: + - total_count + examples: + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -19446,6 +19610,51 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot organization user-teams report for a specific day @@ -95505,6 +95714,40 @@ components: - merge_method - commit_title - commit_message + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull request belongs to. + sha: + type: string + description: The base SHA of the stack this pull request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the stack. + position: + type: integer + description: The one-based position of this pull request within the stack, + where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request belongs to. + number: + type: integer + description: The number of the stack that this pull request belongs to. + required: + - base pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -95742,6 +95985,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -110931,6 +111176,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -122655,6 +122902,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -124085,6 +124334,14 @@ components: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` covers specific + provider patterns and custom patterns; `generic` covers non-specific patterns + and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -161931,6 +162188,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -164287,6 +164546,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -166645,6 +166906,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -169088,6 +169351,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -171532,6 +171797,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -173897,6 +174164,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -176258,6 +176527,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -178911,6 +179182,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -181146,6 +181419,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -183386,6 +183661,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -185633,6 +185910,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -190284,6 +190563,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -192720,6 +193001,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195193,6 +195476,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -197616,6 +197901,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199973,6 +200260,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -202135,6 +202424,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -204588,6 +204879,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -205039,6 +205332,8 @@ components: "$ref": "#/components/schemas/enterprise-webhooks" installation: "$ref": "#/components/schemas/simple-installation" + stack: + "$ref": "#/components/schemas/pull-request-stack" number: "$ref": "#/components/schemas/webhooks_number" organization: @@ -207253,6 +207548,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -209606,6 +209903,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211975,6 +212274,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -214329,6 +214630,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -216674,6 +216977,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -259633,6 +259938,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + gone: + description: Gone + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" internal_error: description: Internal Error content: @@ -259833,12 +260144,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - gone: - description: Gone - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" code_quality_forbidden_read: description: Response if the user is not authorized to access Code quality for this repository. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 2f26cedfb3..783aa4825f 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -4920,6 +4920,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -4973,6 +4976,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5023,6 +5029,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5073,6 +5082,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5120,6 +5132,9 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -5173,6 +5188,9 @@ } } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { @@ -6891,6 +6909,63 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot enterprise user-teams report for a specific day", @@ -19419,6 +19494,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -19487,6 +19567,143 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -26235,6 +26452,63 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/day" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + } + } + } + } + }, + "204": { + "$ref": "#/components/responses/no_content" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -132393,6 +132667,52 @@ "commit_message" ] }, + "pull-request-stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "pull-request-simple": { "title": "Pull Request Simple", "description": "Pull Request Simple", @@ -132765,6 +133085,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -154218,6 +154541,9 @@ "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -170207,6 +170533,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -172174,6 +172503,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -224093,6 +224430,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -227258,6 +227598,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -230426,6 +230769,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -233703,6 +234049,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -236963,6 +237312,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -240126,6 +240478,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -243298,6 +243653,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -246852,6 +247210,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -249856,6 +250217,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -252867,6 +253231,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -255882,6 +256249,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -262172,6 +262542,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -265416,6 +265789,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -268750,6 +269126,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -271981,6 +272360,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -275158,6 +275540,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -278100,6 +278485,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -281405,6 +281793,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "type": "string", "enum": [ @@ -282008,6 +282399,9 @@ "installation": { "$ref": "#/components/schemas/simple-installation" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "number": { "$ref": "#/components/schemas/webhooks_number" }, @@ -284956,6 +285350,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -288129,6 +288526,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -291311,6 +291711,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -294486,6 +294889,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -297640,6 +298046,9 @@ "type": "string", "format": "uri" }, + "stack": { + "$ref": "#/components/schemas/pull-request-stack" + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -350119,6 +350528,16 @@ } } }, + "gone": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "internal_error": { "description": "Internal Error", "content": { @@ -350440,16 +350859,6 @@ } } }, - "gone": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } - }, "code_quality_forbidden_read": { "description": "Response if the user is not authorized to access Code quality for this repository.", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d7b0c8b6b6..16c3d0da84 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -3742,6 +3742,8 @@ paths: "$ref": "#/components/examples/classroom-assignment" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3780,6 +3782,8 @@ paths: examples: default: "$ref": "#/components/examples/classroom-accepted-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3818,6 +3822,8 @@ paths: "$ref": "#/components/examples/classroom-assignment-grades" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3855,6 +3861,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3891,6 +3899,8 @@ paths: "$ref": "#/components/examples/classroom" '404': "$ref": "#/components/responses/not_found" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -3929,6 +3939,8 @@ paths: examples: default: "$ref": "#/components/examples/simple-classroom-assignment" + '410': + "$ref": "#/components/responses/gone" x-github: enabledForGitHubApps: true category: classroom @@ -5230,6 +5242,49 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot enterprise user-teams report for a specific day @@ -14390,6 +14445,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -14437,6 +14500,107 @@ paths: examples: default: "$ref": "#/components/examples/artifact-deployment-record-list" + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. + required: + - total_count + examples: + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -19534,6 +19698,51 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/day" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/copilot-usage-metrics-1-day-report" + examples: + default: + "$ref": "#/components/examples/copilot-usage-metrics-1-day-report" + '204': + "$ref": "#/components/responses/no_content" + '500': + "$ref": "#/components/responses/internal_error" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": get: summary: Get Copilot organization user-teams report for a specific day @@ -96426,6 +96635,40 @@ components: - merge_method - commit_title - commit_message + pull-request-stack: + title: Pull Request Stack + description: The stack information associated with a pull request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull request belongs to. + sha: + type: string + description: The base SHA of the stack this pull request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the stack. + position: + type: integer + description: The one-based position of this pull request within the stack, + where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request belongs to. + number: + type: integer + description: The number of the stack that this pull request belongs to. + required: + - base pull-request-simple: title: Pull Request Simple description: Pull Request Simple @@ -96673,6 +96916,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -112135,6 +112380,8 @@ components: "$ref": "#/components/schemas/author-association" auto_merge: "$ref": "#/components/schemas/auto-merge" + stack: + "$ref": "#/components/schemas/pull-request-stack" draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -123842,6 +124089,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -125315,6 +125564,14 @@ components: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` covers specific + provider patterns and custom patterns; `generic` covers non-specific patterns + and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -163208,6 +163465,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -165596,6 +165855,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -167986,6 +168247,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -170449,6 +170712,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -172906,6 +173171,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -175296,6 +175563,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -177689,6 +177958,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -180374,6 +180645,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -182641,6 +182914,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -184913,6 +185188,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -187192,6 +187469,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -191888,6 +192167,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -194341,6 +194622,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -196854,6 +197137,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199294,6 +199579,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201691,6 +201978,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -203873,6 +204162,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -206339,6 +206630,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: type: string enum: @@ -206799,6 +207092,8 @@ components: "$ref": "#/components/schemas/enterprise-webhooks" installation: "$ref": "#/components/schemas/simple-installation" + stack: + "$ref": "#/components/schemas/pull-request-stack" number: "$ref": "#/components/schemas/webhooks_number" organization: @@ -209029,6 +209324,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211414,6 +211711,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -213815,6 +214114,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -216201,6 +216502,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -218578,6 +218881,8 @@ components: review_comments_url: type: string format: uri + stack: + "$ref": "#/components/schemas/pull-request-stack" state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -261791,6 +262096,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + gone: + description: Gone + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" internal_error: description: Internal Error content: @@ -261991,12 +262302,6 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" - gone: - description: Gone - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" code_quality_forbidden_read: description: Response if the user is not authorized to access Code quality for this repository. 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 c0cf820f34..2104374ed1 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 @@ -18396,6 +18396,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -18858,6 +18884,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19024,6 +19076,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19129,6 +19207,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19312,6 +19416,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19603,6 +19733,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -27703,17 +27859,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { "get": { - "summary": "Get Copilot enterprise user-teams report for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", + "operationId": "copilot/copilot-enterprise-repos-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" }, "parameters": [ { @@ -27782,6 +27938,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -27869,17 +28028,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { - "summary": "Get Copilot users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise user-teams report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-one-day-usage-metrics", + "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" }, "parameters": [ { @@ -28035,17 +28194,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { "get": { - "summary": "Get Copilot users usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-usage-metrics", + "operationId": "copilot/copilot-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -28056,6 +28215,19 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } } ], "responses": { @@ -28065,8 +28237,8 @@ "application/json": { "schema": { "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", "properties": { "download_links": { "type": "array", @@ -28074,23 +28246,17 @@ "type": "string", "format": "uri" }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." }, - "report_end_day": { + "report_day": { "type": "string", "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." + "description": "The day of the report in `YYYY-MM-DD` format." } }, "required": [ "download_links", - "report_start_day", - "report_end_day" + "report_day" ] }, "examples": { @@ -28100,8 +28266,7 @@ "https://example.com/copilot-usage-report-1.ndjson", "https://example.com/copilot-usage-report-2.ndjson" ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" + "report_day": "2025-07-01" } } } @@ -28195,17 +28360,17 @@ } } }, - "/enterprises/{enterprise}/copilot/policies/coding_agent": { - "put": { - "summary": "Set the coding agent policy for an enterprise", - "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/set-enterprise-coding-agent-policy", + "operationId": "copilot/copilot-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" }, "parameters": [ { @@ -28218,46 +28383,206 @@ } } ], - "requestBody": { - "description": "The coding agent policy configuration", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policy_state": { - "type": "string", - "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", - "enum": [ - "enabled_for_all_orgs", - "disabled_for_all_orgs", - "enabled_for_selected_orgs", - "configured_by_org_admins" - ] - } + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] }, - "required": [ - "policy_state" - ] - }, - "examples": { - "default": { - "summary": "Enable coding agent for all organizations", - "value": { - "policy_state": "enabled_for_all_orgs" + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } } } } } - } - }, - "responses": { - "204": { - "description": "A header with no content is returned." }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -116233,6 +116558,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -116375,6 +116705,199 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -145427,6 +145950,175 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "204": { + "description": "A header with no content is returned." + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -216308,6 +217000,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -227961,6 +228699,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -388858,6 +389642,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -617574,6 +618404,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -622357,6 +623233,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -630612,6 +631534,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -635670,6 +636638,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -649111,6 +650125,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -654006,6 +655066,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -807750,6 +808856,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -879002,6 +880154,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1023025,6 +1024223,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1400639,6 +1401883,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1405736,6 +1407026,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1410836,6 +1412172,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1417022,6 +1418404,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1423398,6 +1424826,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1428968,6 +1430442,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1434054,6 +1435574,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1440316,6 +1441882,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1445596,6 +1447208,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1450746,6 +1452404,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1455851,6 +1457555,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1461228,6 +1462978,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1467410,6 +1469206,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1473786,6 +1475628,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1480162,6 +1482050,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1485682,6 +1487616,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1490989,6 +1492969,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1496318,6 +1498344,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1501265,6 +1503337,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1511642,6 +1513760,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1516758,6 +1518922,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1522008,6 +1524218,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1527111,6 +1529367,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1532204,6 +1534506,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1537287,6 +1539635,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1542538,6 +1544932,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1544991,6 +1547431,52 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1548036,6 +1550522,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1553142,6 +1555674,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1558354,6 +1560932,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1563502,6 +1566126,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1568589,6 +1571259,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1646891,6 +1649607,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1650123,6 +1652847,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1653187,6 +1655919,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1656757,6 +1659497,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1659820,6 +1662568,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1662883,6 +1665639,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1665947,6 +1668711,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1669011,6 +1671783,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1672075,6 +1674855,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1675307,6 +1678095,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", 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 92428ded10..b910bcc54d 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 @@ -447,7 +447,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &45 + - &46 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 results before this cursor. For @@ -456,7 +456,7 @@ paths: required: false schema: type: string - - &46 + - &47 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 results after this cursor. For @@ -465,7 +465,7 @@ paths: required: false schema: type: string - - &60 + - &61 name: direction description: The direction to sort the results by. in: query @@ -704,7 +704,7 @@ paths: required: - vector_string - score - cvss_severities: &62 + cvss_severities: &63 type: - object - 'null' @@ -751,7 +751,7 @@ paths: required: - vector_string - score - epss: &63 + epss: &64 type: - object - 'null' @@ -914,7 +914,7 @@ paths: - subscriptions_url - type - url - type: &331 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1047,7 +1047,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &126 title: Validation Error Simple description: Validation Error Simple type: object @@ -1080,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &685 + - &686 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4196,7 +4196,7 @@ paths: schema: type: integer default: 30 - - &219 + - &220 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 @@ -4205,7 +4205,7 @@ paths: required: false schema: type: string - - &220 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4225,7 +4225,7 @@ paths: application/json: schema: type: array - items: &221 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4321,7 +4321,7 @@ paths: - installation_id - repository_id examples: - default: &222 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4384,7 +4384,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &125 title: Validation Error description: Validation Error type: object @@ -4456,7 +4456,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4591,7 +4591,7 @@ paths: - request - response examples: - default: &224 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4651,7 +4651,7 @@ paths: parameters: - *16 responses: - '202': &37 + '202': &38 description: Accepted content: application/json: @@ -4767,7 +4767,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &35 + '304': &36 description: Not modified '401': &23 description: Requires authentication @@ -4795,7 +4795,7 @@ paths: parameters: - *17 - *19 - - &87 + - &88 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) @@ -5400,7 +5400,7 @@ paths: suspended_at: suspended_by: headers: - Link: &66 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -5593,7 +5593,7 @@ paths: - selected repositories: type: array - items: &78 + items: &79 title: Repository description: A repository on GitHub. type: object @@ -5620,7 +5620,7 @@ paths: license: anyOf: - type: 'null' - - &84 + - &85 title: License Simple description: License Simple type: object @@ -7117,7 +7117,7 @@ paths: - node_id - private - default_branch - classroom: &32 + classroom: &33 title: Classroom description: A GitHub Classroom classroom type: object @@ -7240,6 +7240,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &31 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7334,7 +7339,7 @@ paths: - avatar_url - html_url repository: *30 - assignment: &34 + assignment: &35 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7443,7 +7448,7 @@ paths: format: date-time examples: - '2011-01-26T19:06:43Z' - classroom: &31 + classroom: &32 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7542,6 +7547,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7649,6 +7655,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7681,7 +7688,7 @@ paths: application/json: schema: type: array - items: *31 + items: *32 examples: default: value: @@ -7689,6 +7696,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7712,7 +7720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &33 + - &34 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7724,7 +7732,7 @@ paths: description: Response content: application/json: - schema: *32 + schema: *33 examples: default: value: @@ -7740,6 +7748,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7763,7 +7772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *33 + - *34 - *19 - *17 responses: @@ -7773,7 +7782,7 @@ paths: application/json: schema: type: array - items: *34 + items: *35 examples: default: value: @@ -7799,6 +7808,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7824,7 +7834,7 @@ paths: application/json: schema: type: array - items: &36 + items: &37 title: Code Of Conduct description: Code Of Conduct type: object @@ -7912,7 +7922,7 @@ paths: name: Contributor Covenant url: https://api.github.com/codes_of_conduct/contributor_covenant html_url: https://www.contributor-covenant.org/version/2/0/code_of_conduct/ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7939,7 +7949,7 @@ paths: description: Response content: application/json: - schema: *36 + schema: *37 examples: default: value: @@ -7994,7 +8004,7 @@ paths: This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/). html_url: http://contributor-covenant.org/version/1/4/ '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8054,9 +8064,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *37 + '202': *38 '422': *7 - '500': &53 + '500': &54 description: Internal Error content: application/json: @@ -9965,7 +9975,7 @@ paths: zombie_woman: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8 zzz: https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8 description: Response - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9986,7 +9996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &38 + - &39 name: enterprise description: The slug version of the enterprise name. in: path @@ -9998,7 +10008,7 @@ paths: description: Response content: application/json: - schema: &39 + schema: &40 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -10011,7 +10021,7 @@ paths: examples: - 14 examples: - default: &40 + default: &41 value: max_cache_retention_days: 80 '403': *27 @@ -10035,14 +10045,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *39 + schema: *40 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -10069,13 +10079,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -10088,7 +10098,7 @@ paths: examples: - 10 examples: - default: &42 + default: &43 value: max_cache_size_gb: 150 '403': *27 @@ -10112,14 +10122,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -10145,7 +10155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -10153,7 +10163,7 @@ paths: application/json: schema: type: array - items: &43 + items: &44 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -10201,12 +10211,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: &137 + schema: &138 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -10218,7 +10228,7 @@ paths: required: - custom_property_name examples: - default: &44 + default: &45 value: custom_property_name: environment responses: @@ -10226,9 +10236,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -10253,7 +10263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 - name: custom_property_name in: path required: true @@ -10289,7 +10299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -10298,8 +10308,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -10307,7 +10317,7 @@ paths: application/json: schema: type: array - items: &47 + items: &48 type: object description: A code security configuration properties: @@ -10636,7 +10646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -10714,7 +10724,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &51 + code_scanning_options: &52 type: - object - 'null' @@ -10733,7 +10743,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &50 + code_scanning_default_setup_options: &51 type: - object - 'null' @@ -10859,9 +10869,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: &48 + default: &49 value: id: 1325 target_type: enterprise @@ -10913,13 +10923,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &191 + schema: &192 type: array description: A list of default code security configurations items: @@ -10933,9 +10943,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *47 + configuration: *48 examples: - default: &192 + default: &193 value: - default_for_new_repos: public configuration: @@ -11018,8 +11028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *38 - - &49 + - *39 + - &50 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -11031,10 +11041,10 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 x-github: @@ -11057,8 +11067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11137,8 +11147,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11234,13 +11244,13 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 - '409': &52 + '409': &53 description: Conflict content: application/json: @@ -11267,15 +11277,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 responses: - '204': &59 + '204': &58 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11299,8 +11309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11324,10 +11334,10 @@ paths: value: scope: all responses: - '202': *37 + '202': *38 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11351,8 +11361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11392,12 +11402,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: &190 + configuration: &191 value: id: 1325 target_type: organization @@ -11458,8 +11468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *38 - - *49 + - *39 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -11468,8 +11478,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11487,7 +11497,7 @@ paths: application/json: schema: type: array - items: &193 + items: &194 type: object description: Repositories associated with a code security configuration and attachment status @@ -11505,7 +11515,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &65 + repository: &66 title: Simple Repository description: A GitHub repository. type: object @@ -11832,7 +11842,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &194 + repository: &195 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11925,8 +11935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - - *38 - - &54 + - *39 + - &55 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -11941,7 +11951,7 @@ paths: description: Response content: application/json: - schema: &55 + schema: &56 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -11962,13 +11972,13 @@ paths: - download_links - report_day examples: - default: &56 + default: &57 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_day: '2025-07-01' - '500': *53 + '500': *54 '403': *27 '404': *6 x-github: @@ -11994,13 +12004,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &57 + schema: &59 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -12028,14 +12038,51 @@ paths: - report_start_day - report_end_day examples: - default: &58 + default: &60 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_start_day: '2025-07-01' report_end_day: '2025-07-28' - '500': *53 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - *39 + - *55 + responses: + '200': + description: Response + content: + application/json: + schema: *56 + examples: + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -12061,17 +12108,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12097,17 +12144,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12133,16 +12180,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -12170,7 +12217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise parameters: - - *38 + - *39 requestBody: description: The coding agent policy configuration required: true @@ -12197,7 +12244,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12224,7 +12271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -12273,7 +12320,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12299,7 +12346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -12349,7 +12396,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12373,8 +12420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *38 - - &202 + - *39 + - &203 name: classification in: query description: |- @@ -12383,7 +12430,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &203 + - &204 name: state in: query description: |- @@ -12392,7 +12439,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &204 + - &205 name: severity in: query description: |- @@ -12401,7 +12448,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &205 + - &206 name: ecosystem in: query description: |- @@ -12410,14 +12457,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &206 + - &207 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 - - &207 + - &208 name: epss_percentage in: query description: |- @@ -12429,7 +12476,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 - - &488 + - &489 name: has in: query description: |- @@ -12443,7 +12490,7 @@ paths: type: string enum: - patch - - &208 + - &209 name: assignee in: query description: |- @@ -12452,7 +12499,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &209 + - &210 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12462,7 +12509,7 @@ paths: enum: - development - runtime - - &210 + - &211 name: sort in: query description: |- @@ -12477,9 +12524,9 @@ paths: - updated - epss_percentage default: created - - *60 - - *45 + - *61 - *46 + - *47 - *17 responses: '200': @@ -12488,11 +12535,11 @@ paths: application/json: schema: type: array - items: &211 + items: &212 type: object description: A Dependabot alert. properties: - number: &180 + number: &181 type: integer description: The security alert number. readOnly: true @@ -12510,7 +12557,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &61 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -12559,7 +12606,7 @@ paths: - transitive - inconclusive - - security_advisory: &489 + security_advisory: &490 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12590,13 +12637,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &64 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *61 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -12671,8 +12718,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *62 - epss: *63 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -12772,30 +12819,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *64 - url: &183 + security_vulnerability: *65 + url: &184 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &184 + html_url: &185 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &181 + created_at: &182 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: &182 + updated_at: &183 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: &186 + dismissed_at: &187 type: - string - 'null' @@ -12826,7 +12873,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &185 + fixed_at: &186 type: - string - 'null' @@ -12834,7 +12881,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &490 + auto_dismissed_at: &491 type: - string - 'null' @@ -12842,7 +12889,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &491 + dismissal_request: &492 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12886,7 +12933,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *65 + repository: *66 required: - number - state @@ -12905,7 +12952,7 @@ paths: - repository additionalProperties: false examples: - default: &212 + default: &213 value: - number: 2 state: dismissed @@ -13243,7 +13290,7 @@ paths: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - '304': *35 + '304': *36 '403': *27 '404': *6 '422': *7 @@ -13267,7 +13314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise parameters: - - *38 + - *39 - name: page in: query description: The page number of results to fetch. @@ -13290,7 +13337,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13313,10 +13360,10 @@ paths: items: anyOf: - type: 'null' - - *65 + - *66 additionalProperties: false examples: - default: &214 + default: &215 value: default_level: public accessible_repositories: @@ -13416,7 +13463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13480,7 +13527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13525,7 +13572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *38 + - *39 - *17 - *19 responses: @@ -13535,7 +13582,7 @@ paths: application/json: schema: type: array - items: &67 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13622,7 +13669,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -13640,7 +13687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *38 + - *39 requestBody: required: true content: @@ -13709,9 +13756,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: &75 + default: &76 value: id: 1 name: Justice League @@ -13739,8 +13786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *38 - - &68 + - *39 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13759,7 +13806,7 @@ paths: type: array items: *4 examples: - default: &69 + default: &70 value: - login: octocat id: 1 @@ -13780,7 +13827,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13797,8 +13844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -13829,7 +13876,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13846,8 +13893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -13878,7 +13925,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13895,9 +13942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *38 - - *68 - - &70 + - *39 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -13911,7 +13958,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &71 + exampleKey1: &72 value: login: octocat id: 1 @@ -13946,9 +13993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -13956,7 +14003,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *71 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13973,9 +14020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '204': description: Response @@ -13996,8 +14043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 - *17 - *19 responses: @@ -14007,7 +14054,7 @@ paths: application/json: schema: type: array - items: &72 + items: &73 title: Organization Simple description: A GitHub organization. type: object @@ -14079,7 +14126,7 @@ paths: - avatar_url - description examples: - default: &73 + default: &74 value: login: github id: 1 @@ -14109,8 +14156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14138,9 +14185,9 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: &111 + default: &112 value: - login: github id: 1 @@ -14170,8 +14217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14211,9 +14258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *38 - - *68 - - &74 + - *39 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -14225,9 +14272,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -14245,17 +14292,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14271,9 +14318,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -14296,8 +14343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *38 - - &76 + - *39 + - &77 name: team_slug description: The slug of the team name. in: path @@ -14309,11 +14356,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14330,8 +14377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 requestBody: required: true content: @@ -14399,11 +14446,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14423,8 +14470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 responses: '204': description: Response @@ -14462,7 +14509,7 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Event description: Event type: object @@ -14473,7 +14520,7 @@ paths: type: - string - 'null' - actor: &77 + actor: &78 title: Actor description: Actor type: object @@ -14514,7 +14561,7 @@ paths: - id - name - url - org: *77 + org: *78 payload: oneOf: - title: CreateEvent @@ -14561,7 +14608,7 @@ paths: properties: action: type: string - discussion: &778 + discussion: &779 title: Discussion description: A Discussion in a repository. type: object @@ -14858,7 +14905,7 @@ paths: - id labels: type: array - items: &81 + items: &82 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -14941,7 +14988,7 @@ paths: properties: action: type: string - issue: &82 + issue: &83 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -15062,7 +15109,7 @@ paths: milestone: anyOf: - type: 'null' - - &281 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -15234,7 +15281,7 @@ paths: timeline_url: type: string format: uri - type: &245 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -15290,12 +15337,12 @@ paths: - node_id - name - description - repository: *78 + repository: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &79 + author_association: &80 title: author_association type: string description: How the author is associated with the @@ -15311,7 +15358,7 @@ paths: - OWNER examples: - OWNER - reactions: &80 + reactions: &81 title: Reaction Rollup type: object properties: @@ -15347,7 +15394,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &696 + sub_issues_summary: &697 title: Sub-issues Summary type: object properties: @@ -15371,7 +15418,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &83 + - &84 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15422,12 +15469,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -15477,7 +15524,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &697 + issue_dependencies_summary: &698 title: Issue Dependencies Summary type: object properties: @@ -15632,10 +15679,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - issue @@ -15644,8 +15691,8 @@ paths: properties: action: type: string - issue: *82 - comment: *83 + issue: *83 + comment: *84 required: - action - issue @@ -15824,7 +15871,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 allow_forking: type: boolean is_template: @@ -15915,7 +15962,7 @@ paths: type: string number: type: integer - pull_request: &85 + pull_request: &86 title: Pull Request Minimal type: object properties: @@ -15986,10 +16033,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - number @@ -15999,7 +16046,7 @@ paths: properties: action: type: string - pull_request: *85 + pull_request: *86 comment: type: object properties: @@ -16253,7 +16300,7 @@ paths: - pull_request updated_at: type: string - pull_request: *85 + pull_request: *86 required: - action - review @@ -16302,7 +16349,7 @@ paths: updated_at: type: string format: date-time - reactions: *80 + reactions: *81 required: - action - comment @@ -16313,7 +16360,7 @@ paths: type: string release: allOf: - - &609 + - &610 title: Release description: A release. type: object @@ -16395,7 +16442,7 @@ paths: author: *4 assets: type: array - items: &610 + items: &611 title: Release Asset description: Data related to a release. type: object @@ -16470,7 +16517,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *80 + reactions: *81 required: - assets_url - upload_url @@ -16561,9 +16608,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *35 + '304': *36 '403': *27 - '503': &114 + '503': &115 description: Service unavailable content: application/json: @@ -16665,7 +16712,7 @@ paths: _links: type: object properties: - timeline: &86 + timeline: &87 title: Link With Type description: Hypermedia Link with Type type: object @@ -16677,17 +16724,17 @@ paths: required: - href - type - user: *86 - security_advisories: *86 - current_user: *86 - current_user_public: *86 - current_user_actor: *86 - current_user_organization: *86 + user: *87 + security_advisories: *87 + current_user: *87 + current_user_public: *87 + current_user_actor: *87 + current_user_organization: *87 current_user_organizations: type: array - items: *86 - repository_discussions: *86 - repository_discussions_category: *86 + items: *87 + repository_discussions: *87 + repository_discussions_category: *87 required: - timeline - user @@ -16749,7 +16796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *87 + - *88 - *17 - *19 responses: @@ -16759,7 +16806,7 @@ paths: application/json: schema: type: array - items: &88 + items: &89 title: Base Gist description: Base Gist type: object @@ -16856,7 +16903,7 @@ paths: - created_at - updated_at examples: - default: &89 + default: &90 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -16901,8 +16948,8 @@ paths: site_admin: false truncated: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -16980,7 +17027,7 @@ paths: description: Response content: application/json: - schema: &90 + schema: &91 title: Gist Simple description: Gist Simple type: object @@ -16998,7 +17045,7 @@ paths: url: type: string format: uri - user: &705 + user: &706 title: Public User description: Public User type: object @@ -17372,7 +17419,7 @@ paths: truncated: type: boolean examples: - default: &91 + default: &92 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -17454,7 +17501,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -17476,7 +17523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17486,13 +17533,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17510,7 +17557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17520,13 +17567,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17549,7 +17596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &92 + - &93 name: gist_id description: The unique identifier of the gist. in: path @@ -17561,10 +17608,10 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 - '403': &95 + default: *92 + '403': &96 description: Forbidden Gist content: application/json: @@ -17587,7 +17634,7 @@ paths: documentation_url: type: string '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17612,7 +17659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *92 + - *93 requestBody: required: true content: @@ -17676,9 +17723,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - updateGist: *91 + updateGist: *92 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -17836,12 +17883,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17864,7 +17911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *92 + - *93 - *17 - *19 responses: @@ -17874,7 +17921,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Gist Comment description: A comment made to a gist. type: object @@ -17912,7 +17959,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *79 + author_association: *80 required: - url - id @@ -17952,8 +17999,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -17976,7 +18023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *92 + - *93 requestBody: required: true content: @@ -18002,9 +18049,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: &94 + default: &95 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -18037,7 +18084,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18061,8 +18108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *92 - - &96 + - *93 + - &97 name: comment_id description: The unique identifier of the comment. in: path @@ -18075,12 +18122,12 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 - '304': *35 + default: *95 + '304': *36 '404': *6 - '403': *95 + '403': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18101,8 +18148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 requestBody: required: true content: @@ -18128,9 +18175,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 + default: *95 '404': *6 x-github: githubCloudOnly: false @@ -18147,12 +18194,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18171,7 +18218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *92 + - *93 - *17 - *19 responses: @@ -18254,7 +18301,7 @@ paths: schema: type: string '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18272,7 +18319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *92 + - *93 - *17 - *19 responses: @@ -18282,7 +18329,7 @@ paths: application/json: schema: type: array - items: *90 + items: *91 examples: default: value: @@ -18328,9 +18375,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18347,13 +18394,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *92 + - *93 responses: '201': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: value: @@ -18406,7 +18453,7 @@ paths: type: string '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18424,7 +18471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *92 + - *93 responses: '204': description: Response if gist is starred @@ -18436,7 +18483,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18454,12 +18501,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18476,11 +18523,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *92 + - *93 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18504,7 +18551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *92 + - *93 - name: sha in: path required: true @@ -18515,9 +18562,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 + default: *92 '422': *15 '404': *6 '403': *27 @@ -18557,7 +18604,7 @@ paths: - Bancha - C - C++ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18644,7 +18691,7 @@ paths: *.exe *.out *.app - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18680,7 +18727,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -18816,9 +18863,9 @@ paths: environment: production service: web headers: - Link: *66 + Link: *67 '403': *27 - '304': *35 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -18900,7 +18947,7 @@ paths: - closed - all default: open - - &248 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18918,8 +18965,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - name: collab in: query required: false @@ -18949,9 +18996,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &249 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19196,9 +19243,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -19231,7 +19278,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -19270,7 +19317,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19467,7 +19514,7 @@ paths: featured: true '403': *27 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19529,7 +19576,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &97 + X-CommonMarker-Version: &98 example: 0.17.4 schema: type: string @@ -19541,7 +19588,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19584,7 +19631,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *97 + X-CommonMarker-Version: *98 content: text/html: schema: @@ -19593,7 +19640,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19613,7 +19660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &100 + - &101 name: account_id description: account_id parameter in: path @@ -19625,7 +19672,7 @@ paths: description: Response content: application/json: - schema: &99 + schema: &100 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -19659,7 +19706,7 @@ paths: - 'null' id: type: integer - plan: &98 + plan: &99 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -19762,7 +19809,7 @@ paths: - 'null' updated_at: type: string - plan: *98 + plan: *99 required: - url - id @@ -19770,7 +19817,7 @@ paths: - login - marketplace_purchase examples: - default: &101 + default: &102 value: url: https://api.github.com/orgs/github type: Organization @@ -19855,9 +19902,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &102 + default: &103 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -19875,7 +19922,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '401': *23 x-github: @@ -19897,14 +19944,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &103 + - &104 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &104 + - &105 name: sort description: The property to sort the results by. in: query @@ -19934,9 +19981,9 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: &105 + default: &106 value: - url: https://api.github.com/orgs/github type: Organization @@ -19987,7 +20034,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '422': *15 '401': *23 @@ -20010,15 +20057,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *100 + - *101 responses: '200': description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *101 + default: *102 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -20050,11 +20097,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *102 + default: *103 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -20075,8 +20122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *103 - *104 + - *105 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -20096,11 +20143,11 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: *105 + default: *106 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -20344,7 +20391,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20363,14 +20410,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &339 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &340 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20387,7 +20434,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -20431,8 +20478,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *27 - '304': *35 - '301': &343 + '304': *36 + '301': &344 description: Moved permanently content: application/json: @@ -20471,7 +20518,7 @@ paths: schema: type: boolean default: false - - *87 + - *88 - &587 name: before description: 'Only show notifications updated before the given time. This @@ -20497,14 +20544,14 @@ paths: application/json: schema: type: array - items: &107 + items: &108 title: Thread description: Thread type: object properties: id: type: string - repository: &155 + repository: &156 title: Minimal Repository description: Minimal Repository type: object @@ -20818,7 +20865,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *36 + code_of_conduct: *37 license: type: - object @@ -20854,7 +20901,7 @@ paths: type: boolean examples: - false - security_and_analysis: &296 + security_and_analysis: &297 type: - object - 'null' @@ -21147,8 +21194,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -21212,7 +21259,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21231,7 +21278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &108 + - &109 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 @@ -21245,7 +21292,7 @@ paths: description: Response content: application/json: - schema: *107 + schema: *108 examples: default: value: @@ -21328,7 +21375,7 @@ paths: last_read_at: '2014-11-07T22:01:45Z' url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21347,11 +21394,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *108 + - *109 responses: '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -21369,7 +21416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *108 + - *109 responses: '204': description: No content @@ -21392,13 +21439,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: &109 + schema: &110 title: Thread Subscription description: Thread Subscription type: object @@ -21442,7 +21489,7 @@ paths: - url - subscribed examples: - default: &110 + default: &111 value: subscribed: true ignored: false @@ -21450,7 +21497,7 @@ paths: created_at: '2012-10-06T21:34:12Z' url: https://api.github.com/notifications/threads/1/subscription thread_url: https://api.github.com/notifications/threads/1 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21473,7 +21520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *108 + - *109 requestBody: required: false content: @@ -21494,10 +21541,10 @@ paths: description: Response content: application/json: - schema: *109 + schema: *110 examples: - default: *110 - '304': *35 + default: *111 + '304': *36 '403': *27 '401': *23 x-github: @@ -21519,11 +21566,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *108 + - *109 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21614,15 +21661,15 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21643,13 +21690,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -21661,7 +21708,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -21683,14 +21730,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -21717,13 +21764,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &113 + schema: &114 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -21735,7 +21782,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -21757,14 +21804,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *113 + schema: *114 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -21790,8 +21837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *74 - - &116 + - *75 + - &117 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, @@ -21800,7 +21847,7 @@ paths: required: false schema: type: integer - - &117 + - &118 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 @@ -21809,7 +21856,7 @@ paths: required: false schema: type: integer - - &118 + - &119 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 @@ -21818,21 +21865,21 @@ paths: required: false schema: type: integer - - &119 + - &120 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &120 + - &121 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &122 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21948,8 +21995,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21968,7 +22015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *74 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -22208,7 +22255,7 @@ paths: total_count: 2 '404': *6 '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22226,7 +22273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -22462,8 +22509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *74 - - &115 + - *75 + - &116 name: budget_id description: The ID corresponding to the budget. in: path @@ -22574,8 +22621,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22592,8 +22639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 requestBody: required: true content: @@ -22831,8 +22878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 responses: '200': description: Response when deleting a budget @@ -22858,8 +22905,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22879,13 +22926,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - *119 - *120 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -22995,8 +23042,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23016,9 +23063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *74 - - *116 - - &756 + - *75 + - *117 + - &757 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 @@ -23027,7 +23074,7 @@ paths: required: false schema: type: integer - - *118 + - *119 responses: '200': description: Billing usage report response for an organization @@ -23102,8 +23149,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23126,19 +23173,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - - &757 + - *119 + - &758 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &758 + - *122 + - &759 name: sku description: The SKU to query for usage. in: query @@ -23248,8 +23295,8 @@ paths: netAmount: 8.0 '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23275,13 +23322,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &123 title: Organization Full description: Organization Full type: object @@ -23676,7 +23723,7 @@ paths: - updated_at - archived_at examples: - default-response: &123 + default-response: &124 value: login: github id: 1 @@ -23776,7 +23823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -23993,18 +24040,18 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *123 + default: *124 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - *125 - '409': *52 + - *126 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24027,9 +24074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *74 + - *75 responses: - '202': *37 + '202': *38 '404': *6 '403': *27 x-github: @@ -24052,7 +24099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24078,7 +24125,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24099,7 +24146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -24117,7 +24164,7 @@ paths: type: integer repository_cache_usages: type: array - items: &350 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24155,7 +24202,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24175,7 +24222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -24193,7 +24240,7 @@ paths: type: integer runners: type: array - items: &126 + items: &127 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -24256,7 +24303,7 @@ paths: - size_gb - display_name - source - machine_size_details: &134 + machine_size_details: &135 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -24365,7 +24412,7 @@ paths: - public_ip_enabled - platform examples: - default: &154 + default: &155 value: total_count: 2 runners: @@ -24407,7 +24454,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24425,7 +24472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -24503,9 +24550,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: &135 + default: &136 value: id: 5 name: My hosted ubuntu runner @@ -24546,7 +24593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24562,7 +24609,7 @@ paths: type: integer images: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -24621,7 +24668,7 @@ paths: - latest_version - state examples: - default: &129 + default: &130 value: total_count: 2 image_versions: @@ -24652,8 +24699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *74 - - &128 + - *75 + - &129 name: image_definition_id description: Image definition ID of custom image in: path @@ -24665,7 +24712,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -24695,8 +24742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *74 - - *128 + - *75 + - *129 responses: '204': description: Response @@ -24719,8 +24766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *74 + - *129 + - *75 responses: '200': description: Response @@ -24736,7 +24783,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &131 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -24774,7 +24821,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24794,9 +24841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *74 - - *128 - - &131 + - *75 + - *129 + - &132 name: version description: Version of a custom image in: path @@ -24809,7 +24856,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: default: value: @@ -24835,9 +24882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *74 - - *128 - - *131 + - *75 + - *129 + - *132 responses: '204': description: Response @@ -24858,7 +24905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24874,7 +24921,7 @@ paths: type: integer images: type: array - items: &132 + items: &133 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -24914,7 +24961,7 @@ paths: - display_name - source examples: - default: &133 + default: &134 value: id: ubuntu-20.04 platform: linux-x64 @@ -24938,7 +24985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24954,9 +25001,9 @@ paths: type: integer images: type: array - items: *132 + items: *133 examples: - default: *133 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24973,7 +25020,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25028,7 +25075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25044,7 +25091,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *135 examples: default: value: @@ -25069,7 +25116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25113,8 +25160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *74 - - &136 + - *75 + - &137 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -25126,11 +25173,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25148,8 +25195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 requestBody: required: true content: @@ -25216,9 +25263,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25234,16 +25281,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 responses: '202': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25263,7 +25310,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -25271,7 +25318,7 @@ paths: application/json: schema: type: array - items: *43 + items: *44 examples: default: value: @@ -25296,22 +25343,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *138 examples: - default: *44 + default: *45 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -25335,7 +25382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 - name: custom_property_name in: path required: true @@ -25368,7 +25415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -25394,7 +25441,7 @@ paths: required: - include_claim_keys examples: - default: &138 + default: &139 value: include_claim_keys: - repo @@ -25416,7 +25463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -25439,13 +25486,13 @@ paths: format. type: boolean examples: - default: *138 + default: *139 responses: '201': description: Empty response content: application/json: - schema: &164 + schema: &165 title: Empty Object description: An object without any properties. type: object @@ -25475,7 +25522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25484,7 +25531,7 @@ paths: schema: type: object properties: - enabled_repositories: &139 + enabled_repositories: &140 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25497,7 +25544,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: &140 + allowed_actions: &141 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -25505,12 +25552,12 @@ paths: - all - local_only - selected - selected_actions_url: &355 + selected_actions_url: &356 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: &141 + sha_pinning_required: &142 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -25541,7 +25588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25552,9 +25599,9 @@ paths: schema: type: object properties: - enabled_repositories: *139 - allowed_actions: *140 - sha_pinning_required: *141 + enabled_repositories: *140 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled_repositories examples: @@ -25582,13 +25629,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &359 + schema: &360 type: object properties: days: @@ -25625,12 +25672,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &360 + schema: &361 type: object properties: days: @@ -25647,7 +25694,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -25667,13 +25714,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: approval_policy: @@ -25687,7 +25734,7 @@ paths: required: - approval_policy examples: - default: &361 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -25708,7 +25755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25718,7 +25765,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -25740,13 +25787,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -25772,7 +25819,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &143 + default: &144 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -25795,12 +25842,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &363 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -25823,7 +25870,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -25853,7 +25900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -25871,9 +25918,9 @@ paths: type: number repositories: type: array - items: *78 + items: *79 examples: - default: &147 + default: &148 value: total_count: 1 repositories: @@ -26013,7 +26060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -26057,8 +26104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - &144 + - *75 + - &145 name: repository_id description: The unique identifier of the repository. in: path @@ -26086,8 +26133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -26110,13 +26157,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &145 + schema: &146 type: object properties: github_owned_allowed: @@ -26138,7 +26185,7 @@ paths: items: type: string examples: - default: &146 + default: &147 value: github_owned_allowed: true verified_allowed: false @@ -26163,7 +26210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -26171,9 +26218,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26193,7 +26240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -26241,7 +26288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26268,7 +26315,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26288,7 +26335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -26303,9 +26350,9 @@ paths: type: integer repositories: type: array - items: *78 + items: *79 examples: - default: *147 + default: *148 '403': *27 '404': *6 x-github: @@ -26325,7 +26372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26373,14 +26420,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26400,14 +26447,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26429,23 +26476,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &364 + schema: &365 type: object properties: - default_workflow_permissions: &148 + default_workflow_permissions: &149 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &149 + can_approve_pull_request_reviews: &150 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -26453,7 +26500,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &150 + default: &151 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -26478,7 +26525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Success response @@ -26486,13 +26533,13 @@ paths: required: false content: application/json: - schema: &365 + schema: &366 type: object properties: - default_workflow_permissions: *148 - can_approve_pull_request_reviews: *149 + default_workflow_permissions: *149 + can_approve_pull_request_reviews: *150 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26512,7 +26559,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *74 + - *75 - *17 - *19 - name: visible_to_repository @@ -26537,7 +26584,7 @@ paths: type: number runner_groups: type: array - items: &151 + items: &152 type: object properties: id: @@ -26654,7 +26701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26727,9 +26774,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: &153 + default: &154 value: id: 2 name: octo-runner-group @@ -26764,8 +26811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - &152 + - *75 + - &153 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -26777,7 +26824,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -26813,8 +26860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -26870,9 +26917,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: *153 + default: *154 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26891,8 +26938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *74 - - *152 + - *75 + - *153 responses: '204': description: Response @@ -26915,8 +26962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -26934,11 +26981,11 @@ paths: type: number runners: type: array - items: *126 + items: *127 examples: - default: *154 + default: *155 headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26958,8 +27005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *19 - *17 responses: @@ -26977,9 +27024,9 @@ paths: type: number repositories: type: array - items: *155 + items: *156 examples: - default: &201 + default: &202 value: total_count: 1 repositories: @@ -27231,8 +27278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27276,9 +27323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -27300,9 +27347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -27325,8 +27372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -27344,7 +27391,7 @@ paths: type: number runners: type: array - items: &157 + items: &158 title: Self hosted runners description: A self hosted runner type: object @@ -27378,7 +27425,7 @@ paths: type: boolean labels: type: array - items: &160 + items: &161 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -27417,7 +27464,7 @@ paths: - busy - labels examples: - default: &158 + default: &159 value: total_count: 2 runners: @@ -27459,7 +27506,7 @@ paths: name: no-gpu type: custom headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27478,8 +27525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27523,9 +27570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *74 - - *152 - - &156 + - *75 + - *153 + - &157 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -27553,9 +27600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *74 - - *152 - - *156 + - *75 + - *153 + - *157 responses: '204': description: Response @@ -27585,7 +27632,7 @@ paths: in: query schema: type: string - - *74 + - *75 - *17 - *19 responses: @@ -27603,11 +27650,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27629,7 +27676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -27637,7 +27684,7 @@ paths: application/json: schema: type: array - items: &366 + items: &367 title: Runner Application description: Runner Application type: object @@ -27662,7 +27709,7 @@ paths: - download_url - filename examples: - default: &367 + default: &368 value: - os: osx architecture: x64 @@ -27705,7 +27752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -27748,7 +27795,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &368 + '201': &369 description: Response content: application/json: @@ -27758,7 +27805,7 @@ paths: - runner - encoded_jit_config properties: - runner: *157 + runner: *158 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -27787,7 +27834,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27815,13 +27862,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: &159 + schema: &160 title: Authentication Token description: Authentication Token type: object @@ -27845,7 +27892,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *78 + items: *79 single_file: type: - string @@ -27863,7 +27910,7 @@ paths: - token - expires_at examples: - default: &369 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27894,15 +27941,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &370 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27927,16 +27974,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &371 + default: &372 value: id: 23 name: MBP @@ -27978,8 +28025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '204': description: Response @@ -28005,10 +28052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &161 + '200': &162 description: Response content: application/json: @@ -28022,7 +28069,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -28061,8 +28108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -28086,7 +28133,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28110,8 +28157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -28136,7 +28183,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28160,10 +28207,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &372 + '200': &373 description: Response content: application/json: @@ -28177,7 +28224,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -28218,9 +28265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 - - &373 + - *75 + - *157 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -28228,7 +28275,7 @@ paths: schema: type: string responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28253,7 +28300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -28271,7 +28318,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &163 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28305,7 +28352,7 @@ paths: - updated_at - visibility examples: - default: &168 + default: &169 value: total_count: 3 secrets: @@ -28323,7 +28370,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28346,13 +28393,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &169 + schema: &170 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28387,7 +28434,7 @@ paths: - key_id - key examples: - default: &170 + default: &171 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28412,8 +28459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *74 - - &163 + - *75 + - &164 name: secret_name description: The name of the secret. in: path @@ -28425,9 +28472,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: &171 + default: &172 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28455,8 +28502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -28513,7 +28560,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -28539,8 +28586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -28566,8 +28613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -28585,9 +28632,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: &167 + default: &168 value: total_count: 1 repositories: @@ -28679,8 +28726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -28732,8 +28779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -28766,8 +28813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -28799,8 +28846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *74 - - &172 + - *75 + - &173 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)." @@ -28824,7 +28871,7 @@ paths: type: integer variables: type: array - items: &165 + items: &166 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28872,7 +28919,7 @@ paths: - updated_at - visibility examples: - default: &173 + default: &174 value: total_count: 3 variables: @@ -28893,7 +28940,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28914,7 +28961,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -28962,7 +29009,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -28987,8 +29034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *74 - - &166 + - *75 + - &167 name: name description: The name of the variable. in: path @@ -29000,9 +29047,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &174 + default: &175 value: name: USERNAME value: octocat @@ -29030,8 +29077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29093,8 +29140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -29120,8 +29167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -29139,9 +29186,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29167,8 +29214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29217,8 +29264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29252,8 +29299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29287,7 +29334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -29305,11 +29352,11 @@ paths: type: integer secrets: type: array - items: *162 + items: *163 examples: - default: *168 + default: *169 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29332,15 +29379,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29362,16 +29409,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: *171 + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29393,8 +29440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29451,7 +29498,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29477,8 +29524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -29504,8 +29551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -29523,9 +29570,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29548,8 +29595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29601,8 +29648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29635,8 +29682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29669,8 +29716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *74 - - *172 + - *75 + - *173 - *19 responses: '200': @@ -29687,11 +29734,11 @@ paths: type: integer variables: type: array - items: *165 + items: *166 examples: - default: *173 + default: *174 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29712,7 +29759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -29760,7 +29807,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29785,16 +29832,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *174 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29815,8 +29862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29878,8 +29925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -29905,8 +29952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -29924,9 +29971,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29952,8 +29999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -30002,8 +30049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -30037,8 +30084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -30079,7 +30126,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -30205,7 +30252,7 @@ paths: type: integer deployment_records: type: array - items: &175 + items: &176 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -30252,7 +30299,7 @@ paths: required: - total_count examples: - default: &176 + default: &177 value: total_count: 1 deployment_records: @@ -30293,7 +30340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *74 + - *75 - name: cluster in: path description: The cluster name. @@ -30394,6 +30441,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -30434,11 +30489,111 @@ paths: type: integer deployment_records: type: array - items: *175 + items: *176 + required: + - total_count + examples: + default: *177 + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: *176 + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. required: - total_count examples: - default: *176 + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -30485,7 +30640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -30664,7 +30819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *74 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -30690,9 +30845,9 @@ paths: - 3 deployment_records: type: array - items: *175 + items: *176 examples: - default: *176 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30712,7 +30867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *74 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30796,9 +30951,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 requestBody: required: true content: @@ -30822,12 +30977,12 @@ paths: required: - subject_digests examples: - default: &737 + default: &738 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &738 + withPredicateType: &739 value: subject_digests: - sha256:abc123 @@ -30886,7 +31041,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &739 + default: &740 value: attestations_subject_digests: - sha256:abc: @@ -30995,7 +31150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -31060,7 +31215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -31093,9 +31248,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -31143,7 +31298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -31179,9 +31334,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -31237,7 +31392,7 @@ paths: initiator: type: string examples: - default: &399 + default: &400 value: attestations: - bundle: @@ -31344,7 +31499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -31356,7 +31511,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31375,8 +31530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -31401,8 +31556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31422,8 +31577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31448,15 +31603,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *74 + - *75 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &177 + schema: &178 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -31482,7 +31637,7 @@ paths: application/json: schema: type: array - items: &178 + items: &179 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -31513,7 +31668,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &200 + items: &201 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31602,7 +31757,7 @@ paths: parent: anyOf: - type: 'null' - - &260 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -31738,7 +31893,7 @@ paths: - string - 'null' format: date-time - state: *177 + state: *178 contact_link: description: The contact link of the campaign. type: @@ -31834,9 +31989,9 @@ paths: closed_at: state: open headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31860,7 +32015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -31961,9 +32116,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: &179 + default: &180 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -32012,7 +32167,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32034,7 +32189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32046,16 +32201,16 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32076,7 +32231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32126,7 +32281,7 @@ paths: - string - 'null' format: uri - state: *177 + state: *178 examples: default: value: @@ -32136,9 +32291,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '400': description: Bad Request content: @@ -32150,7 +32305,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32171,7 +32326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32182,7 +32337,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32204,18 +32359,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *74 - - &425 + - *75 + - &426 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: &187 + schema: &188 type: string description: The name of the tool used to generate the code scanning analysis. - - &426 + - &427 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 @@ -32223,23 +32378,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &188 + schema: &189 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *45 - *46 + - *47 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &428 + schema: &429 type: string description: State of a code scanning alert. enum: @@ -32262,7 +32417,7 @@ paths: be returned. in: query required: false - schema: &429 + schema: &430 type: string description: Severity of a code scanning alert. enum: @@ -32291,18 +32446,18 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: &430 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: &431 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &189 + state: &190 type: - string - 'null' @@ -32312,13 +32467,13 @@ paths: - dismissed - fixed - - fixed_at: *185 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: &431 + dismissed_at: *187 + dismissed_reason: &432 type: - string - 'null' @@ -32329,14 +32484,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &432 + dismissed_comment: &433 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &433 + rule: &434 type: object properties: id: @@ -32397,43 +32552,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &434 + tool: &435 type: object properties: - name: *187 + name: *188 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *188 - most_recent_instance: &435 + guid: *189 + most_recent_instance: &436 type: object properties: - ref: &427 + ref: &428 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &446 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &447 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &448 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: *189 + state: *190 commit_sha: type: string message: @@ -32447,7 +32602,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &449 type: object description: Describe a region within a file for the alert. properties: @@ -32468,7 +32623,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &450 type: - string - 'null' @@ -32480,7 +32635,7 @@ paths: - test - library - - repository: *65 + repository: *66 dismissal_approved_by: anyOf: - type: 'null' @@ -32732,9 +32887,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32756,7 +32911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *74 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -32775,8 +32930,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -32784,7 +32939,7 @@ paths: application/json: schema: type: array - items: *47 + items: *48 examples: default: value: @@ -32862,7 +33017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *74 + - *75 requestBody: required: true content: @@ -32949,7 +33104,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *51 + code_scanning_options: *52 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -32958,7 +33113,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *50 + code_scanning_default_setup_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33103,9 +33258,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: *190 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33127,16 +33282,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 - '304': *35 + default: *193 + '304': *36 '403': *27 '404': *6 x-github: @@ -33161,7 +33316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -33189,11 +33344,11 @@ paths: - 32 - 91 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33215,17 +33370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: '200': description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *190 - '304': *35 + default: *191 + '304': *36 '403': *27 '404': *6 x-github: @@ -33248,8 +33403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33336,8 +33491,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33469,7 +33624,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *47 + schema: *48 examples: default: value: @@ -33528,14 +33683,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33559,8 +33714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33599,7 +33754,7 @@ paths: - 32 - 91 responses: - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33623,8 +33778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33664,12 +33819,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: *190 + configuration: *191 '403': *27 '404': *6 x-github: @@ -33693,8 +33848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -33703,8 +33858,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -33722,13 +33877,13 @@ paths: application/json: schema: type: array - items: *193 + items: *194 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *194 + repository: *195 '403': *27 '404': *6 x-github: @@ -33752,7 +33907,7 @@ paths: parameters: - *17 - *19 - - *74 + - *75 responses: '200': description: Response @@ -33768,7 +33923,7 @@ paths: type: integer codespaces: type: array - items: &250 + items: &251 type: object title: Codespace description: A codespace. @@ -33799,11 +33954,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *155 + repository: *156 machine: anyOf: - type: 'null' - - &461 + - &462 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34090,7 +34245,7 @@ paths: - pulls_url - recent_folders examples: - default: &251 + default: &252 value: total_count: 3 codespaces: @@ -34499,8 +34654,8 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -34522,7 +34677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34561,12 +34716,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34589,7 +34744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34616,12 +34771,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34644,7 +34799,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *74 + - *75 requestBody: required: true content: @@ -34670,12 +34825,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34696,7 +34851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -34714,7 +34869,7 @@ paths: type: integer secrets: type: array - items: &195 + items: &196 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -34755,7 +34910,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &463 value: total_count: 2 secrets: @@ -34768,7 +34923,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34787,13 +34942,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34828,7 +34983,7 @@ paths: - key_id - key examples: - default: &464 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34851,23 +35006,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &466 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34887,8 +35042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -34943,7 +35098,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -34969,8 +35124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -34995,8 +35150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -35014,9 +35169,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '404': *6 x-github: githubCloudOnly: false @@ -35038,8 +35193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -35089,8 +35244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -35123,8 +35278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -35160,7 +35315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -35194,7 +35349,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &196 + items: &197 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -35250,7 +35405,7 @@ paths: owner: anyOf: - *4 - - *72 + - *73 description: The user or organization that owns this space. creator: *4 created_at: @@ -35470,7 +35625,7 @@ paths: html_url: https://github.com/copilot/spaces/octo-org/4 api_url: https://api.github.com/organizations/1/copilot-spaces/4 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -35494,7 +35649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *74 + - *75 requestBody: required: true content: @@ -35591,9 +35746,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &197 + default: &198 summary: Example response for an organization copilot space value: id: 84 @@ -35686,7 +35841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35698,9 +35853,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 x-github: @@ -35724,7 +35879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35829,9 +35984,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 '422': *15 @@ -35858,7 +36013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35894,7 +36049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35914,7 +36069,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &198 + items: &199 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -36088,7 +36243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36139,7 +36294,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -36219,7 +36374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36269,7 +36424,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -36351,7 +36506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36400,7 +36555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36420,7 +36575,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &199 + items: &200 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36510,7 +36665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36564,7 +36719,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36580,7 +36735,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36617,7 +36772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36635,7 +36790,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36669,7 +36824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36704,7 +36859,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36739,7 +36894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36782,7 +36937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -36891,7 +37046,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -36923,7 +37078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *74 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -36946,7 +37101,7 @@ paths: currently being billed. seats: type: array - items: &253 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -36959,13 +37114,13 @@ paths: organization: anyOf: - type: 'null' - - *72 + - *73 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *200 - - *67 + - *201 + - *68 type: - 'null' - object @@ -37095,8 +37250,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37129,7 +37284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37171,7 +37326,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37207,7 +37362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37249,7 +37404,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37287,7 +37442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37328,7 +37483,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37364,7 +37519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37406,7 +37561,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37442,7 +37597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -37479,7 +37634,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37507,7 +37662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37532,7 +37687,7 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37562,7 +37717,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -37577,17 +37732,17 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 required: - total_count - repositories examples: - default: *201 - '500': *53 + default: *202 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37611,7 +37766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37637,11 +37792,11 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -37667,16 +37822,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -37701,16 +37856,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37741,7 +37896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -37761,7 +37916,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37794,7 +37949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -37846,7 +38001,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37881,18 +38036,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37920,16 +38075,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *74 + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *57 + schema: *56 examples: - default: *58 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37957,18 +38151,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37996,18 +38190,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -38035,16 +38229,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -38068,13 +38262,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *74 - - *202 + - *75 - *203 - *204 - *205 - *206 - *207 + - *208 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38104,7 +38298,7 @@ paths: enum: - patch - deployment - - *208 + - *209 - name: runtime_risk in: query description: |- @@ -38113,11 +38307,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -38126,10 +38320,10 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 - '304': *35 + default: *213 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -38154,7 +38348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *74 + - *75 - name: page in: query description: The page number of results to fetch. @@ -38177,9 +38371,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '403': *27 '404': *6 x-github: @@ -38210,7 +38404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -38276,7 +38470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *74 + - *75 requestBody: required: true content: @@ -38325,7 +38519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38343,7 +38537,7 @@ paths: type: integer secrets: type: array - items: &215 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38395,7 +38589,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38416,13 +38610,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &494 + schema: &495 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38441,7 +38635,7 @@ paths: - key_id - key examples: - default: &495 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38464,14 +38658,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -38499,8 +38693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -38557,7 +38751,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -38581,8 +38775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -38606,8 +38800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -38625,9 +38819,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38648,8 +38842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -38699,8 +38893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -38731,8 +38925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -38762,7 +38956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -38770,7 +38964,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Package description: A software package type: object @@ -38823,7 +39017,7 @@ paths: repository: anyOf: - type: 'null' - - *155 + - *156 created_at: type: string format: date-time @@ -38841,7 +39035,7 @@ paths: - created_at - updated_at examples: - default: &263 + default: &264 value: - id: 197 name: hello_docker @@ -38919,7 +39113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38929,7 +39123,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -39001,7 +39195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *74 + - *75 - *17 - *19 responses: @@ -39011,7 +39205,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -39065,7 +39259,7 @@ paths: - invitation_teams_url - node_id examples: - default: &240 + default: &241 value: - id: 1 login: monalisa @@ -39098,7 +39292,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -39122,7 +39316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *74 + - *75 - *17 - *19 responses: @@ -39132,7 +39326,7 @@ paths: application/json: schema: type: array - items: &216 + items: &217 title: Org Hook description: Org Hook type: object @@ -39232,7 +39426,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -39255,7 +39449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *74 + - *75 requestBody: required: true content: @@ -39317,9 +39511,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: &217 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39366,8 +39560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *74 - - &218 + - *75 + - &219 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. @@ -39380,9 +39574,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39409,8 +39603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39456,7 +39650,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: default: value: @@ -39497,8 +39691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -39525,8 +39719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 responses: '200': description: Response @@ -39556,8 +39750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39607,11 +39801,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *74 - - *218 - - *17 + - *75 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -39619,9 +39813,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -39646,17 +39840,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -39681,11 +39875,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -39711,8 +39905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -39734,8 +39928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *74 - - &229 + - *75 + - &230 name: actor_type in: path description: The type of the actor @@ -39748,14 +39942,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &230 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &225 + - &226 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`.' @@ -39763,7 +39957,7 @@ paths: required: true schema: type: string - - &226 + - &227 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) @@ -39774,7 +39968,7 @@ paths: type: string - *19 - *17 - - *60 + - *61 - name: sort description: The property to sort the results by. in: query @@ -39857,13 +40051,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 - *19 - *17 - - *60 - - &235 + - *61 + - &236 name: sort description: The property to sort the results by. in: query @@ -39941,15 +40135,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &227 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39965,7 +40159,7 @@ paths: type: integer format: int64 examples: - default: &228 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39985,24 +40179,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *74 - - &231 + - *75 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *225 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40020,19 +40214,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *74 - - *225 + - *75 - *226 - - *229 + - *227 - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40049,10 +40243,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *74 - - *225 + - *75 - *226 - - &232 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40065,7 +40259,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40081,7 +40275,7 @@ paths: type: integer format: int64 examples: - default: &234 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40117,19 +40311,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *74 - - *231 - - *225 - - *226 + - *75 - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40146,20 +40340,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *74 - - *229 + - *75 - *230 - - *225 + - *231 - *226 - - *232 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40176,14 +40370,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *74 - - *231 - - *225 + - *75 + - *232 - *226 + - *227 - *19 - *17 - - *60 - - *235 + - *61 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40259,7 +40453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -40267,7 +40461,7 @@ paths: application/json: schema: *20 examples: - default: &532 + default: &533 value: id: 1 account: @@ -40336,7 +40530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -40406,7 +40600,7 @@ paths: suspended_at: suspended_by: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40425,7 +40619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40433,12 +40627,12 @@ paths: application/json: schema: anyOf: - - &237 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &236 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40466,7 +40660,7 @@ paths: properties: {} additionalProperties: false examples: - default: &238 + default: &239 value: limit: collaborators_only origin: organization @@ -40490,18 +40684,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &533 + schema: &534 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *236 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40526,9 +40720,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -40546,7 +40740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -40570,7 +40764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *74 + - *75 - *17 - *19 - name: role @@ -40604,11 +40798,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -40629,7 +40823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *74 + - *75 requestBody: required: false content: @@ -40683,7 +40877,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -40737,8 +40931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *74 - - &241 + - *75 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40768,8 +40962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *74 - - *241 + - *75 + - *242 - *17 - *19 responses: @@ -40779,9 +40973,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &261 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40797,7 +40991,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -40816,7 +41010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40824,7 +41018,7 @@ paths: application/json: schema: type: array - items: &242 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -40993,7 +41187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -41087,9 +41281,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: &243 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -41144,8 +41338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *74 - - &244 + - *75 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -41255,9 +41449,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *6 '422': *7 x-github: @@ -41281,10 +41475,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *74 - - *244 + - *75 + - *245 responses: - '204': *59 + '204': *58 '404': *6 '422': *7 x-github: @@ -41304,7 +41498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -41312,9 +41506,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: &537 + default: &538 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41350,7 +41544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -41400,9 +41594,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: &246 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41434,8 +41628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *74 - - &247 + - *75 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41491,9 +41685,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *7 x-github: @@ -41517,8 +41711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *74 - - *247 + - *75 + - *248 responses: '204': description: Response @@ -41551,7 +41745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *74 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -41581,7 +41775,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -41599,8 +41793,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -41610,11 +41804,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -41634,7 +41828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *74 + - *75 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -41672,9 +41866,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -41692,8 +41886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -41727,8 +41921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -41754,8 +41948,8 @@ paths: parameters: - *17 - *19 - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response @@ -41771,11 +41965,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41798,9 +41992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *74 - - *70 - - &252 + - *75 + - *71 + - &253 name: codespace_name in: path required: true @@ -41808,9 +42002,9 @@ paths: schema: type: string responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41833,17 +42027,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *74 - - *70 - - *252 + - *75 + - *71 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &460 + default: &461 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41984,8 +42178,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42016,14 +42210,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *253 + schema: *254 examples: default: value: @@ -42067,7 +42261,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42092,14 +42286,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &254 + schema: &255 title: Org Membership description: Org Membership type: object @@ -42148,7 +42342,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *72 + organization: *73 user: anyOf: - type: 'null' @@ -42168,7 +42362,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &255 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42240,8 +42434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -42269,9 +42463,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *255 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 x-github: @@ -42295,8 +42489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -42321,7 +42515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *74 + - *75 - *17 - *19 - name: exclude @@ -42343,7 +42537,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Migration description: A migration. type: object @@ -42385,7 +42579,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *78 + items: *79 url: type: string format: uri @@ -42584,7 +42778,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42600,7 +42794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *74 + - *75 requestBody: required: true content: @@ -42681,7 +42875,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -42859,8 +43053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *74 - - &257 + - *75 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -42888,7 +43082,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -43057,8 +43251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '302': description: Response @@ -43079,8 +43273,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '204': description: Response @@ -43103,9 +43297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *74 - - *257 - - &720 + - *75 + - *258 + - &721 name: repo_name description: repo_name parameter in: path @@ -43132,8 +43326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *74 - - *257 + - *75 + - *258 - *17 - *19 responses: @@ -43143,9 +43337,9 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: &268 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43258,7 +43452,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -43284,7 +43478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response - list of organization roles @@ -43300,7 +43494,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &259 + items: &260 title: Organization Role description: Organization roles type: object @@ -43449,8 +43643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -43475,9 +43669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *74 - - *76 - - &258 + - *75 + - *77 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -43512,9 +43706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *74 - - *76 - - *258 + - *75 + - *77 + - *259 responses: '204': description: Response @@ -43539,8 +43733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -43565,9 +43759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43597,9 +43791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43627,14 +43821,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -43684,8 +43878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -43764,7 +43958,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 type: description: The ownership type of the team type: string @@ -43797,9 +43991,9 @@ paths: - type - parent examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -43826,8 +44020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -43856,7 +44050,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *260 + items: *261 name: type: - string @@ -43973,9 +44167,9 @@ paths: - type - url examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -43997,7 +44191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *74 + - *75 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44024,9 +44218,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44049,8 +44243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -44107,8 +44301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -44165,8 +44359,8 @@ paths: - docker - nuget - container - - *74 - - &721 + - *75 + - &722 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44202,12 +44396,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '401': *23 - '400': &723 + '400': &724 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44229,7 +44423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &264 + - &265 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 @@ -44247,20 +44441,20 @@ paths: - docker - nuget - container - - &265 + - &266 name: package_name description: The name of the package. in: path required: true schema: type: string - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: default: value: @@ -44312,9 +44506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 responses: '204': description: Response @@ -44346,9 +44540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - name: token description: package token schema: @@ -44380,9 +44574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - *19 - *17 - name: state @@ -44402,7 +44596,7 @@ paths: application/json: schema: type: array - items: &266 + items: &267 title: Package Version description: A version of a software package type: object @@ -44537,10 +44731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - &267 + - *266 + - *75 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -44552,7 +44746,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -44588,10 +44782,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -44623,10 +44817,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -44653,10 +44847,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 - *17 - *19 - - &269 + - &270 name: sort description: The property by which to sort the results. in: query @@ -44666,8 +44860,8 @@ paths: enum: - created_at default: created_at - - *60 - - &270 + - *61 + - &271 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44679,7 +44873,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &271 + - &272 name: repository description: The name of the repository to use to filter the results. in: query @@ -44688,7 +44882,7 @@ paths: type: string examples: - Hello-World - - &272 + - &273 name: permission description: The permission to use to filter the results. in: query @@ -44697,7 +44891,7 @@ paths: type: string examples: - issues_read - - &273 + - &274 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) @@ -44707,7 +44901,7 @@ paths: schema: type: string format: date-time - - &274 + - &275 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) @@ -44717,7 +44911,7 @@ paths: schema: type: string format: date-time - - &275 + - &276 name: token_id description: The ID of the token in: query @@ -44730,7 +44924,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -44865,7 +45059,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44885,7 +45079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -44927,11 +45121,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44952,7 +45146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44989,11 +45183,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45014,7 +45208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45025,7 +45219,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -45034,11 +45228,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45059,19 +45253,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *74 + - *75 - *17 - *19 - - *269 - - *60 - *270 + - *61 - *271 - *272 - *273 - *274 - *275 + - *276 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -45200,7 +45394,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45220,7 +45414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -45255,9 +45449,9 @@ paths: - 1296269 - 1296280 responses: - '500': *53 + '500': *54 '404': *6 - '202': *37 + '202': *38 '403': *27 '422': *15 x-github: @@ -45280,7 +45474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *74 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -45308,9 +45502,9 @@ paths: value: action: revoke responses: - '500': *53 + '500': *54 '404': *6 - '204': *59 + '204': *58 '403': *27 '422': *15 x-github: @@ -45332,7 +45526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *74 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -45342,7 +45536,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -45351,11 +45545,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45377,7 +45571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -45395,7 +45589,7 @@ paths: type: integer configurations: type: array - items: &276 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45537,7 +45731,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *66 + Link: *67 '400': *14 '404': *6 x-github: @@ -45560,7 +45754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -45912,7 +46106,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &277 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45953,7 +46147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -45981,7 +46175,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -46003,16 +46197,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -46034,8 +46228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -46223,8 +46417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -46247,15 +46441,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -46264,7 +46458,7 @@ paths: application/json: schema: type: array - items: &278 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -46338,7 +46532,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &806 + - &807 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46423,7 +46617,7 @@ paths: - deleted_at - deleted_by examples: - default: &279 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46506,8 +46700,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46526,25 +46720,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &280 + - &281 name: project_number description: The project's number. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46563,8 +46757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -46598,7 +46792,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -46611,8 +46805,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *82 - - &475 + - *83 + - &476 title: Pull Request Simple description: Pull Request Simple type: object @@ -46732,7 +46926,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -46781,7 +46975,7 @@ paths: items: *4 requested_teams: type: array - items: *200 + items: *201 head: type: object properties: @@ -46789,7 +46983,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -46809,7 +47003,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -46825,7 +47019,7 @@ paths: _links: type: object properties: - comments: &282 + comments: &283 title: Link description: Hypermedia Link type: object @@ -46834,13 +47028,13 @@ paths: type: string required: - href - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -46850,7 +47044,7 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. @@ -46877,6 +47071,46 @@ paths: - merge_method - commit_title - commit_message + stack: &596 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull + request belongs to. + sha: + type: string + description: The base SHA of the stack this pull + request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the + stack. + position: + type: integer + description: The one-based position of this pull request + within the stack, where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request + belongs to. + number: + type: integer + description: The number of the stack that this pull + request belongs to. + required: + - base draft: description: Indicates whether or not the pull request is a draft. @@ -46953,7 +47187,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &284 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46997,7 +47231,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &286 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47052,7 +47286,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 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -47071,11 +47305,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *280 - - *74 + - *281 + - *75 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -47083,7 +47317,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47236,7 +47470,7 @@ paths: - updated_at - project_url examples: - default: &743 + default: &744 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47347,8 +47581,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -47366,8 +47600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 requestBody: required: true content: @@ -47413,7 +47647,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &744 + items: &745 type: object properties: name: @@ -47450,7 +47684,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &745 + iteration_configuration: &746 type: object description: The configuration for iteration fields. properties: @@ -47500,7 +47734,7 @@ paths: value: name: Due date data_type: date - single_select_field: &746 + single_select_field: &747 summary: Create a single select field value: name: Priority @@ -47527,7 +47761,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &747 + iteration_field: &748 summary: Create an iteration field value: name: Sprint @@ -47551,9 +47785,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *283 + schema: *284 examples: - text_field: &748 + text_field: &749 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47562,7 +47796,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &749 + number_field: &750 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47571,7 +47805,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &750 + date_field: &751 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47580,7 +47814,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &751 + single_select_field: &752 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47614,7 +47848,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &752 + iteration_field: &753 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47639,7 +47873,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *35 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -47659,23 +47893,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *280 - - &753 + - *281 + - &754 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: &754 + default: &755 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47710,8 +47944,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -47731,8 +47965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -47754,8 +47988,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -47764,7 +47998,7 @@ paths: application/json: schema: type: array - items: &287 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -47781,7 +48015,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: *284 + content_type: *285 content: type: - object @@ -47831,7 +48065,7 @@ paths: - updated_at - archived_at examples: - default: &288 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48508,8 +48742,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48528,8 +48762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -48599,23 +48833,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -48634,9 +48868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *280 - - *74 - - &289 + - *281 + - *75 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -48662,12 +48896,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48685,9 +48919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48760,13 +48994,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -48786,9 +49020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 responses: '204': description: Response @@ -48811,8 +49045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true content: @@ -48886,7 +49120,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &734 + schema: &735 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48990,7 +49224,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &290 + value: &291 value: id: 1 number: 1 @@ -49036,11 +49270,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -49067,9 +49301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *280 - - *74 - - &755 + - *281 + - *75 + - &756 name: view_number description: The number that identifies the project view. in: path @@ -49091,8 +49325,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -49101,12 +49335,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -49128,7 +49362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -49136,7 +49370,7 @@ paths: application/json: schema: type: array - items: &291 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -49214,7 +49448,7 @@ paths: - property_name - value_type examples: - default: &292 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49263,7 +49497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -49274,7 +49508,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *291 + items: *292 minItems: 1 maxItems: 100 required: @@ -49304,9 +49538,9 @@ paths: application/json: schema: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 '403': *27 '404': *6 x-github: @@ -49327,8 +49561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *74 - - &293 + - *75 + - &294 name: custom_property_name description: The custom property name in: path @@ -49340,9 +49574,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &294 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49376,8 +49610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true content: @@ -49457,9 +49691,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *294 + default: *295 '403': *27 '404': *6 x-github: @@ -49482,10 +49716,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 responses: - '204': *59 + '204': *58 '403': *27 '404': *6 x-github: @@ -49506,7 +49740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 - *17 - *19 - name: repository_query @@ -49547,7 +49781,7 @@ paths: - octocat/Hello-World properties: type: array - items: &295 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -49589,7 +49823,7 @@ paths: - property_name: team value: octocat headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -49617,7 +49851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -49637,7 +49871,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - repository_names - properties @@ -49678,7 +49912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *74 + - *75 - *17 - *19 responses: @@ -49690,9 +49924,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49709,8 +49943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -49734,8 +49968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -49756,8 +49990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -49781,7 +50015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *74 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -49827,11 +50061,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49850,7 +50084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *74 + - *75 requestBody: required: true content: @@ -50032,7 +50266,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: Full Repository description: Full Repository type: object @@ -50391,7 +50625,7 @@ paths: template_repository: anyOf: - type: 'null' - - *78 + - *79 temp_clone_token: type: - string @@ -50491,13 +50725,13 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' - *4 - parent: *78 - source: *78 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -50510,7 +50744,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &480 + code_of_conduct: &481 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50540,7 +50774,7 @@ paths: - key - name - html_url - security_and_analysis: *296 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50624,7 +50858,7 @@ paths: - network_count - subscribers_count examples: - default: &344 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51142,10 +51376,10 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - *17 - *19 - - &618 + - &619 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51164,7 +51398,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -51199,7 +51433,7 @@ paths: source: type: string description: The name of the source - enforcement: &299 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -51212,7 +51446,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &300 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -51284,7 +51518,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &297 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -51308,7 +51542,7 @@ paths: match. items: type: string - - &301 + - &302 title: Organization ruleset conditions type: object description: |- @@ -51322,7 +51556,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -51356,7 +51590,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -51378,7 +51612,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -51391,7 +51625,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &298 + items: &299 title: Repository ruleset property targeting definition type: object @@ -51424,7 +51658,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *298 + items: *299 required: - repository_property type: @@ -51432,12 +51666,12 @@ paths: - object rules: type: array - items: &619 + items: &620 title: Repository Rule type: object description: A repository rule. oneOf: - - &302 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -51449,7 +51683,7 @@ paths: type: string enum: - creation - - &303 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -51470,7 +51704,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &304 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -51482,7 +51716,7 @@ paths: type: string enum: - deletion - - &305 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -51494,7 +51728,7 @@ paths: type: string enum: - required_linear_history - - &616 + - &617 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51572,7 +51806,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &306 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -51596,7 +51830,7 @@ paths: type: string required: - required_deployment_environments - - &307 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -51608,7 +51842,7 @@ paths: type: string enum: - required_signatures - - &308 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -51751,7 +51985,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &309 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -51799,7 +52033,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &310 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -51811,7 +52045,7 @@ paths: type: string enum: - non_fast_forward - - &311 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -51848,7 +52082,7 @@ paths: required: - operator - pattern - - &312 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -51885,7 +52119,7 @@ paths: required: - operator - pattern - - &313 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -51922,7 +52156,7 @@ paths: required: - operator - pattern - - &314 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -51959,7 +52193,7 @@ paths: required: - operator - pattern - - &315 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -51996,7 +52230,7 @@ paths: required: - operator - pattern - - &320 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -52046,7 +52280,7 @@ paths: - repository_id required: - workflows - - &321 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -52107,7 +52341,7 @@ paths: - tool required: - code_scanning_tools - - &322 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -52133,7 +52367,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &617 + - &618 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52145,7 +52379,7 @@ paths: type: string enum: - license_compliance_scanning - - &316 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -52170,7 +52404,7 @@ paths: type: string required: - restricted_file_paths - - &317 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -52194,7 +52428,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &318 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -52217,7 +52451,7 @@ paths: type: string required: - restricted_file_extensions - - &319 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -52278,7 +52512,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -52294,7 +52528,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 requestBody: description: Request body required: true @@ -52315,21 +52549,20 @@ paths: - push - repository default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &325 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *302 - *303 - *304 - *305 @@ -52350,6 +52583,7 @@ paths: - *320 - *321 - *322 + - *323 required: - name - enforcement @@ -52387,9 +52621,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: id: 21 name: super cool ruleset @@ -52430,7 +52664,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -52444,8 +52678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *74 - - &620 + - *75 + - &621 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 @@ -52460,7 +52694,7 @@ paths: in: query schema: type: string - - &621 + - &622 name: time_period description: |- The time period to filter by. @@ -52476,14 +52710,14 @@ paths: - week - month default: day - - &622 + - &623 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 - - &623 + - &624 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52496,7 +52730,7 @@ paths: - bypass - all default: all - - &624 + - &625 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52519,7 +52753,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &626 title: Rule Suites description: Response type: array @@ -52575,7 +52809,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &626 + default: &627 value: - id: 21 actor_id: 12 @@ -52599,7 +52833,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52618,8 +52852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *74 - - &627 + - *75 + - &628 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52635,7 +52869,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &629 title: Rule Suite description: Response type: object @@ -52742,7 +52976,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &629 + default: &630 value: id: 21 actor_id: 12 @@ -52777,7 +53011,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52803,7 +53037,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52815,11 +53049,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *53 + '500': *54 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -52835,7 +53069,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52861,16 +53095,16 @@ paths: - tag - push - repository - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *325 + items: *326 examples: default: value: @@ -52905,12 +53139,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -52926,7 +53160,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52937,7 +53171,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -52949,7 +53183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *74 + - *75 - *17 - *19 - name: ruleset_id @@ -52965,7 +53199,7 @@ paths: application/json: schema: type: array - items: &326 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -52989,7 +53223,7 @@ paths: type: string format: date-time examples: - default: &631 + default: &632 value: - version_id: 3 actor: @@ -53007,7 +53241,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53024,7 +53258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53042,9 +53276,9 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 allOf: - - *326 + - *327 - type: object required: - state @@ -53091,7 +53325,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53113,8 +53347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *74 - - &633 + - *75 + - &634 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53125,7 +53359,7 @@ paths: enum: - open - resolved - - &634 + - &635 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53135,7 +53369,7 @@ paths: required: false schema: type: string - - &635 + - &636 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53146,7 +53380,7 @@ paths: required: false schema: type: string - - &636 + - &637 name: exclude_providers in: query description: |- @@ -53157,7 +53391,7 @@ paths: required: false schema: type: string - - &637 + - &638 name: providers in: query description: |- @@ -53168,7 +53402,7 @@ paths: required: false schema: type: string - - &638 + - &639 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53177,7 +53411,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53196,7 +53430,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &640 + - &641 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. @@ -53208,10 +53442,10 @@ paths: - created - updated default: created - - *60 + - *61 - *19 - *17 - - &641 + - &642 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 @@ -53221,7 +53455,7 @@ paths: required: false schema: type: string - - &642 + - &643 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 @@ -53231,7 +53465,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53240,7 +53474,7 @@ paths: required: false schema: type: string - - &644 + - &645 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53249,7 +53483,7 @@ paths: schema: type: boolean default: false - - &645 + - &646 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53258,7 +53492,7 @@ paths: schema: type: boolean default: false - - &646 + - &647 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53267,7 +53501,7 @@ paths: schema: type: boolean default: false - - &647 + - &648 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53278,7 +53512,7 @@ paths: required: false schema: type: boolean - - &648 + - &649 name: included_metadata in: query description: |- @@ -53289,7 +53523,7 @@ paths: required: false schema: type: string - - &649 + - &650 name: owner_email_hash in: query description: |- @@ -53311,27 +53545,27 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &651 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: &651 + resolution: &652 type: - string - 'null' @@ -53377,7 +53611,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *65 + repository: *66 push_protection_bypassed: type: - boolean @@ -53450,14 +53684,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &652 + - &653 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &654 + - &655 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53521,7 +53755,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &656 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. @@ -53582,7 +53816,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &657 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53604,7 +53838,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &657 + - &658 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53626,7 +53860,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &658 + - &659 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53648,7 +53882,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &659 + - &660 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53663,7 +53897,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &661 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53678,7 +53912,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &662 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53693,7 +53927,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &663 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. @@ -53715,7 +53949,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &663 + - &664 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. @@ -53737,7 +53971,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &664 + - &665 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. @@ -53759,7 +53993,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &665 + - &666 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. @@ -53781,7 +54015,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &666 + - &667 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 @@ -54003,9 +54237,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54030,8 +54264,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 - - &667 + - *75 + - &668 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54042,7 +54276,7 @@ paths: enum: - published - unpublished - - &668 + - &669 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54053,7 +54287,7 @@ paths: enum: - enabled - disabled - - &669 + - &670 name: sort description: The property to sort the results by. in: query @@ -54065,7 +54299,7 @@ paths: - updated - name default: created - - *60 + - *61 - *19 - *17 responses: @@ -54075,7 +54309,7 @@ paths: application/json: schema: type: array - items: &327 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -54127,7 +54361,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &328 + custom_pattern_version: &329 type: - string - 'null' @@ -54152,7 +54386,7 @@ paths: - state - push_protection_enabled examples: - default: &670 + default: &671 value: - id: 1 name: Example Custom Pattern @@ -54181,7 +54415,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -54202,7 +54436,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -54215,7 +54449,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &671 + items: &672 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54252,7 +54486,7 @@ paths: items: type: string examples: - default: &672 + default: &673 value: patterns: - name: Example Custom Pattern @@ -54276,9 +54510,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: &673 + default: &674 value: created_patterns: - id: 1 @@ -54330,7 +54564,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &674 + items: &675 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54373,7 +54607,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -54387,7 +54621,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54397,7 +54631,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *328 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -54410,7 +54644,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &676 + default: &677 value: patterns: - pattern_id: 2 @@ -54421,7 +54655,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &329 + '412': &330 description: Precondition Failed content: application/json: @@ -54445,7 +54679,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 - name: pattern_id in: path required: true @@ -54456,7 +54690,7 @@ paths: required: true content: application/json: - schema: &677 + schema: &678 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54495,9 +54729,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *328 + custom_pattern_version: *329 examples: - default: &678 + default: &679 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54512,9 +54746,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: &679 + default: &680 value: id: 1 name: Example Custom Pattern @@ -54534,7 +54768,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -54555,7 +54789,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 responses: '200': description: Response @@ -54567,11 +54801,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &330 + items: &331 type: object properties: token_type: @@ -54640,7 +54874,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *330 + items: *331 examples: default: value: @@ -54689,7 +54923,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 requestBody: required: true content: @@ -54697,7 +54931,7 @@ paths: schema: type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -54723,7 +54957,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *328 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -54759,7 +54993,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 "/orgs/{org}/security-advisories": get: @@ -54777,8 +55011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *74 - - *60 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -54790,8 +55024,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -54821,7 +55055,7 @@ paths: application/json: schema: type: array - items: &683 + items: &684 description: A repository security advisory. type: object properties: @@ -55029,7 +55263,7 @@ paths: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: - array @@ -55065,7 +55299,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 credits_detailed: type: - array @@ -55076,7 +55310,7 @@ paths: type: object properties: user: *4 - type: *331 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -55102,13 +55336,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *200 + items: *201 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *65 + - *66 type: - 'null' required: @@ -55140,7 +55374,7 @@ paths: - private_fork additionalProperties: false examples: - default: &684 + default: &685 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55519,7 +55753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *74 + - *75 responses: '200': description: Response @@ -55527,7 +55761,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -55567,8 +55801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -55593,8 +55827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -55621,7 +55855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Immutable releases settings response @@ -55671,7 +55905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -55729,7 +55963,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 - *19 - *17 responses: @@ -55747,9 +55981,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55768,7 +56002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 requestBody: required: true content: @@ -55817,8 +56051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -55840,8 +56074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -55864,7 +56098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -55882,7 +56116,7 @@ paths: type: integer network_configurations: type: array - items: &332 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -55960,7 +56194,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55979,7 +56213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -56035,9 +56269,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &333 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -56065,8 +56299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - &334 + - *75 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -56078,11 +56312,11 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56101,8 +56335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *334 + - *75 + - *335 requestBody: required: true content: @@ -56155,9 +56389,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56176,8 +56410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *74 - - *334 + - *75 + - *335 responses: '204': description: Response @@ -56200,7 +56434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *74 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -56259,7 +56493,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56277,7 +56511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *74 + - *75 - *17 - *19 - name: team_type @@ -56299,11 +56533,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -56323,7 +56557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *74 + - *75 requestBody: required: true content: @@ -56395,7 +56629,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56469,7 +56703,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 members_count: type: integer examples: @@ -56794,7 +57028,7 @@ paths: - repos_count - organization examples: - default: &336 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56864,16 +57098,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *74 - - *76 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -56894,8 +57128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *74 - - *76 + - *75 + - *77 requestBody: required: false content: @@ -56958,16 +57192,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -56992,12 +57226,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response - '422': &337 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -57020,8 +57254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57031,12 +57265,12 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 - '422': *337 + Link: *67 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57058,8 +57292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *74 - - *76 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -57080,7 +57314,7 @@ paths: application/json: schema: type: array - items: &699 + items: &700 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57223,7 +57457,7 @@ paths: - type - url examples: - default: &700 + default: &701 value: - login: octocat id: 1 @@ -57246,7 +57480,7 @@ paths: role: member inherited: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57274,15 +57508,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '200': description: Response content: application/json: - schema: &338 + schema: &339 title: Team Membership description: Team Membership type: object @@ -57310,7 +57544,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &701 + response-if-user-is-a-team-maintainer: &702 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57346,9 +57580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 requestBody: required: false content: @@ -57373,9 +57607,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &702 + response-if-users-membership-with-team-is-now-pending: &703 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57410,9 +57644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '204': description: Response @@ -57438,8 +57672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57449,11 +57683,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57480,16 +57714,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &703 + schema: &704 title: Team Repository description: A team's access to a repository. type: object @@ -57515,7 +57749,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 forks: type: integer permissions: @@ -58130,10 +58364,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 requestBody: required: false content: @@ -58178,10 +58412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '204': description: Response @@ -58205,8 +58439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -58216,9 +58450,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: &704 + response-if-child-teams-exist: &705 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58246,7 +58480,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58271,7 +58505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *74 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -58371,7 +58605,7 @@ paths: resources: type: object properties: - core: &341 + core: &342 title: Rate Limit type: object properties: @@ -58388,21 +58622,21 @@ paths: - remaining - reset - used - graphql: *341 - search: *341 - code_search: *341 - source_import: *341 - integration_manifest: *341 - actions_runner_registration: *341 - scim: *341 - dependency_snapshots: *341 - dependency_sbom: *341 - code_scanning_autofix: *341 - copilot_usage_records: *341 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search - rate: *341 + rate: *342 required: - rate - resources @@ -58479,7 +58713,7 @@ paths: schema: type: integer format: timestamp - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -58502,14 +58736,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default-response: summary: Default response @@ -59014,7 +59248,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *343 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59032,8 +59266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -59344,10 +59578,10 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 - '307': &345 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -59376,8 +59610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -59399,9 +59633,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *345 + '307': *346 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59423,11 +59657,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &377 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59450,7 +59684,7 @@ paths: type: integer artifacts: type: array - items: &346 + items: &347 title: Artifact description: An artifact type: object @@ -59545,7 +59779,7 @@ paths: - expires_at - updated_at examples: - default: &378 + default: &379 value: total_count: 2 artifacts: @@ -59584,7 +59818,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59606,9 +59840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *339 - *340 - - &347 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59620,7 +59854,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -59658,9 +59892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 responses: '204': description: Response @@ -59684,9 +59918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 - name: archive_format in: path required: true @@ -59696,15 +59930,11 @@ paths: '302': description: Response headers: - Location: &497 + Location: &498 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &538 - description: Gone - content: - application/json: - schema: *3 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59725,14 +59955,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -59744,7 +59974,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -59766,15 +59996,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *349 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -59801,14 +60031,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &349 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -59820,7 +60050,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -59842,15 +60072,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -59879,14 +60109,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -59912,11 +60142,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &351 + - &352 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 @@ -59944,13 +60174,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *60 + - *61 responses: '200': description: Response content: application/json: - schema: &352 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -60000,7 +60230,7 @@ paths: - total_count - actions_caches examples: - default: &353 + default: &354 value: total_count: 1 actions_caches: @@ -60012,7 +60242,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60032,23 +60262,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: - - *339 - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60068,8 +60298,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: - - *339 - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60098,10 +60328,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *46 + - *47 responses: '200': description: Response @@ -60150,7 +60380,7 @@ paths: group_url: https://api.github.com/repos/octocat/Hello-World/actions/concurrency_groups/ci-build last_acquired_at: '2026-01-15T16:13:55Z' headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -60182,8 +60412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *339 - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60339,9 +60569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *339 - *340 - - &354 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -60353,7 +60583,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -60700,9 +60930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 responses: '302': description: Response @@ -60730,9 +60960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 requestBody: required: false content: @@ -60759,7 +60989,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -60783,8 +61013,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: - - *339 - *340 + - *341 responses: '200': description: Status response @@ -60843,8 +61073,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -60883,7 +61113,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -60912,8 +61142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -60931,7 +61161,7 @@ paths: type: integer secrets: type: array - items: &383 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60952,7 +61182,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &385 value: total_count: 2 secrets: @@ -60963,7 +61193,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60985,9 +61215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -61004,7 +61234,7 @@ paths: type: integer variables: type: array - items: &385 + items: &386 title: Actions Variable type: object properties: @@ -61038,7 +61268,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: total_count: 2 variables: @@ -61051,7 +61281,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61071,8 +61301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -61081,12 +61311,12 @@ paths: schema: type: object properties: - enabled: &356 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *140 - selected_actions_url: *355 - sha_pinning_required: *141 + allowed_actions: *141 + selected_actions_url: *356 + sha_pinning_required: *142 required: - enabled examples: @@ -61114,8 +61344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61126,9 +61356,9 @@ paths: schema: type: object properties: - enabled: *356 - allowed_actions: *140 - sha_pinning_required: *141 + enabled: *357 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled examples: @@ -61158,14 +61388,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &357 + schema: &358 type: object properties: access_level: @@ -61182,7 +61412,7 @@ paths: required: - access_level examples: - default: &358 + default: &359 value: access_level: organization x-github: @@ -61206,15 +61436,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 responses: '204': description: Response @@ -61238,14 +61468,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -61269,8 +61499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -61280,7 +61510,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *361 examples: default: summary: Set retention days @@ -61304,16 +61534,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *361 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -61332,8 +61562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61343,7 +61573,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -61367,16 +61597,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *143 + default: *144 '403': *27 '404': *6 x-github: @@ -61396,15 +61626,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *363 + schema: *364 examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -61428,16 +61658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *145 + schema: *146 examples: - default: *146 + default: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61456,8 +61686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61465,9 +61695,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61489,16 +61719,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61519,8 +61749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Success response @@ -61531,9 +61761,9 @@ paths: required: true content: application/json: - schema: *365 + schema: *366 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61560,8 +61790,8 @@ paths: in: query schema: type: string - - *339 - *340 + - *341 - *17 - *19 responses: @@ -61579,11 +61809,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61605,8 +61835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -61614,9 +61844,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61638,8 +61868,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -61682,10 +61912,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *368 + '201': *369 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61713,16 +61943,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61750,16 +61980,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61781,17 +62011,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *371 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61812,9 +62042,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '204': description: Response @@ -61840,11 +62070,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *161 + '200': *162 '404': *6 x-github: githubCloudOnly: false @@ -61866,9 +62096,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -61892,7 +62122,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -61916,9 +62146,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -61943,7 +62173,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -61967,11 +62197,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *372 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -61998,12 +62228,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: - - *339 - *340 - - *156 - - *373 + - *341 + - *157 + - *374 responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -62029,9 +62259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *339 - *340 - - &389 + - *341 + - &390 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. @@ -62039,7 +62269,7 @@ paths: required: false schema: type: string - - &390 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62047,7 +62277,7 @@ paths: required: false schema: type: string - - &391 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62056,7 +62286,7 @@ paths: required: false schema: type: string - - &392 + - &393 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 @@ -62083,7 +62313,7 @@ paths: - pending - *17 - *19 - - &393 + - &394 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)." @@ -62092,7 +62322,7 @@ paths: schema: type: string format: date-time - - &374 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62101,13 +62331,13 @@ paths: schema: type: boolean default: false - - &394 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &395 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62130,7 +62360,7 @@ paths: type: integer workflow_runs: type: array - items: &375 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -62247,7 +62477,7 @@ paths: type: - array - 'null' - items: *85 + items: *86 created_at: type: string format: date-time @@ -62308,7 +62538,7 @@ paths: head_commit: anyOf: - type: 'null' - - &419 + - &420 title: Simple Commit description: A commit. type: object @@ -62382,8 +62612,8 @@ paths: - timestamp - author - committer - repository: *155 - head_repository: *155 + repository: *156 + head_repository: *156 head_repository_id: type: integer examples: @@ -62423,7 +62653,7 @@ paths: - workflow_url - pull_requests examples: - default: &396 + default: &397 value: total_count: 1 workflow_runs: @@ -62637,7 +62867,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62659,24 +62889,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *339 - *340 - - &376 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &379 + default: &380 value: id: 30433642 name: Build @@ -62917,9 +63147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response @@ -62942,9 +63172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -63072,15 +63302,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: - - *339 - *340 - - *376 + - *341 + - *377 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -63107,13 +63337,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - *19 - - *377 - - *60 + - *378 + - *61 responses: '200': description: Response @@ -63129,11 +63359,11 @@ paths: type: integer artifacts: type: array - items: *346 + items: *347 examples: - default: *378 + default: *379 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63155,25 +63385,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - &380 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63196,10 +63426,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -63217,9 +63447,9 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: &382 + default: &383 value: total_count: 1 jobs: @@ -63308,7 +63538,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -63332,10 +63562,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -63363,19 +63593,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63411,12 +63641,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -63565,7 +63795,7 @@ paths: job_url: https://api.github.com/repos/octocat/Hello-World/actions/jobs/798245260 job_html_url: https://github.com/octocat/Hello-World/actions/runs/30433642/job/798245260 headers: - Link: *66 + Link: *67 '404': *6 '422': *15 x-github: @@ -63590,9 +63820,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: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -63659,19 +63889,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63694,9 +63924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - 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 @@ -63726,11 +63956,11 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: *382 + default: *383 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63753,9 +63983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '302': description: Response @@ -63782,14 +64012,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63811,9 +64041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -63882,7 +64112,7 @@ paths: items: type: object properties: - type: &504 + type: &505 type: string description: The type of reviewer. enum: @@ -63893,7 +64123,7 @@ paths: reviewer: anyOf: - *4 - - *200 + - *201 required: - environment - wait_timer @@ -63968,9 +64198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -64020,7 +64250,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64132,7 +64362,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &501 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64188,9 +64418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -64212,7 +64442,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64235,9 +64465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -64259,7 +64489,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64291,9 +64521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -64430,8 +64660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -64449,11 +64679,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64476,16 +64706,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64507,17 +64737,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: &397 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64543,9 +64773,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -64576,7 +64806,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64602,9 +64832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -64629,9 +64859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -64648,11 +64878,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64673,8 +64903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -64701,7 +64931,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64726,17 +64956,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &398 + default: &399 value: name: USERNAME value: octocat @@ -64762,9 +64992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -64806,9 +65036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -64833,8 +65063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -64852,7 +65082,7 @@ paths: type: integer workflows: type: array - items: &387 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -64947,7 +65177,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64970,9 +65200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *339 - *340 - - &388 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64987,7 +65217,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -65020,9 +65250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -65047,9 +65277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -65136,9 +65366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -65165,19 +65395,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *339 - *340 - - *388 + - *341 - *389 - *390 - *391 - *392 + - *393 - *17 - *19 - - *393 - - *374 - *394 + - *375 - *395 + - *396 responses: '200': description: Response @@ -65193,11 +65423,11 @@ paths: type: integer workflow_runs: type: array - items: *375 + items: *376 examples: - default: *396 + default: *397 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65227,9 +65457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '200': description: Response @@ -65290,12 +65520,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *339 - *340 - - *60 + - *341 + - *61 - *17 - - *45 - *46 + - *47 - name: ref description: |- The Git reference for the activities you want to list. @@ -65440,7 +65670,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -65464,8 +65694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65483,11 +65713,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65509,9 +65739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -65528,11 +65758,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65555,8 +65785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65574,11 +65804,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65601,16 +65831,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65632,17 +65862,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65664,9 +65894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -65697,7 +65927,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65723,9 +65953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -65750,9 +65980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -65769,11 +65999,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65794,8 +66024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -65822,7 +66052,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65847,17 +66077,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65878,9 +66108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -65922,9 +66152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -65945,8 +66175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65958,9 +66188,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -65983,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *339 - *340 + - *341 - name: assignee in: path required: true @@ -66020,8 +66250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -66131,11 +66361,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *339 - *340 + - *341 - *17 - - *45 - *46 + - *47 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -66189,7 +66419,7 @@ paths: initiator: type: string examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66209,8 +66439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -66218,7 +66448,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -66277,8 +66507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -66317,9 +66547,9 @@ paths: description: response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: id: 1 key_prefix: TICKET- @@ -66350,9 +66580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *339 - *340 - - &402 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66364,9 +66594,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -66386,9 +66616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *339 - *340 - - *402 + - *341 + - *403 responses: '204': description: Response @@ -66412,8 +66642,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: - - *339 - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -66463,8 +66693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -66485,8 +66715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -66506,8 +66736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *339 - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66545,7 +66775,7 @@ paths: - url protected: type: boolean - protection: &404 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -66588,7 +66818,7 @@ paths: required: - contexts - checks - enforce_admins: &407 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66605,7 +66835,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &409 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66627,7 +66857,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *200 + items: *201 apps: description: The list of apps with review dismissal access. @@ -66659,7 +66889,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *200 + items: *201 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66689,7 +66919,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &406 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66752,7 +66982,7 @@ paths: type: string teams: type: array - items: *200 + items: *201 apps: type: array items: @@ -66964,7 +67194,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66982,9 +67212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *339 - *340 - - &405 + - *341 + - &406 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). @@ -66998,14 +67228,14 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &472 title: Commit description: Commit type: object @@ -67044,7 +67274,7 @@ paths: author: anyOf: - type: 'null' - - &403 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -67066,7 +67296,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 message: type: string examples: @@ -67090,7 +67320,7 @@ paths: required: - sha - url - verification: &522 + verification: &523 title: Verification type: object properties: @@ -67126,14 +67356,14 @@ paths: author: oneOf: - *4 - - *164 + - *165 type: - 'null' - object committer: oneOf: - *4 - - *164 + - *165 type: - 'null' - object @@ -67170,7 +67400,7 @@ paths: type: integer files: type: array - items: &482 + items: &483 title: Diff Entry description: Diff Entry type: object @@ -67266,7 +67496,7 @@ paths: - self protected: type: boolean - protection: *404 + protection: *405 protection_url: type: string format: uri @@ -67375,7 +67605,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *343 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -67397,15 +67627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -67599,9 +67829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -67861,7 +68091,7 @@ paths: url: type: string format: uri - required_status_checks: &412 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -67942,7 +68172,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -67960,7 +68190,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -68020,7 +68250,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *406 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -68132,9 +68362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68159,17 +68389,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &408 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68191,17 +68421,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68220,9 +68450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68247,17 +68477,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68353,9 +68583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68453,9 +68683,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -68476,9 +68706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68505,17 +68735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &411 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68538,17 +68768,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *411 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -68568,9 +68798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68595,17 +68825,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: &413 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68631,9 +68861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68685,9 +68915,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *413 + default: *414 '404': *6 '422': *15 x-github: @@ -68709,9 +68939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68735,9 +68965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -68771,9 +69001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68840,9 +69070,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68906,9 +69136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -68974,15 +69204,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -69073,9 +69303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -69098,9 +69328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69110,7 +69340,7 @@ paths: type: array items: *5 examples: - default: &414 + default: &415 value: - id: 1 slug: octoapp @@ -69167,9 +69397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69203,7 +69433,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69224,9 +69454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69260,7 +69490,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69281,9 +69511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69317,7 +69547,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69339,9 +69569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69349,9 +69579,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -69371,9 +69601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69409,9 +69639,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69432,9 +69662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69470,9 +69700,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69493,9 +69723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -69530,9 +69760,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69554,9 +69784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69566,7 +69796,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -69590,9 +69820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69625,7 +69855,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69650,9 +69880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69685,7 +69915,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69710,9 +69940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69745,7 +69975,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69772,9 +70002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69796,7 +70026,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -69912,8 +70142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -70192,7 +70422,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70327,8 +70557,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *85 - deployment: &767 + items: *86 + deployment: &768 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70615,9 +70845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *339 - *340 - - &417 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -70629,9 +70859,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: &418 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70731,9 +70961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 requestBody: required: true content: @@ -70973,9 +71203,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70995,9 +71225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *339 - *340 - - *417 + - *341 + - *418 - *17 - *19 responses: @@ -71087,7 +71317,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71107,15 +71337,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -71153,8 +71383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -71176,7 +71406,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &420 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71258,12 +71488,12 @@ paths: type: - array - 'null' - items: *85 + items: *86 app: anyOf: - type: 'null' - *5 - repository: *155 + repository: *156 created_at: type: - string @@ -71274,7 +71504,7 @@ paths: - string - 'null' format: date-time - head_commit: *419 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -71302,7 +71532,7 @@ paths: - check_runs_url - pull_requests examples: - default: &421 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71593,9 +71823,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71614,8 +71844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -71676,7 +71906,7 @@ paths: required: - app_id - setting - repository: *155 + repository: *156 examples: default: value: @@ -71924,9 +72154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *339 - *340 - - &422 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71938,9 +72168,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71963,17 +72193,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *339 - *340 - - *422 - - &477 + - *341 + - *423 + - &478 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &478 + - &479 name: status description: Returns check runs with the specified `status`. in: query @@ -72012,9 +72242,9 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: &479 + default: &480 value: total_count: 1 check_runs: @@ -72096,7 +72326,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72116,15 +72346,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *339 - *340 - - *422 + - *341 + - *423 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -72147,12 +72377,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *60 - - *45 + - *61 - *46 + - *47 - name: state description: If specified, only code quality findings with this state will be returned. @@ -72170,7 +72400,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 description: Code quality finding type: object properties: @@ -72300,14 +72530,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &424 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72327,8 +72557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *339 - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -72340,7 +72570,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -72369,9 +72599,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72391,8 +72621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -72464,9 +72694,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72485,8 +72715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -72549,7 +72779,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -72592,7 +72822,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72616,30 +72846,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - &443 + - &444 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: *427 - - &444 + schema: *428 + - &445 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *60 - - *45 + - *61 - *46 + - *47 - name: sort description: The property by which to sort the results. in: query @@ -72655,13 +72885,13 @@ paths: be returned. in: query required: false - schema: *428 + schema: *429 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *429 + schema: *430 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72680,24 +72910,24 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 - rule: *433 - tool: *434 - most_recent_instance: *435 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 + rule: *434 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -72819,15 +73049,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *35 - '403': &436 + '304': *36 + '403': &437 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72847,9 +73077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *339 - *340 - - &437 + - *341 + - &438 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72857,30 +73087,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: &438 + schema: &439 type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 rule: type: object properties: @@ -72942,8 +73172,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *434 - most_recent_instance: *435 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -73038,10 +73268,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *35 - '403': *436 + '304': *36 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73059,9 +73289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -73076,8 +73306,8 @@ paths: enum: - open - dismissed - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_reason: *432 + dismissed_comment: *433 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73105,7 +73335,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: default: value: @@ -73181,14 +73411,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 + '403': &443 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73208,15 +73438,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: Response content: application/json: - schema: &439 + schema: &440 type: object properties: status: @@ -73243,13 +73473,13 @@ paths: - description - started_at examples: - default: &440 + default: &441 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &442 description: Bad Request content: application/json: @@ -73260,9 +73490,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *437 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73285,29 +73515,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: OK content: application/json: - schema: *439 + schema: *440 examples: - default: *440 + default: *441 '202': description: Accepted content: application/json: - schema: *439 + schema: *440 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *442 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73317,7 +73547,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73339,9 +73569,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: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: false content: @@ -73387,12 +73617,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *442 + '403': *443 '404': *6 '422': description: Unprocessable Entity - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73412,13 +73642,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 - - *443 - *444 + - *445 responses: '200': description: Response @@ -73429,10 +73659,10 @@ paths: items: type: object properties: - ref: *427 - analysis_key: *445 - environment: *446 - category: *447 + ref: *428 + analysis_key: *446 + environment: *447 + category: *448 state: type: - string @@ -73449,7 +73679,7 @@ paths: properties: text: type: string - location: *448 + location: *449 html_url: type: string classifications: @@ -73457,7 +73687,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *450 examples: default: value: @@ -73494,9 +73724,9 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73528,30 +73758,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - *444 + - *445 - 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: *427 + schema: *428 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &451 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *60 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -73568,23 +73798,23 @@ paths: application/json: schema: type: array - items: &451 + items: &452 type: object properties: - ref: *427 - commit_sha: &459 + ref: *428 + commit_sha: &460 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *446 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *448 error: type: string examples: @@ -73609,8 +73839,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *434 + sarif_id: *451 + tool: *435 deletable: type: boolean warning: @@ -73672,9 +73902,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73708,8 +73938,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73722,7 +73952,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: response: summary: application/json response @@ -73776,14 +74006,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *437 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73863,8 +74093,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73920,9 +74150,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73942,8 +74172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -73951,7 +74181,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: CodeQL Database description: A CodeQL database. type: object @@ -74063,9 +74293,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74092,8 +74322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74105,7 +74335,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -74137,11 +74367,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &486 + '302': &487 description: Found - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74161,8 +74391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74172,9 +74402,9 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74200,8 +74430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -74210,7 +74440,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &454 type: string description: The language targeted by the CodeQL query enum: @@ -74290,7 +74520,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &458 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74298,9 +74528,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *65 + controller_repo: *66 actor: *4 - query_language: *453 + query_language: *454 query_pack_url: type: string description: The download url for the query pack. @@ -74348,7 +74578,7 @@ paths: items: type: object properties: - repository: &454 + repository: &455 title: Repository Identifier description: Repository Identifier type: object @@ -74390,7 +74620,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &459 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74422,7 +74652,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &456 type: object properties: repository_count: @@ -74437,7 +74667,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: *454 + items: *455 required: - repository_count - repositories @@ -74460,8 +74690,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *456 + over_limit_repos: *456 required: - access_mismatch_repos - not_found_repos @@ -74477,7 +74707,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &457 summary: Default response value: id: 1 @@ -74623,17 +74853,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *457 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *457 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74654,8 +74884,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: - - *339 - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74667,11 +74897,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *456 + default: *457 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74692,7 +74922,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: - - *339 + - *340 - name: repo in: path description: The name of the controller repository. @@ -74726,8 +74956,8 @@ paths: schema: type: object properties: - repository: *65 - analysis_status: *458 + repository: *66 + analysis_status: *459 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74831,7 +75061,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74852,8 +75082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -74946,9 +75176,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74967,8 +75197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75037,7 +75267,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -75062,7 +75292,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75076,7 +75306,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75133,8 +75363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75142,7 +75372,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *460 ref: type: string description: |- @@ -75202,7 +75432,7 @@ paths: schema: type: object properties: - id: *450 + id: *451 url: type: string description: The REST API URL for checking the status of the upload. @@ -75216,11 +75446,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75239,8 +75469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *339 - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75288,10 +75518,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *437 '404': description: Not Found if the sarif id does not match any upload - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75313,8 +75543,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -75338,7 +75568,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *47 + configuration: *48 examples: default: value: @@ -75370,8 +75600,8 @@ 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': *59 - '304': *35 + '204': *58 + '304': *36 '403': *27 '404': *6 x-github: @@ -75395,8 +75625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *339 - *340 + - *341 - 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 @@ -75524,8 +75754,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -75541,7 +75771,7 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: default: value: @@ -75817,7 +76047,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -75839,8 +76069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75904,22 +76134,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75943,8 +76173,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -75984,7 +76214,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *53 + '500': *54 '400': *14 '401': *23 '403': *27 @@ -76008,8 +76238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *339 - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76046,9 +76276,9 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: &710 + default: &711 value: total_count: 2 machines: @@ -76064,8 +76294,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -76088,8 +76318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *339 - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76176,8 +76406,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: - - *339 - *340 + - *341 - 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 @@ -76225,7 +76455,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76246,8 +76476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -76265,7 +76495,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &466 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76286,9 +76516,9 @@ paths: - created_at - updated_at examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76309,16 +76539,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76338,17 +76568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76368,9 +76598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -76398,7 +76628,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -76422,9 +76652,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -76452,8 +76682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *339 - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76491,7 +76721,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Collaborator description: Collaborator type: object @@ -76659,7 +76889,7 @@ paths: admin: false role_name: write headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -76684,9 +76914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: Response if user is a collaborator @@ -76732,9 +76962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 requestBody: required: false content: @@ -76760,7 +76990,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &536 + schema: &537 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76772,7 +77002,7 @@ paths: format: int64 examples: - 42 - repository: *155 + repository: *156 invitee: anyOf: - type: 'null' @@ -76948,7 +77178,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *125 '403': *27 x-github: triggersNotification: true @@ -76988,9 +77218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77021,9 +77251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '200': description: if user has admin permissions @@ -77043,7 +77273,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *468 required: - permission - role_name @@ -77097,8 +77327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -77108,7 +77338,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Commit Comment description: Commit Comment type: object @@ -77149,8 +77379,8 @@ paths: updated_at: type: string format: date-time - author_association: *79 - reactions: *80 + author_association: *80 + reactions: *81 required: - url - html_url @@ -77166,7 +77396,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &474 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77200,7 +77430,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77225,17 +77455,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &474 + default: &475 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77292,9 +77522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -77316,7 +77546,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -77367,9 +77597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -77390,9 +77620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -77418,7 +77648,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77488,7 +77718,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -77507,9 +77737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -77541,9 +77771,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77572,9 +77802,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -77596,9 +77826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - &541 name: reaction_id description: The unique identifier of the reaction. @@ -77654,8 +77884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *339 - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77711,9 +77941,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: &602 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77783,11 +78013,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '400': *14 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77807,9 +78037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *339 - *340 - - &472 + - *341 + - &473 name: commit_sha description: The SHA of the commit. in: path @@ -77856,7 +78086,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77881,9 +78111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -77893,11 +78123,11 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: - default: *473 + default: *474 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77923,9 +78153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *339 - *340 - - *472 + - *341 + - *473 requestBody: required: true content: @@ -77960,9 +78190,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *474 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77990,9 +78220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -78002,7 +78232,7 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: &594 value: @@ -78483,8 +78713,8 @@ paths: auto_merge: draft: false headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78541,11 +78771,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *339 - *340 + - *341 - *19 - *17 - - &476 + - &477 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)" @@ -78560,7 +78790,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: &582 value: @@ -78650,7 +78880,7 @@ paths: schema: type: string examples: - default: &483 + default: &484 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78663,7 +78893,7 @@ paths: schema: type: string examples: - default: &484 + default: &485 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78689,9 +78919,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *53 - '503': *114 - '409': *52 + '500': *54 + '503': *115 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78716,11 +78946,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 - *477 - *478 + - *479 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78754,11 +78984,11 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: *479 + default: *480 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78781,9 +79011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78791,7 +79021,7 @@ paths: schema: type: integer example: 1 - - *477 + - *478 - *17 - *19 responses: @@ -78809,7 +79039,7 @@ paths: type: integer check_suites: type: array - items: *420 + items: *421 examples: default: value: @@ -78984,7 +79214,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79009,9 +79239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -79082,7 +79312,7 @@ paths: type: string total_count: type: integer - repository: *155 + repository: *156 commit_url: type: string format: uri @@ -79213,9 +79443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -79225,7 +79455,7 @@ paths: application/json: schema: type: array - items: &688 + items: &689 title: Status description: The status of a commit. type: object @@ -79305,8 +79535,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79334,8 +79564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -79368,11 +79598,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *480 + - *481 code_of_conduct_file: anyOf: - type: 'null' - - &481 + - &482 title: Community Health File type: object properties: @@ -79388,23 +79618,23 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 contributing: anyOf: - type: 'null' - - *481 + - *482 readme: anyOf: - type: 'null' - - *481 + - *482 issue_template: anyOf: - type: 'null' - - *481 + - *482 pull_request_template: anyOf: - type: 'null' - - *481 + - *482 required: - code_of_conduct - code_of_conduct_file @@ -79533,8 +79763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *339 - *340 + - *341 - *19 - *17 - name: basehead @@ -79582,8 +79812,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *472 + merge_base_commit: *472 status: type: string enum: @@ -79607,10 +79837,10 @@ paths: - 6 commits: type: array - items: *471 + items: *472 files: type: array - items: *482 + items: *483 required: - url - html_url @@ -79856,15 +80086,15 @@ paths: schema: type: string examples: - default: *483 + default: *484 application/vnd.github.patch: schema: type: string examples: - default: *484 + default: *485 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79906,8 +80136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80077,7 +80307,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &485 + response-if-content-is-a-file-github-object: &486 summary: Response if content is a file value: type: file @@ -80214,7 +80444,7 @@ paths: - size - type - url - - &607 + - &608 title: Content File description: Content File type: object @@ -80432,7 +80662,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *485 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80501,8 +80731,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *486 - '304': *35 + '302': *487 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80524,8 +80754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80620,7 +80850,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: File Commit description: File Commit type: object @@ -80776,7 +81006,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: example-for-creating-a-file: value: @@ -80830,7 +81060,7 @@ paths: schema: oneOf: - *3 - - &517 + - &518 description: Repository rule violation was detected type: object properties: @@ -80851,7 +81081,7 @@ paths: items: type: object properties: - placeholder_id: &680 + placeholder_id: &681 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80883,8 +81113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80945,7 +81175,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -80979,8 +81209,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *52 - '503': *114 + '409': *53 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81000,8 +81230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *339 - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81102,7 +81332,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *66 + Link: *67 '204': description: Response if repository is empty '403': *27 @@ -81131,8 +81361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -81243,7 +81473,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -81265,27 +81495,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *339 - *340 - - *202 + - *341 - *203 - *204 - *205 - *206 + - *207 - 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 - - *207 - - *488 - *208 + - *489 - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -81294,11 +81524,11 @@ paths: application/json: schema: type: array - items: &492 + items: &493 type: object description: A Dependabot alert. properties: - number: *180 + number: *181 state: type: string description: The state of the Dependabot alert. @@ -81313,7 +81543,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *61 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81345,13 +81575,13 @@ paths: - transitive - inconclusive - - security_advisory: *489 - security_vulnerability: *64 - url: *183 - html_url: *184 - created_at: *181 - updated_at: *182 - dismissed_at: *186 + security_advisory: *490 + security_vulnerability: *65 + url: *184 + html_url: *185 + created_at: *182 + updated_at: *183 + dismissed_at: *187 dismissed_by: anyOf: - type: 'null' @@ -81375,9 +81605,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *185 - auto_dismissed_at: *490 - dismissal_request: *491 + fixed_at: *186 + auto_dismissed_at: *491 + dismissal_request: *492 assignees: type: array description: The users assigned to this alert. @@ -81608,7 +81838,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *35 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -81632,9 +81862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *339 - *340 - - &493 + - *341 + - &494 name: alert_number in: path description: |- @@ -81643,13 +81873,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -81759,7 +81989,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *35 + '304': *36 '403': *27 '404': *6 x-github: @@ -81781,9 +82011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *339 - *340 - - *493 + - *341 + - *494 requestBody: required: true content: @@ -81856,7 +82086,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -81963,7 +82193,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *7 x-github: githubCloudOnly: false @@ -81986,8 +82216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -82005,7 +82235,7 @@ paths: type: integer secrets: type: array - items: &496 + items: &497 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82037,7 +82267,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82059,16 +82289,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82088,15 +82318,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -82122,9 +82352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -82152,7 +82382,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -82176,9 +82406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -82200,8 +82430,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: - - *339 - *340 + - *341 - 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 @@ -82351,7 +82581,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *66 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -82360,8 +82590,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false category: dependency-graph @@ -82378,8 +82608,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -82616,7 +82846,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *66 + Link: *67 '404': *6 '403': *27 x-github: @@ -82638,8 +82868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 - name: sbom_uuid in: path required: true @@ -82650,7 +82880,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *497 + Location: *498 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82671,8 +82901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -82710,8 +82940,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -82794,7 +83024,7 @@ paths: - version - url additionalProperties: false - metadata: &498 + metadata: &499 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82833,7 +83063,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *498 + metadata: *499 resolved: type: object description: A collection of resolved package dependencies. @@ -82847,7 +83077,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *498 + metadata: *499 relationship: type: string description: A notation of whether a dependency is requested @@ -82980,8 +83210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *339 - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -83022,11 +83252,11 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: *500 + default: *501 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83090,8 +83320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -83173,7 +83403,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: simple-example: summary: Simple example @@ -83246,9 +83476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *339 - *340 - - &501 + - *341 + - &502 name: deployment_id description: deployment_id parameter in: path @@ -83260,7 +83490,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -83325,9 +83555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *339 - *340 - - *501 + - *341 + - *502 responses: '204': description: Response @@ -83349,9 +83579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *339 - *340 - - *501 + - *341 + - *502 - *17 - *19 responses: @@ -83361,7 +83591,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Deployment Status description: The status of a deployment. type: object @@ -83505,7 +83735,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83525,9 +83755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 requestBody: required: true content: @@ -83602,9 +83832,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &503 + default: &504 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83660,9 +83890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 - name: status_id in: path required: true @@ -83673,9 +83903,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *503 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -83700,8 +83930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -83758,8 +83988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -83777,7 +84007,7 @@ paths: - 5 environments: type: array - items: &505 + items: &506 title: Environment description: Details of a deployment environment type: object @@ -83839,7 +84069,7 @@ paths: type: string examples: - wait_timer - wait_timer: &507 + wait_timer: &508 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -83881,11 +84111,11 @@ paths: items: type: object properties: - type: *504 + type: *505 reviewer: anyOf: - *4 - - *200 + - *201 required: - id - node_id @@ -83908,7 +84138,7 @@ paths: - id - node_id - type - deployment_branch_policy: &508 + deployment_branch_policy: &509 type: - object - 'null' @@ -84025,9 +84255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *339 - *340 - - &506 + - *341 + - &507 name: environment_name in: path required: true @@ -84040,9 +84270,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84126,9 +84356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: false content: @@ -84138,7 +84368,7 @@ paths: - object - 'null' properties: - wait_timer: *507 + wait_timer: *508 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84157,14 +84387,14 @@ paths: items: type: object properties: - type: *504 + type: *505 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *508 + deployment_branch_policy: *509 additionalProperties: false examples: default: @@ -84184,9 +84414,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84210,9 +84440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '204': description: Default response @@ -84237,9 +84467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -84258,7 +84488,7 @@ paths: - 2 branch_policies: type: array - items: &510 + items: &511 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84319,9 +84549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -84369,9 +84599,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - example-wildcard: &511 + example-wildcard: &512 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84413,10 +84643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - &512 + - *341 + - *507 + - &513 name: branch_policy_id in: path required: true @@ -84428,9 +84658,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84449,10 +84679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 requestBody: required: true content: @@ -84481,9 +84711,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,10 +84732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 responses: '204': description: Response @@ -84530,9 +84760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 responses: '200': description: List of deployment protection rules @@ -84549,7 +84779,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &513 + items: &514 title: Deployment protection rule description: Deployment protection rule type: object @@ -84571,7 +84801,7 @@ paths: for the environment. examples: - true - app: &514 + app: &515 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84674,9 +84904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 requestBody: content: application/json: @@ -84697,9 +84927,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *513 + schema: *514 examples: - default: &515 + default: &516 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84734,9 +84964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - *19 - *17 responses: @@ -84756,7 +84986,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *514 + items: *515 examples: default: value: @@ -84791,10 +85021,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *339 - *340 - - *506 - - &516 + - *341 + - *507 + - &517 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84806,9 +85036,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84829,10 +85059,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - - *516 + - *517 responses: '204': description: Response @@ -84858,9 +85088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -84878,11 +85108,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84905,17 +85135,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84937,18 +85167,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84970,10 +85200,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 requestBody: required: true content: @@ -85004,7 +85234,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -85030,10 +85260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '204': description: Default response @@ -85058,10 +85288,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *339 - *340 - - *506 - - *172 + - *341 + - *507 + - *173 - *19 responses: '200': @@ -85078,11 +85308,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85103,9 +85333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -85132,7 +85362,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -85157,18 +85387,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *339 - *340 - - *506 - - *166 + - *341 + - *507 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85189,10 +85419,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 requestBody: required: true content: @@ -85234,10 +85464,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 responses: '204': description: Response @@ -85259,8 +85489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -85270,7 +85500,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -85328,8 +85558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *339 - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85351,7 +85581,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -85464,7 +85694,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *66 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -85488,8 +85718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -85522,9 +85752,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -85545,8 +85775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -85597,7 +85827,7 @@ paths: schema: type: string '404': *6 - '409': *52 + '409': *53 '403': *27 '422': description: Validation failed @@ -85605,8 +85835,8 @@ paths: application/json: schema: oneOf: - - *124 - - *517 + - *125 + - *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85631,8 +85861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *339 - *340 + - *341 - name: file_sha in: path required: true @@ -85684,7 +85914,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85732,8 +85962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -85842,7 +86072,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &519 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86019,7 +86249,7 @@ paths: type: string '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86069,15 +86299,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *339 - *340 - - *472 + - *341 + - *473 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -86108,7 +86338,7 @@ paths: payload: verified_at: '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86133,9 +86363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *339 - *340 - - &519 + - *341 + - &520 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. @@ -86152,7 +86382,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Git Reference description: Git references within a repository type: object @@ -86206,8 +86436,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86228,17 +86458,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86248,7 +86478,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86267,8 +86497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86297,16 +86527,16 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86325,9 +86555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 requestBody: required: true content: @@ -86356,11 +86586,11 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86376,16 +86606,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86433,8 +86663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86501,7 +86731,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &524 title: Git Tag description: Metadata for a Git tag type: object @@ -86557,7 +86787,7 @@ paths: - sha - type - url - verification: *522 + verification: *523 required: - sha - url @@ -86567,7 +86797,7 @@ paths: - tag - message examples: - default: &524 + default: &525 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86594,7 +86824,7 @@ paths: schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86640,8 +86870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *339 - *340 + - *341 - name: tag_sha in: path required: true @@ -86652,11 +86882,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: - default: *524 + default: *525 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86678,8 +86908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86753,7 +86983,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &526 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86832,7 +87062,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86855,8 +87085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *339 - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86879,7 +87109,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default-response: summary: Default response @@ -86920,7 +87150,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86937,8 +87167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -86982,8 +87212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -86993,7 +87223,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 title: Webhook description: Webhooks for repositories. type: object @@ -87056,7 +87286,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &799 title: Hook Response type: object properties: @@ -87114,7 +87344,7 @@ paths: status: unused message: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -87133,8 +87363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -87187,9 +87417,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: type: Repository id: 12345678 @@ -87237,17 +87467,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -87267,9 +87497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: true content: @@ -87314,9 +87544,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '422': *15 '404': *6 x-github: @@ -87337,9 +87567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -87363,9 +87593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response @@ -87392,9 +87622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: false content: @@ -87438,12 +87668,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *339 - *340 - - *218 - - *17 + - *341 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -87451,9 +87681,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -87472,18 +87702,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -87502,12 +87732,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -87527,9 +87757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -87554,9 +87784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -87579,8 +87809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -87628,11 +87858,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87649,11 +87879,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87707,14 +87937,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &528 + schema: &529 title: Import description: A repository import from an external source. type: object @@ -87821,7 +88051,7 @@ paths: - html_url - authors_url examples: - default: &531 + default: &532 value: vcs: subversion use_lfs: true @@ -87837,7 +88067,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &529 + '503': &530 description: Unavailable due to service under maintenance. content: application/json: @@ -87866,8 +88096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -87915,7 +88145,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -87940,7 +88170,7 @@ paths: type: string '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87968,8 +88198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -88021,7 +88251,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: example-1: summary: Example 1 @@ -88069,7 +88299,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88092,12 +88322,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *339 - *340 + - *341 responses: '204': description: Response - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88123,9 +88353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *339 - *340 - - &732 + - *341 + - &733 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88139,7 +88369,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Porter Author description: Porter Author type: object @@ -88193,7 +88423,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88218,8 +88448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *339 - *340 + - *341 - name: author_id in: path required: true @@ -88249,7 +88479,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -88262,7 +88492,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88286,8 +88516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88328,7 +88558,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88356,8 +88586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -88384,11 +88614,11 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *531 + default: *532 '422': *15 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88411,8 +88641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88420,8 +88650,8 @@ paths: application/json: schema: *20 examples: - default: *532 - '301': *343 + default: *533 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -88441,8 +88671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88450,12 +88680,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &534 + default: &535 value: limit: collaborators_only origin: repository @@ -88480,13 +88710,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *533 + schema: *534 examples: default: summary: Example request body @@ -88498,9 +88728,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *534 + default: *535 '409': description: Response x-github: @@ -88522,8 +88752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -88550,8 +88780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88605,13 +88835,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: &535 + schema: &536 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -88661,13 +88891,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *535 + schema: *536 examples: default: summary: Example request body @@ -88700,8 +88930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88754,8 +88984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -88831,8 +89061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -88842,9 +89072,9 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: &725 + default: &726 value: - id: 1 repository: @@ -88958,7 +89188,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88975,9 +89205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 requestBody: required: false content: @@ -89006,7 +89236,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -89137,9 +89367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 responses: '204': description: Response @@ -89162,8 +89392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89171,9 +89401,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: *537 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -89202,8 +89432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *339 - *340 + - *341 - 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 @@ -89265,7 +89495,7 @@ paths: required: false schema: type: string - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -89277,8 +89507,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -89288,7 +89518,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &548 value: @@ -89438,8 +89668,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '422': *15 '404': *6 x-github: @@ -89468,8 +89698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -89584,7 +89814,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &545 value: @@ -89741,9 +89971,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *114 + '503': *115 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -89771,9 +90001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *339 - *340 - - *104 + - *341 + - *105 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89783,7 +90013,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -89793,7 +90023,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: &547 value: @@ -89827,7 +90057,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *66 + Link: *67 '422': *15 '404': *6 x-github: @@ -89854,15 +90084,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: &539 value: @@ -89920,9 +90150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -89944,7 +90174,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 '422': *15 @@ -89964,9 +90194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -89994,15 +90224,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: value: @@ -90058,7 +90288,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -90075,17 +90305,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *538 - '503': *114 + '410': *31 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90102,9 +90332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -90130,11 +90360,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90153,9 +90383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -90187,16 +90417,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -90218,9 +90448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -90241,8 +90471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -90299,7 +90529,7 @@ paths: issue: anyOf: - type: 'null' - - *82 + - *83 label: title: Issue Event Label description: Issue Event Label @@ -90332,7 +90562,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *200 + requested_team: *201 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90457,7 +90687,7 @@ paths: - string - 'null' description: The reason for the referenced issue's state. - repository: *65 + repository: *66 issue_type: title: Issue Type description: The type of the referenced issue. @@ -90501,7 +90731,7 @@ paths: anyOf: - type: 'null' - *543 - author_association: *79 + author_association: *80 lock_reason: type: - string @@ -90676,7 +90906,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -90694,8 +90924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *339 - *340 + - *341 - name: event_id in: path required: true @@ -90899,7 +91129,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *538 + '410': *31 '403': *27 x-github: githubCloudOnly: false @@ -90933,8 +91163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *339 - *340 + - *341 - &546 name: issue_number description: The number that identifies the issue. @@ -90947,7 +91177,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: summary: Issue @@ -91150,10 +91380,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *343 + '301': *344 '404': *6 - '410': *538 - '304': *35 + '410': *31 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91177,8 +91407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -91335,17 +91565,17 @@ paths: application/json: schema: allOf: - - *82 + - *83 - type: object properties: {} examples: default: *545 '422': *15 - '503': *114 + '503': *115 '403': *27 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91363,8 +91593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -91391,7 +91621,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -91409,8 +91639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: content: @@ -91436,7 +91666,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -91460,8 +91690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *339 - *340 + - *341 - *546 - name: assignee in: path @@ -91502,10 +91732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *339 - *340 + - *341 - *546 - - *87 + - *88 - *17 - *19 responses: @@ -91515,13 +91745,13 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: *547 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91550,8 +91780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -91574,7 +91804,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 headers: @@ -91583,7 +91813,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -91611,8 +91841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -91623,14 +91853,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91658,8 +91888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -91682,7 +91912,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -91690,9 +91920,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *343 + '301': *344 '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -91723,8 +91953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - name: issue_id in: path @@ -91737,15 +91967,15 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -91771,8 +92001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -91783,14 +92013,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91807,8 +92037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92170,7 +92400,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -92212,7 +92442,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -93067,8 +93297,8 @@ paths: name: label color: red headers: - Link: *66 - '410': *538 + Link: *67 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93085,8 +93315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -93138,10 +93368,10 @@ paths: name: Backend color: green headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93170,8 +93400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93251,7 +93481,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -93282,8 +93512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93358,7 +93588,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -93384,17 +93614,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - - *244 + - *245 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -93412,8 +93642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -93424,7 +93654,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &551 value: @@ -93443,10 +93673,10 @@ paths: color: a2eeef default: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93462,8 +93692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93507,12 +93737,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -93529,8 +93759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93591,12 +93821,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -93613,15 +93843,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': description: Response - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93640,8 +93870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: name in: path @@ -93655,7 +93885,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: value: @@ -93666,9 +93896,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93688,8 +93918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93719,7 +93949,7 @@ paths: '204': description: Response '403': *27 - '410': *538 + '410': *31 '404': *6 '422': *15 x-github: @@ -93737,8 +93967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': @@ -93769,20 +93999,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *339 - *340 + - *341 - *546 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93799,8 +94029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -93827,13 +94057,13 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93851,8 +94081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93885,16 +94115,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -93916,8 +94146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *339 - *340 + - *341 - *546 - *541 responses: @@ -93948,8 +94178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93972,7 +94202,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -94007,8 +94237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -94019,13 +94249,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94053,8 +94283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94082,7 +94312,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -94091,7 +94321,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -94111,8 +94341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94144,13 +94374,13 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 '403': *27 '404': *6 '422': *7 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -94168,8 +94398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -94245,12 +94475,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -94289,7 +94519,7 @@ paths: properties: type: type: string - issue: *82 + issue: *83 required: - event - created_at @@ -94511,7 +94741,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - event - id @@ -94534,7 +94764,7 @@ paths: type: string comments: type: array - items: &596 + items: &597 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94642,7 +94872,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: @@ -94737,7 +94967,7 @@ paths: enum: - line - file - reactions: *80 + reactions: *81 body_html: type: string examples: @@ -94775,7 +95005,7 @@ paths: type: string comments: type: array - items: *468 + items: *469 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95059,10 +95289,10 @@ paths: type: User site_admin: true headers: - Link: *66 + Link: *67 '404': *6 '400': *14 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95079,8 +95309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -95142,7 +95372,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95158,8 +95388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95231,8 +95461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *339 - *340 + - *341 - &580 name: key_id description: The unique identifier of the key. @@ -95265,8 +95495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *339 - *340 + - *341 - *580 responses: '204': @@ -95287,8 +95517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -95298,11 +95528,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -95321,8 +95551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95358,7 +95588,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &581 value: @@ -95392,8 +95622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -95404,7 +95634,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *581 '404': *6 @@ -95423,8 +95653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -95463,7 +95693,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: value: @@ -95489,8 +95719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -95516,8 +95746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -95556,9 +95786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *339 - *340 - - *443 + - *341 + - *444 responses: '200': description: Response @@ -95624,7 +95854,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 required: - _links - git_url @@ -95705,8 +95935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95771,8 +96001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95806,7 +96036,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *472 examples: default: *582 '204': @@ -95833,8 +96063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *339 - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95875,7 +96105,7 @@ paths: application/json: schema: type: array - items: *281 + items: *282 examples: default: value: @@ -95914,7 +96144,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -95931,8 +96161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95972,7 +96202,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: &583 value: @@ -96033,8 +96263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *339 - *340 + - *341 - &584 name: milestone_number description: The number that identifies the milestone. @@ -96047,7 +96277,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 '404': *6 @@ -96066,8 +96296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *339 - *340 + - *341 - *584 requestBody: required: false @@ -96106,7 +96336,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 x-github: @@ -96124,8 +96354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *339 - *340 + - *341 - *584 responses: '204': @@ -96147,8 +96377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *339 - *340 + - *341 - *584 - *17 - *19 @@ -96159,11 +96389,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96180,11 +96410,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *339 - *340 + - *341 - *585 - *586 - - *87 + - *88 - *587 - *17 - *19 @@ -96195,11 +96425,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: default: *588 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96221,8 +96451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -96280,8 +96510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -96472,8 +96702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96532,7 +96762,7 @@ paths: examples: default: *590 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96553,8 +96783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96633,7 +96863,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96654,14 +96884,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '204': description: Response '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96681,8 +96911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -96765,7 +96995,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96784,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -96832,8 +97062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -96889,8 +97119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *339 - *340 + - *341 - name: build_id in: path required: true @@ -96923,8 +97153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97032,8 +97262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -97092,11 +97322,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - *593 responses: - '204': *59 + '204': *58 '404': *6 x-github: githubCloudOnly: false @@ -97121,8 +97351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -97390,7 +97620,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -97417,8 +97647,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: - - *339 - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -97455,10 +97685,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -97477,10 +97707,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -97500,8 +97730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -97509,7 +97739,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -97540,8 +97770,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97553,7 +97783,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - properties examples: @@ -97603,8 +97833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *339 - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97664,12 +97894,12 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: *594 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '422': *15 x-github: githubCloudOnly: false @@ -97698,8 +97928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97766,7 +97996,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &599 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97895,7 +98125,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -97944,7 +98174,7 @@ paths: items: *4 requested_teams: type: array - items: *260 + items: *261 head: type: object properties: @@ -97952,7 +98182,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -97969,7 +98199,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -97982,14 +98212,14 @@ paths: _links: type: object properties: - comments: *282 - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -97999,8 +98229,9 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: *595 + stack: *596 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98102,7 +98333,7 @@ paths: - merged_by - review_comments examples: - default: &599 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98629,8 +98860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *339 - *340 + - *341 - name: sort in: query required: false @@ -98649,7 +98880,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -98659,9 +98890,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98713,7 +98944,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98738,17 +98969,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &597 + default: &598 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98823,9 +99054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -98847,9 +99078,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98865,9 +99096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -98888,9 +99119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -98916,11 +99147,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -98939,9 +99170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -98973,16 +99204,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -99004,9 +99235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -99050,9 +99281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *339 - *340 - - &600 + - *341 + - &601 name: pull_number description: The number that identifies the pull request. in: path @@ -99065,18 +99296,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *598 + schema: *599 examples: - default: *599 - '304': *35 + default: *600 + '304': *36 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99102,9 +99333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99146,9 +99377,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 '422': *15 '403': *27 x-github: @@ -99170,9 +99401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -99233,21 +99464,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99273,10 +99504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *339 - *340 - - *600 - - *104 + - *341 + - *601 + - *105 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -99286,7 +99517,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -99296,11 +99527,11 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *601 + default: *602 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99331,9 +99562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -99439,7 +99670,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: example-for-a-multi-line-comment: value: @@ -99527,10 +99758,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *339 - *340 - - *600 - - *96 + - *341 + - *601 + - *97 requestBody: required: true content: @@ -99552,7 +99783,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: default: value: @@ -99638,9 +99869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -99650,11 +99881,11 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: *602 + default: *603 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99682,9 +99913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -99694,7 +99925,7 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: default: value: @@ -99710,10 +99941,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *66 + Link: *67 '422': *15 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99732,9 +99963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '204': description: Response if pull request has been merged @@ -99757,9 +99988,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99871,9 +100102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '200': description: Response @@ -99889,7 +100120,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 required: - users - teams @@ -99930,7 +100161,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99948,9 +100179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99987,7 +100218,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -100523,9 +100754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -100559,7 +100790,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -101064,9 +101295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -101076,7 +101307,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101150,7 +101381,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - id - node_id @@ -101199,7 +101430,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101232,9 +101463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -101324,9 +101555,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &605 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101389,10 +101620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - &604 + - *341 + - *601 + - &605 name: review_id description: The unique identifier of the review. in: path @@ -101404,9 +101635,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &606 + default: &607 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101465,10 +101696,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -101491,7 +101722,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -101553,18 +101784,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 responses: '200': description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *605 + default: *606 '422': *7 '404': *6 x-github: @@ -101591,10 +101822,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 - *17 - *19 responses: @@ -101688,13 +101919,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: - self: *282 - html: *282 - pull_request: *282 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -101703,7 +101934,7 @@ paths: type: string body_html: type: string - reactions: *80 + reactions: *81 side: description: The side of the first line of the range for a multi-line comment. @@ -101823,7 +102054,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -101852,10 +102083,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -101884,7 +102115,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -101947,10 +102178,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -101985,9 +102216,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *606 + default: *607 '404': *6 '422': *7 '403': *27 @@ -102009,9 +102240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -102075,8 +102306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *339 - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102089,9 +102320,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &608 + default: &609 value: type: file encoding: base64 @@ -102108,7 +102339,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - '304': *35 + '304': *36 '404': *6 '422': *15 x-github: @@ -102133,8 +102364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *339 - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -102154,9 +102385,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *608 + default: *609 '404': *6 '422': *15 x-github: @@ -102178,8 +102409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -102189,7 +102420,7 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: default: value: @@ -102263,7 +102494,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -102283,8 +102514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -102360,9 +102591,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: &613 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -102467,9 +102698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *339 - *340 - - &611 + - *341 + - &612 name: asset_id description: The unique identifier of the asset. in: path @@ -102481,9 +102712,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &612 + default: &613 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 @@ -102518,7 +102749,7 @@ paths: type: User site_admin: false '404': *6 - '302': *486 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102534,9 +102765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 requestBody: required: false content: @@ -102565,9 +102796,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102583,9 +102814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 responses: '204': description: Response @@ -102610,8 +102841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -102697,16 +102928,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -102724,8 +102955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *339 - *340 + - *341 - name: tag description: tag parameter in: path @@ -102738,9 +102969,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -102762,9 +102993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *339 - *340 - - &614 + - *341 + - &615 name: release_id description: The unique identifier of the release. in: path @@ -102778,9 +103009,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: *609 + schema: *610 examples: - default: *613 + default: *614 '401': description: Unauthorized x-github: @@ -102798,9 +103029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: false content: @@ -102864,9 +103095,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': description: Not Found if the discussion category name is invalid content: @@ -102887,9 +103118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 responses: '204': description: Response @@ -102910,9 +103141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *17 - *19 responses: @@ -102922,7 +103153,7 @@ paths: application/json: schema: type: array - items: *610 + items: *611 examples: default: value: @@ -102959,7 +103190,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103003,9 +103234,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: - - *339 - *340 - - *614 + - *341 + - *615 - name: name in: query required: true @@ -103031,7 +103262,7 @@ paths: description: Response for successful upload content: application/json: - schema: *610 + schema: *611 examples: response-for-successful-upload: value: @@ -103086,9 +103317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 - 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. @@ -103112,11 +103343,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -103135,9 +103366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: true content: @@ -103167,16 +103398,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -103198,9 +103429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *541 responses: '204': @@ -103225,9 +103456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 - *17 - *19 responses: @@ -103243,8 +103474,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *302 - - &615 + - *303 + - &616 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103263,72 +103494,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *303 - - *615 - allOf: - *304 - - *615 + - *616 - allOf: - *305 - - *615 - - allOf: - *616 - - *615 - allOf: - *306 - - *615 + - *616 + - allOf: + - *617 + - *616 - allOf: - *307 - - *615 + - *616 - allOf: - *308 - - *615 + - *616 - allOf: - *309 - - *615 + - *616 - allOf: - *310 - - *615 + - *616 - allOf: - *311 - - *615 + - *616 - allOf: - *312 - - *615 + - *616 - allOf: - *313 - - *615 + - *616 - allOf: - *314 - - *615 + - *616 - allOf: - *315 - - *615 + - *616 - allOf: - - *320 - - *615 + - *316 + - *616 - allOf: - *321 - - *615 + - *616 - allOf: - *322 - - *615 + - *616 - allOf: - - *617 - - *615 + - *323 + - *616 - allOf: - - *316 - - *615 + - *618 + - *616 - allOf: - *317 - - *615 + - *616 - allOf: - *318 - - *615 + - *616 - allOf: - *319 - - *615 + - *616 + - allOf: + - *320 + - *616 examples: default: value: @@ -103367,8 +103598,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - *17 - *19 - name: includes_parents @@ -103379,7 +103610,7 @@ paths: schema: type: boolean default: true - - *618 + - *619 responses: '200': description: Response @@ -103387,7 +103618,7 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: default: value: @@ -103418,7 +103649,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -103434,8 +103665,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 requestBody: description: Request body required: true @@ -103455,16 +103686,16 @@ paths: - tag - push default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *619 + items: *620 required: - name - enforcement @@ -103495,9 +103726,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &630 + default: &631 value: id: 42 name: super cool ruleset @@ -103531,7 +103762,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -103545,13 +103776,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *339 - *340 - - *620 + - *341 - *621 - *622 - *623 - *624 + - *625 - *17 - *19 responses: @@ -103559,11 +103790,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103582,19 +103813,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *339 - *340 - - *627 + - *341 + - *628 responses: '200': description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *629 + default: *630 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103620,8 +103851,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103641,11 +103872,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 - '500': *53 + '500': *54 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -103661,8 +103892,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103687,16 +103918,16 @@ paths: - branch - tag - push - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *619 + items: *620 examples: default: value: @@ -103724,12 +103955,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -103745,8 +103976,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103757,7 +103988,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -103769,8 +104000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *339 - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -103786,11 +104017,11 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *631 + default: *632 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103807,8 +104038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103826,7 +104057,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -103859,7 +104090,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103881,9 +104112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *633 + - *341 - *634 - *635 - *636 @@ -103891,10 +104121,10 @@ paths: - *638 - *639 - *640 - - *60 + - *641 + - *61 - *19 - *17 - - *641 - *642 - *643 - *644 @@ -103903,6 +104133,7 @@ paths: - *647 - *648 - *649 + - *650 responses: '200': description: Response @@ -103913,21 +104144,21 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -104033,7 +104264,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104170,7 +104401,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104192,32 +104423,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 - - *646 + - *341 + - *438 + - *647 responses: '200': description: Response content: application/json: - schema: &653 + schema: &654 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -104323,7 +104554,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -104346,7 +104577,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &817 + metadata: &818 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -104392,11 +104623,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *35 + '304': *36 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104419,9 +104650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -104429,8 +104660,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104478,7 +104709,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: default: value: @@ -104558,7 +104789,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -104580,9 +104811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 responses: @@ -104593,7 +104824,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &819 + items: &820 type: object properties: type: @@ -104620,7 +104851,6 @@ paths: - commit details: oneOf: - - *654 - *655 - *656 - *657 @@ -104633,6 +104863,7 @@ paths: - *664 - *665 - *666 + - *667 examples: default: value: @@ -104692,11 +104923,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *66 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104721,12 +104952,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 - - *667 + - *341 - *668 - *669 - - *60 + - *670 + - *61 - *19 - *17 responses: @@ -104736,11 +104967,11 @@ paths: application/json: schema: type: array - items: *327 + items: *328 examples: - default: *670 + default: *671 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -104761,8 +104992,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104775,9 +105006,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *671 + items: *672 examples: - default: *672 + default: *673 responses: '201': description: All patterns created successfully. @@ -104789,9 +105020,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: *673 + default: *674 '400': *14 '403': *27 '404': *6 @@ -104815,7 +105046,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *674 + items: *675 delete: summary: Bulk delete repository custom patterns description: |- @@ -104834,8 +105065,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104849,7 +105080,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *675 + items: *676 post_delete_action: type: string description: |- @@ -104862,14 +105093,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *676 + default: *677 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -104889,8 +105120,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 - name: pattern_id in: path required: true @@ -104901,21 +105132,21 @@ paths: required: true content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: *679 + default: *680 '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -104933,8 +105164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104942,14 +105173,14 @@ paths: schema: type: object properties: - reason: &681 + reason: &682 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *680 + placeholder_id: *681 required: - reason - placeholder_id @@ -104966,7 +105197,7 @@ paths: schema: type: object properties: - reason: *681 + reason: *682 expire_at: type: - string @@ -104990,7 +105221,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -105013,13 +105244,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *339 - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *114 + '503': *115 '200': description: Response content: @@ -105029,7 +105260,7 @@ paths: properties: incremental_scans: type: array - items: &682 + items: &683 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105062,15 +105293,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *682 + items: *683 backfill_scans: type: array - items: *682 + items: *683 custom_pattern_backfill_scans: type: array items: allOf: - - *682 + - *683 - type: object properties: pattern_name: @@ -105083,7 +105314,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *682 + items: *683 examples: default: value: @@ -105148,9 +105379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *339 - *340 - - *60 + - *341 + - *61 - name: sort description: The property to sort the results by. in: query @@ -105162,8 +105393,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -105193,9 +105424,9 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: - default: *684 + default: *685 '400': *14 '404': *6 x-github: @@ -105218,8 +105449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105299,7 +105530,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -105389,9 +105620,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &686 + default: &687 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105624,8 +105855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105738,7 +105969,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: default: value: @@ -105885,17 +106116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '200': description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 + default: *687 '403': *27 '404': *6 x-github: @@ -105919,9 +106150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 requestBody: required: true content: @@ -106001,7 +106232,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -106092,17 +106323,17 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 - add_credit: *686 + default: *687 + add_credit: *687 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *125 examples: invalid_state_transition: value: @@ -106133,11 +106364,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: - '202': *37 + '202': *38 '400': *14 '403': *27 '404': *6 @@ -106162,17 +106393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '202': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -106198,8 +106429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -106273,7 +106504,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -106295,8 +106526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106305,7 +106536,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106317,8 +106548,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *37 - '204': *59 + '202': *38 + '204': *58 '422': description: Repository contains more than 10,000 commits x-github: @@ -106338,8 +106569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -106389,8 +106620,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106417,8 +106648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -106489,8 +106720,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106512,8 +106743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *339 - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106667,8 +106898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *339 - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106678,7 +106909,7 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: default: value: @@ -106691,7 +106922,7 @@ paths: - - 0 - 2 - 21 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106711,8 +106942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *339 - *340 + - *341 - name: sha in: path required: true @@ -106768,7 +106999,7 @@ paths: description: Response content: application/json: - schema: *688 + schema: *689 examples: default: value: @@ -106822,8 +107053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -106835,9 +107066,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106855,14 +107086,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &689 + schema: &690 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106935,8 +107166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -106962,7 +107193,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: default: value: @@ -106989,8 +107220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107010,8 +107241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107070,7 +107301,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107093,8 +107324,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -107130,8 +107361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107141,11 +107372,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -107163,8 +107394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *339 - *340 + - *341 - *19 - *17 responses: @@ -107172,7 +107403,7 @@ paths: description: Response content: application/json: - schema: &690 + schema: &691 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107184,7 +107415,7 @@ paths: required: - names examples: - default: &691 + default: &692 value: names: - octocat @@ -107207,8 +107438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -107239,9 +107470,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 '404': *6 '422': *7 x-github: @@ -107262,9 +107493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *339 - *340 - - &692 + - *341 + - &693 name: per description: The time frame to display results for. in: query @@ -107295,7 +107526,7 @@ paths: - 128 clones: type: array - items: &693 + items: &694 title: Traffic type: object properties: @@ -107382,8 +107613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -107477,8 +107708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -107541,9 +107772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *339 - *340 - - *692 + - *341 + - *693 responses: '200': description: Response @@ -107564,7 +107795,7 @@ paths: - 3782 views: type: array - items: *693 + items: *694 required: - uniques - count @@ -107641,8 +107872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -107678,7 +107909,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: value: @@ -107916,8 +108147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107940,8 +108171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107963,8 +108194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107990,8 +108221,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -108083,9 +108314,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108126,7 +108357,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -108202,7 +108433,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108318,7 +108549,7 @@ paths: html_url: type: string format: uri - repository: *155 + repository: *156 score: type: number file_size: @@ -108337,7 +108568,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &694 + text_matches: &695 title: Search Result Text Matches type: array items: @@ -108451,8 +108682,8 @@ paths: deployments_url: http://api.github.com/repos/octocat/Hello-World/deployments releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 '403': *27 x-github: @@ -108500,7 +108731,7 @@ paths: enum: - author-date - committer-date - - &695 + - &696 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 @@ -108569,7 +108800,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 comment_count: type: integer message: @@ -108588,7 +108819,7 @@ paths: url: type: string format: uri - verification: *522 + verification: *523 required: - author - committer @@ -108603,7 +108834,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 parents: type: array items: @@ -108615,12 +108846,12 @@ paths: type: string sha: type: string - repository: *155 + repository: *156 score: type: number node_id: type: string - text_matches: *694 + text_matches: *695 required: - sha - node_id @@ -108749,7 +108980,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108812,7 +109043,7 @@ paths: - interactions - created - updated - - *695 + - *696 - *17 - *19 - name: advanced_search @@ -108926,8 +109157,8 @@ paths: type: - string - 'null' - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -108944,7 +109175,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 comments: type: integer created_at: @@ -108958,7 +109189,7 @@ paths: - string - 'null' format: date-time - text_matches: *694 + text_matches: *695 pull_request: type: object properties: @@ -108996,10 +109227,10 @@ paths: type: string score: type: number - author_association: *79 + author_association: *80 draft: type: boolean - repository: *78 + repository: *79 body_html: type: string body_text: @@ -109007,7 +109238,7 @@ paths: timeline_url: type: string format: uri - type: *245 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -109015,8 +109246,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *83 - reactions: *80 + - *84 + reactions: *81 required: - assignee - closed_at @@ -109180,9 +109411,9 @@ paths: - quoted_text items: - "..." - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -109234,7 +109465,7 @@ paths: enum: - created - updated - - *695 + - *696 - *17 - *19 responses: @@ -109279,7 +109510,7 @@ paths: - 'null' score: type: number - text_matches: *694 + text_matches: *695 required: - id - node_id @@ -109311,7 +109542,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -109364,7 +109595,7 @@ paths: - forks - help-wanted-issues - updated - - *695 + - *696 - *17 - *19 responses: @@ -109592,7 +109823,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 permissions: type: object properties: @@ -109610,7 +109841,7 @@ paths: - admin - pull - push - text_matches: *694 + text_matches: *695 temp_clone_token: type: string allow_merge_commit: @@ -109813,9 +110044,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109918,7 +110149,7 @@ paths: - string - 'null' format: uri - text_matches: *694 + text_matches: *695 related: type: - array @@ -110061,7 +110292,7 @@ paths: featured: true curated: true score: 1 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110111,7 +110342,7 @@ paths: - followers - repositories - joined - - *695 + - *696 - *17 - *19 responses: @@ -110221,7 +110452,7 @@ paths: type: - boolean - 'null' - text_matches: *694 + text_matches: *695 blog: type: - string @@ -110282,8 +110513,8 @@ paths: starred_url: https://api.github.com/users/mojombo/starred{/owner}{/repo} events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 x-github: githubCloudOnly: false @@ -110303,7 +110534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &698 + - &699 name: team_id description: The unique identifier of the team. in: path @@ -110315,9 +110546,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -110344,7 +110575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *698 + - *699 requestBody: required: true content: @@ -110408,16 +110639,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -110445,7 +110676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *698 + - *699 responses: '204': description: Response @@ -110474,7 +110705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -110484,11 +110715,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110514,7 +110745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *698 + - *699 - name: role description: Filters members returned by their role in the team. in: query @@ -110535,11 +110766,11 @@ paths: application/json: schema: type: array - items: *699 + items: *700 examples: - default: *700 + default: *701 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -110565,8 +110796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: if user is a member @@ -110602,8 +110833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110642,8 +110873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110679,16 +110910,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *701 + response-if-user-is-a-team-maintainer: *702 '404': *6 x-github: githubCloudOnly: false @@ -110721,8 +110952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 requestBody: required: false content: @@ -110747,9 +110978,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *702 + response-if-users-membership-with-team-is-now-pending: *703 '403': description: Forbidden if team synchronization is set up '422': @@ -110783,8 +111014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110811,7 +111042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -110821,11 +111052,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -110853,15 +111084,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *703 + schema: *704 examples: alternative-response-with-extra-repository-information: value: @@ -111012,9 +111243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 requestBody: required: false content: @@ -111064,9 +111295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '204': description: Response @@ -111091,7 +111322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -111101,11 +111332,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: *704 + response-if-child-teams-exist: *705 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 '422': *15 @@ -111136,7 +111367,7 @@ paths: application/json: schema: oneOf: - - &706 + - &707 title: Private User description: Private User type: object @@ -111386,7 +111617,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *705 + - *706 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111469,7 +111700,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -111546,7 +111777,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -111593,7 +111824,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111625,8 +111856,8 @@ paths: type: array items: *4 examples: - default: *69 - '304': *35 + default: *70 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111648,7 +111879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: If the user is blocked @@ -111657,7 +111888,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -111676,11 +111907,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111700,11 +111931,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -111749,11 +111980,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -111890,21 +112121,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111944,7 +112175,7 @@ paths: type: integer secrets: type: array - items: &707 + items: &708 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111986,9 +112217,9 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112058,13 +112289,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '200': description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -112094,7 +112325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 requestBody: required: true content: @@ -112139,7 +112370,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -112167,7 +112398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '204': description: Response @@ -112192,7 +112423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 responses: '200': description: Response @@ -112208,13 +112439,13 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *201 + default: *202 '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112235,7 +112466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 requestBody: required: true content: @@ -112267,7 +112498,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112289,7 +112520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -112301,7 +112532,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112322,7 +112553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -112334,7 +112565,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112354,17 +112585,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112388,7 +112619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 requestBody: required: false content: @@ -112418,9 +112649,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 @@ -112442,11 +112673,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112471,13 +112702,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '202': description: Response content: application/json: - schema: &708 + schema: &709 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112530,7 +112761,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &709 + default: &710 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112538,7 +112769,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112562,7 +112793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *252 + - *253 - name: export_id in: path required: true @@ -112575,9 +112806,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *709 examples: - default: *709 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -112598,7 +112829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *252 + - *253 responses: '200': description: Response @@ -112614,11 +112845,11 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: *710 - '304': *35 - '500': *53 + default: *711 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112645,7 +112876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *252 + - *253 requestBody: required: true content: @@ -112701,11 +112932,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *342 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *462 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113502,17 +113733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '400': *14 '401': *23 '402': @@ -113522,7 +113753,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113542,16 +113773,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '500': *53 + default: *461 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113580,9 +113811,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: &722 + default: &723 value: - id: 197 name: hello_docker @@ -113683,7 +113914,7 @@ paths: application/json: schema: type: array - items: &711 + items: &712 title: Email description: Email type: object @@ -113719,7 +113950,7 @@ paths: primary: true verified: true visibility: private - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113753,17 +113984,17 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: - default: &724 + default: &725 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113832,7 +114063,7 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: default: value: @@ -113849,7 +114080,7 @@ paths: verified: false visibility: '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113912,7 +114143,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113944,10 +114175,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -113977,10 +114208,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -113999,7 +114230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -114008,7 +114239,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114029,11 +114260,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114054,11 +114285,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114090,7 +114321,7 @@ paths: application/json: schema: type: array - items: &712 + items: &713 title: GPG Key description: A unique encryption key type: object @@ -114235,7 +114466,7 @@ paths: - subkeys - revoked examples: - default: &741 + default: &742 value: - id: 3 name: Octocat's GPG Key @@ -114267,8 +114498,8 @@ paths: revoked: false raw_key: string headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114320,9 +114551,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &713 + default: &714 value: id: 3 name: Octocat's GPG Key @@ -114356,7 +114587,7 @@ paths: v2\n\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\nIts/HFYRLiFgDLmTlxo=\n=+OzK\n-----END PGP PUBLIC KEY BLOCK-----"' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114379,7 +114610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &714 + - &715 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114391,11 +114622,11 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *713 + default: *714 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114416,13 +114647,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *714 + - *715 responses: '204': description: Response '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114559,8 +114790,8 @@ paths: suspended_at: suspended_by: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -114607,7 +114838,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -114618,12 +114849,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *147 + default: *148 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114644,12 +114875,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -114670,12 +114901,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -114704,12 +114935,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *238 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -114733,7 +114964,7 @@ paths: required: true content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -114744,7 +114975,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -114825,7 +115056,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -114837,8 +115068,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -114848,13 +115079,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114883,7 +115114,7 @@ paths: application/json: schema: type: array - items: &715 + items: &716 title: Key description: Key type: object @@ -114935,8 +115166,8 @@ paths: verified: false read_only: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114986,9 +115217,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: &716 + default: &717 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114998,7 +115229,7 @@ paths: verified: false read_only: false '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115027,11 +115258,11 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115056,7 +115287,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115085,7 +115316,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115153,7 +115384,7 @@ paths: - id - type - login - plan: *98 + plan: *99 required: - billing_cycle - next_billing_date @@ -115164,7 +115395,7 @@ paths: - account - plan examples: - default: &718 + default: &719 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115197,8 +115428,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 '404': *6 x-github: @@ -115226,12 +115457,12 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *718 + default: *719 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -115268,7 +115499,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: value: @@ -115351,8 +115582,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -115376,13 +115607,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: default: value: @@ -115444,7 +115675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -115469,9 +115700,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: &719 + default: &720 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -115518,9 +115749,9 @@ paths: processed asynchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: *719 + default: *720 '403': *27 '404': *6 '422': *15 @@ -115549,7 +115780,7 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: default: value: @@ -115702,8 +115933,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -115811,7 +116042,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -115964,7 +116195,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115991,7 +116222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *257 + - *258 - name: exclude in: query required: false @@ -116004,7 +116235,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -116158,7 +116389,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -116198,11 +116429,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *257 + - *258 responses: '302': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -116224,12 +116455,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *257 + - *258 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -116253,12 +116484,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *257 - - *720 + - *258 + - *721 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -116278,7 +116509,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *257 + - *258 - *17 - *19 responses: @@ -116288,11 +116519,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -116325,12 +116556,12 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -116369,7 +116600,7 @@ paths: - docker - nuget - container - - *721 + - *722 - *19 - *17 responses: @@ -116379,10 +116610,10 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 - '400': *723 + default: *723 + '400': *724 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116402,16 +116633,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &742 + default: &743 value: id: 40201 name: octo-name @@ -116524,8 +116755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '204': description: Response @@ -116555,8 +116786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 - name: token description: package token schema: @@ -116588,8 +116819,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: - - *264 - *265 + - *266 - *19 - *17 - name: state @@ -116609,7 +116840,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -116658,15 +116889,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -116702,9 +116933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -116734,9 +116965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -116773,12 +117004,12 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: - default: *724 + default: *725 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -116886,9 +117117,9 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default: &731 + default: &732 summary: Default response value: - id: 1296269 @@ -117009,9 +117240,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117206,16 +117437,16 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *23 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -117246,12 +117477,12 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: *725 + default: *726 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117271,14 +117502,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response '403': *27 - '409': *52 + '409': *53 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117294,12 +117525,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response - '409': *52 - '304': *35 + '409': *53 + '304': *36 '404': *6 '403': *27 x-github: @@ -117327,7 +117558,7 @@ paths: application/json: schema: type: array - items: &726 + items: &727 title: Social account description: Social media account type: object @@ -117344,13 +117575,13 @@ paths: - provider - url examples: - default: &727 + default: &728 value: - provider: twitter url: https://twitter.com/github headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117407,11 +117638,11 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: - default: *727 + default: *728 '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117465,7 +117696,7 @@ paths: '204': description: Response '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117497,7 +117728,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117517,7 +117748,7 @@ paths: - title - created_at examples: - default: &759 + default: &760 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117528,8 +117759,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117582,16 +117813,16 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: &729 + default: &730 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117614,7 +117845,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: - - &730 + - &731 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117626,11 +117857,11 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: *729 + default: *730 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117651,11 +117882,11 @@ 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: - - *730 + - *731 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117680,7 +117911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &760 + - &761 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 @@ -117693,7 +117924,7 @@ paths: - created - updated default: created - - *60 + - *61 - *17 - *19 responses: @@ -117703,13 +117934,13 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default-response: *731 + default-response: *732 application/vnd.github.v3.star+json: schema: type: array - items: &761 + items: &762 title: Starred Repository description: Starred Repository type: object @@ -117717,7 +117948,7 @@ paths: starred_at: type: string format: date-time - repo: *78 + repo: *79 required: - starred_at - repo @@ -117845,8 +118076,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -117865,8 +118096,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: - - *339 - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -117876,7 +118107,7 @@ paths: application/json: schema: *3 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -117894,15 +118125,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '403': *27 '404': *6 '401': *23 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117919,14 +118150,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '404': *6 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -117953,12 +118184,12 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -117992,7 +118223,7 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: default: value: @@ -118043,8 +118274,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -118070,7 +118301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *100 + - *101 responses: '200': description: Response @@ -118078,10 +118309,10 @@ paths: application/json: schema: oneOf: + - *707 - *706 - - *705 examples: - default-response: &735 + default-response: &736 summary: Default response value: login: octocat @@ -118116,7 +118347,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &736 + response-with-git-hub-plan-information: &737 summary: Response with GitHub plan information value: login: octocat @@ -118173,14 +118404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &733 + - &734 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *280 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -118214,10 +118445,10 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - draft_issue: *286 - '304': *35 + draft_issue: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -118239,7 +118470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *732 + - *733 - *17 responses: '200': @@ -118250,13 +118481,13 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118274,8 +118505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *733 - - *280 + - *734 + - *281 requestBody: required: true content: @@ -118349,18 +118580,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *734 + schema: *735 examples: table_view: summary: Response for creating a table view - value: *290 + value: *291 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -118393,7 +118624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -118401,11 +118632,11 @@ paths: application/json: schema: oneOf: + - *707 - *706 - - *705 examples: - default-response: *735 - response-with-git-hub-plan-information: *736 + default-response: *736 + response-with-git-hub-plan-information: *737 '404': *6 x-github: githubCloudOnly: false @@ -118429,9 +118660,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 requestBody: required: true content: @@ -118455,8 +118686,8 @@ paths: required: - subject_digests examples: - default: *737 - withPredicateType: *738 + default: *738 + withPredicateType: *739 responses: '200': description: Response @@ -118510,7 +118741,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *739 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118528,7 +118759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *70 + - *71 requestBody: required: true content: @@ -118593,7 +118824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *70 + - *71 - name: subject_digest description: Subject Digest in: path @@ -118624,7 +118855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *70 + - *71 - name: attestation_id description: Attestation ID in: path @@ -118660,9 +118891,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 - name: subject_digest description: Subject Digest in: path @@ -118715,12 +118946,12 @@ paths: initiator: type: string examples: - default: *399 + default: *400 '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -118748,7 +118979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *70 + - *71 - name: per_page description: The number of results per page (max 100). in: query @@ -118782,7 +119013,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *196 + items: *197 examples: default: summary: Example response for listing user copilot spaces @@ -118881,7 +119112,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -118903,7 +119134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *70 + - *71 requestBody: required: true content: @@ -118997,9 +119228,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &740 + default: &741 summary: Example response for a user copilot space value: id: 42 @@ -119086,7 +119317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119098,9 +119329,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 x-github: @@ -119122,7 +119353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119224,9 +119455,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 '422': *15 @@ -119249,7 +119480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119283,7 +119514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119303,7 +119534,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *198 + items: *199 examples: default: value: @@ -119399,7 +119630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119446,7 +119677,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -119506,7 +119737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119557,7 +119788,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -119619,7 +119850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119667,7 +119898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119687,7 +119918,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *199 + items: *200 examples: default: value: @@ -119725,7 +119956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119779,7 +120010,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119795,7 +120026,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119830,7 +120061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119848,7 +120079,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119880,7 +120111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119915,7 +120146,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119948,7 +120179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119984,7 +120215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -119992,9 +120223,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 + default: *723 '403': *27 '401': *23 x-github: @@ -120017,7 +120248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120027,7 +120258,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -120089,8 +120320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *70 - - *74 + - *71 + - *75 - *17 - *19 responses: @@ -120100,7 +120331,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -120177,7 +120408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120187,7 +120418,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -120245,7 +120476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120257,9 +120488,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120276,7 +120507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120288,9 +120519,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120307,7 +120538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *70 + - *71 - name: target_user in: path required: true @@ -120334,8 +120565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *70 - - *87 + - *71 + - *88 - *17 - *19 responses: @@ -120345,11 +120576,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -120368,7 +120599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120378,11 +120609,11 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: - default: *741 + default: *742 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120404,7 +120635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *70 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120476,7 +120707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *70 + - *71 responses: '200': description: Response @@ -120484,7 +120715,7 @@ paths: application/json: schema: *20 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120502,7 +120733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120538,7 +120769,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120558,7 +120789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120568,11 +120799,11 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120609,8 +120840,8 @@ paths: - docker - nuget - container - - *721 - - *70 + - *722 + - *71 - *19 - *17 responses: @@ -120620,12 +120851,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 + default: *723 '403': *27 '401': *23 - '400': *723 + '400': *724 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120645,17 +120876,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *742 + default: *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120676,9 +120907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '204': description: Response @@ -120710,9 +120941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 - name: token description: package token schema: @@ -120744,9 +120975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response @@ -120754,7 +120985,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -120812,16 +121043,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *264 - *265 - - *267 - - *70 + - *266 + - *268 + - *71 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -120856,10 +121087,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -120891,10 +121122,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -120918,15 +121149,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *70 + - *71 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -120935,12 +121166,12 @@ paths: application/json: schema: type: array - items: *278 + items: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120959,19 +121190,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *280 - - *70 + - *281 + - *71 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120990,11 +121221,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *280 - - *70 + - *281 + - *71 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -121002,12 +121233,12 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *743 + default: *744 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121025,8 +121256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true content: @@ -121064,7 +121295,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *744 + items: *745 required: - name - data_type @@ -121080,7 +121311,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *745 + iteration_configuration: *746 required: - name - data_type @@ -121102,21 +121333,21 @@ paths: value: name: Due date data_type: date - single_select_field: *746 - iteration_field: *747 + single_select_field: *747 + iteration_field: *748 responses: '201': description: Response content: application/json: - schema: *283 + schema: *284 examples: - text_field: *748 - number_field: *749 - date_field: *750 - single_select_field: *751 - iteration_field: *752 - '304': *35 + text_field: *749 + number_field: *750 + date_field: *751 + single_select_field: *752 + iteration_field: *753 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -121136,20 +121367,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *280 - - *753 - - *70 + - *281 + - *754 + - *71 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *754 + default: *755 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121169,10 +121400,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *280 - - *70 - - *45 + - *281 + - *71 - *46 + - *47 - *17 - 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) @@ -121202,12 +121433,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121225,8 +121456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -121296,23 +121527,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -121331,9 +121562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121353,12 +121584,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121376,9 +121607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121451,13 +121682,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -121477,9 +121708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 responses: '204': description: Response @@ -121501,9 +121732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *280 - - *70 - - *755 + - *281 + - *71 + - *756 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121519,8 +121750,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -121529,12 +121760,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -121559,7 +121790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121569,7 +121800,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121634,7 +121865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121644,7 +121875,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121707,7 +121938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *70 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -121750,11 +121981,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121774,12 +122005,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing AI credit usage report @@ -121886,8 +122117,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121907,12 +122138,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -122019,8 +122250,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122040,10 +122271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *70 - - *116 - - *756 - - *118 + - *71 + - *117 + - *757 + - *119 responses: '200': description: Response when getting a billing usage report @@ -122113,8 +122344,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122137,13 +122368,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *757 - - *121 + - *119 - *758 + - *122 + - *759 responses: '200': description: Response when getting a billing usage summary @@ -122248,8 +122479,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122267,7 +122498,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -122277,11 +122508,11 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: - default: *727 + default: *728 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122299,7 +122530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -122309,11 +122540,11 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: - default: *759 + default: *760 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122335,9 +122566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *70 - - *760 - - *60 + - *71 + - *761 + - *61 - *17 - *19 responses: @@ -122348,13 +122579,13 @@ paths: schema: anyOf: - type: array - items: *761 + items: *762 - type: array - items: *78 + items: *79 examples: - default-response: *731 + default-response: *732 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122371,7 +122602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -122381,11 +122612,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122512,7 +122743,7 @@ webhooks: type: string enum: - disabled - enterprise: &762 + enterprise: &763 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122581,7 +122812,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &763 + installation: &764 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122602,7 +122833,7 @@ webhooks: required: - id - node_id - organization: &764 + organization: &765 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122675,7 +122906,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &765 + repository: &766 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122704,7 +122935,7 @@ webhooks: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' @@ -123601,10 +123832,10 @@ webhooks: type: string enum: - enabled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -123680,11 +123911,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: &766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: &767 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) @@ -123907,11 +124138,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -124099,11 +124330,11 @@ webhooks: - everyone required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -124187,7 +124418,7 @@ webhooks: type: string enum: - completed - check_run: &768 + check_run: &769 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124252,8 +124483,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *85 - repository: *155 + items: *86 + repository: *156 status: type: string enum: @@ -124297,7 +124528,7 @@ webhooks: - examples: - neutral - deployment: *767 + deployment: *768 details_url: type: string examples: @@ -124357,7 +124588,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *85 + items: *86 started_at: type: string format: date-time @@ -124395,10 +124626,10 @@ webhooks: - output - app - pull_requests - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -124789,11 +125020,11 @@ webhooks: type: string enum: - created - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -125187,11 +125418,11 @@ webhooks: type: string enum: - requested_action - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 requested_action: description: The action requested by the user. type: object @@ -125594,11 +125825,11 @@ webhooks: type: string enum: - rerequested - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -126583,10 +126814,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -127300,10 +127531,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -128011,10 +128242,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -128183,7 +128414,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128335,20 +128566,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &769 + commit_oid: &770 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: *762 - installation: *763 - organization: *764 - ref: &770 + enterprise: *763 + installation: *764 + organization: *765 + ref: &771 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: *765 + repository: *766 sender: *4 required: - action @@ -128515,7 +128746,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128756,12 +128987,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -128859,7 +129090,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129044,12 +129275,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -129218,7 +129449,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129395,12 +129626,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -129501,7 +129732,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129690,9 +129921,9 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -129700,7 +129931,7 @@ webhooks: type: - string - 'null' - repository: *765 + repository: *766 sender: *4 required: - action @@ -129799,7 +130030,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129946,12 +130177,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -130120,7 +130351,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130272,10 +130503,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130535,10 +130766,10 @@ webhooks: - updated_at - author_association - body - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130619,18 +130850,18 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *764 - pusher_type: &771 + organization: *765 + pusher_type: &772 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &772 + ref: &773 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -130640,7 +130871,7 @@ webhooks: enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -130722,10 +130953,10 @@ webhooks: type: string enum: - created - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130810,9 +131041,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130889,10 +131120,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130969,10 +131200,10 @@ webhooks: type: string enum: - updated - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -131049,19 +131280,19 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - repository: *765 - organization: *764 + enterprise: *763 + installation: *764 + repository: *766 + organization: *765 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *295 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *295 + items: *296 required: - action - repository @@ -131137,18 +131368,18 @@ webhooks: title: delete event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - pusher_type: *771 - ref: *772 + enterprise: *763 + installation: *764 + organization: *765 + pusher_type: *772 + ref: *773 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -131228,11 +131459,11 @@ webhooks: type: string enum: - assignees_changed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131312,11 +131543,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131397,11 +131628,11 @@ webhooks: type: string enum: - auto_reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131482,11 +131713,11 @@ webhooks: type: string enum: - created - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131565,11 +131796,11 @@ webhooks: type: string enum: - dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131648,11 +131879,11 @@ webhooks: type: string enum: - fixed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131732,11 +131963,11 @@ webhooks: type: string enum: - reintroduced - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131815,11 +132046,11 @@ webhooks: type: string enum: - reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131896,9 +132127,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - key: &773 + enterprise: *763 + installation: *764 + key: &774 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131936,8 +132167,8 @@ webhooks: - verified - created_at - read_only - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132014,11 +132245,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - key: *773 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + key: *774 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132585,12 +132816,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: &777 + workflow: &778 title: Workflow type: - object @@ -133341,13 +133572,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *499 + - *500 pull_requests: type: array - items: *598 - repository: *765 - organization: *764 - installation: *763 + items: *599 + repository: *766 + organization: *765 + installation: *764 sender: *4 responses: '200': @@ -133418,7 +133649,7 @@ webhooks: type: string enum: - approved - approver: &774 + approver: &775 type: object properties: avatar_url: @@ -133461,11 +133692,11 @@ webhooks: type: string comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: &775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: &776 type: array items: type: object @@ -133546,7 +133777,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &776 + workflow_job_run: &777 type: object properties: conclusion: @@ -134292,18 +134523,18 @@ webhooks: type: string enum: - rejected - approver: *774 + approver: *775 comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: *775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: *776 sender: *4 since: type: string - workflow_job_run: *776 + workflow_job_run: *777 workflow_job_runs: type: array items: @@ -135020,13 +135251,13 @@ webhooks: type: string enum: - requested - enterprise: *762 + enterprise: *763 environment: type: string - installation: *763 - organization: *764 - repository: *765 - requestor: &782 + installation: *764 + organization: *765 + repository: *766 + requestor: &783 title: User type: - object @@ -136959,12 +137190,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Deployment Workflow Run type: @@ -137655,7 +137886,7 @@ webhooks: type: string enum: - answered - answer: &780 + answer: &781 type: object properties: author_association: @@ -137815,11 +138046,11 @@ webhooks: - created_at - updated_at - body - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137946,11 +138177,11 @@ webhooks: - from required: - category - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138033,11 +138264,11 @@ webhooks: type: string enum: - closed - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138119,7 +138350,7 @@ webhooks: type: string enum: - created - comment: &779 + comment: &780 type: object properties: author_association: @@ -138279,11 +138510,11 @@ webhooks: - updated_at - body - reactions - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138366,12 +138597,12 @@ webhooks: type: string enum: - deleted - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138466,12 +138697,12 @@ webhooks: - from required: - body - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138555,11 +138786,11 @@ webhooks: type: string enum: - created - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138641,11 +138872,11 @@ webhooks: type: string enum: - deleted - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138745,11 +138976,11 @@ webhooks: type: string required: - from - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138831,10 +139062,10 @@ webhooks: type: string enum: - labeled - discussion: *778 - enterprise: *762 - installation: *763 - label: &781 + discussion: *779 + enterprise: *763 + installation: *764 + label: &782 title: Label type: object properties: @@ -138867,8 +139098,8 @@ webhooks: - color - default - description - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138951,11 +139182,11 @@ webhooks: type: string enum: - locked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139037,11 +139268,11 @@ webhooks: type: string enum: - pinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139123,11 +139354,11 @@ webhooks: type: string enum: - reopened - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139212,16 +139443,16 @@ webhooks: changes: type: object properties: - new_discussion: *778 - new_repository: *765 + new_discussion: *779 + new_repository: *766 required: - new_discussion - new_repository - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139304,10 +139535,10 @@ webhooks: type: string enum: - unanswered - discussion: *778 - old_answer: *780 - organization: *764 - repository: *765 + discussion: *779 + old_answer: *781 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139389,12 +139620,12 @@ webhooks: type: string enum: - unlabeled - discussion: *778 - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139477,11 +139708,11 @@ webhooks: type: string enum: - unlocked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139563,11 +139794,11 @@ webhooks: type: string enum: - unpinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139640,7 +139871,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *762 + enterprise: *763 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -140318,9 +140549,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - forkee @@ -140466,9 +140697,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pages: description: The pages that were updated. type: array @@ -140506,7 +140737,7 @@ webhooks: - action - sha - html_url - repository: *765 + repository: *766 sender: *4 required: - pages @@ -140582,10 +140813,10 @@ webhooks: type: string enum: - created - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: &783 + organization: *765 + repositories: &784 description: An array of repository objects that the installation can access. type: array @@ -140611,8 +140842,8 @@ webhooks: - name - full_name - private - repository: *765 - requester: *782 + repository: *766 + requester: *783 sender: *4 required: - action @@ -140687,11 +140918,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -140768,11 +140999,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -140849,10 +141080,10 @@ webhooks: type: string enum: - added - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: &784 + organization: *765 + repositories_added: &785 description: An array of repository objects, which were added to the installation. type: array @@ -140898,15 +141129,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *765 - repository_selection: &785 + repository: *766 + repository_selection: &786 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *782 + requester: *783 sender: *4 required: - action @@ -140985,10 +141216,10 @@ webhooks: type: string enum: - removed - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: *784 + organization: *765 + repositories_added: *785 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141015,9 +141246,9 @@ webhooks: - name - full_name - private - repository: *765 - repository_selection: *785 - requester: *782 + repository: *766 + repository_selection: *786 + requester: *783 sender: *4 required: - action @@ -141096,11 +141327,11 @@ webhooks: type: string enum: - suspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -141282,10 +141513,10 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 target_type: type: string @@ -141364,11 +141595,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -141624,8 +141855,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142437,8 +142668,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142455,7 +142686,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -142799,8 +143030,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -142880,7 +143111,7 @@ webhooks: type: string enum: - deleted - comment: &786 + comment: &787 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -143055,8 +143286,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143864,8 +144095,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143882,7 +144113,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -144228,8 +144459,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -144309,7 +144540,7 @@ webhooks: type: string enum: - edited - changes: &810 + changes: &811 description: The changes to the comment. type: object properties: @@ -144321,9 +144552,9 @@ webhooks: type: string required: - from - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145134,8 +145365,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145152,7 +145383,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -145496,8 +145727,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -145578,9 +145809,9 @@ webhooks: type: string enum: - pinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146393,8 +146624,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146411,7 +146642,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -146757,8 +146988,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -146838,9 +147069,9 @@ webhooks: type: string enum: - unpinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147653,8 +147884,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147671,7 +147902,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -148017,8 +148248,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148101,15 +148332,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148192,15 +148423,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148282,15 +148513,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148373,15 +148604,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148461,10 +148692,10 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - issue: &787 + assignee: *783 + enterprise: *763 + installation: *764 + issue: &788 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149274,9 +149505,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -149296,7 +149527,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -149399,8 +149630,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149480,8 +149711,8 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -150296,9 +150527,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -150318,7 +150549,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -150564,8 +150795,8 @@ webhooks: required: - state - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -150644,8 +150875,8 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151451,9 +151682,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -151473,7 +151704,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -151575,8 +151806,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -151655,8 +151886,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152485,9 +152716,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -152507,7 +152738,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -152588,7 +152819,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &788 + milestone: &789 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152731,8 +152962,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -152831,8 +153062,8 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153642,9 +153873,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -153661,7 +153892,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -153767,9 +153998,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153849,9 +154080,9 @@ webhooks: type: string enum: - field_added - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was set or updated on the @@ -154017,8 +154248,8 @@ webhooks: - id required: - from - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154098,9 +154329,9 @@ webhooks: type: string enum: - field_removed - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -154187,8 +154418,8 @@ webhooks: - 'null' required: - id - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154268,8 +154499,8 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155078,9 +155309,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -155097,7 +155328,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -155203,9 +155434,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155285,8 +155516,8 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156120,9 +156351,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -156139,7 +156370,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -156222,8 +156453,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156302,8 +156533,8 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157131,9 +157362,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -157153,7 +157384,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -157233,9 +157464,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *788 - organization: *764 - repository: *765 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158122,8 +158353,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -158153,7 +158384,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -158226,7 +158457,7 @@ webhooks: required: - login - id - type: *245 + type: *246 required: - id - number @@ -158718,8 +158949,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159526,8 +159757,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -159547,7 +159778,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -159558,7 +159789,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -159653,8 +159884,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -159734,9 +159965,9 @@ webhooks: type: string enum: - pinned - enterprise: *762 - installation: *763 - issue: &789 + enterprise: *763 + installation: *764 + issue: &790 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -160540,9 +160771,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -160562,7 +160793,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -160664,8 +160895,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -160744,8 +160975,8 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161577,9 +161808,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -161679,9 +161910,9 @@ webhooks: format: uri user_view_type: type: string - type: *245 - organization: *764 - repository: *765 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -162568,9 +162799,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -162590,7 +162821,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -163183,11 +163414,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163267,12 +163498,12 @@ webhooks: type: string enum: - typed - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163353,7 +163584,7 @@ webhooks: type: string enum: - unassigned - assignee: &813 + assignee: &814 title: User type: - object @@ -163425,11 +163656,11 @@ webhooks: required: - login - id - enterprise: *762 - installation: *763 - issue: *787 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163508,12 +163739,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - issue: *787 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163593,8 +163824,8 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -164426,9 +164657,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -164448,7 +164679,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -164528,8 +164759,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164609,11 +164840,11 @@ webhooks: type: string enum: - unpinned - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164692,12 +164923,12 @@ webhooks: type: string enum: - untyped - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164777,11 +165008,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164859,11 +165090,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164973,11 +165204,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165059,9 +165290,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: &790 + enterprise: *763 + installation: *764 + marketplace_purchase: &791 title: Marketplace Purchase type: object required: @@ -165149,8 +165380,8 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: &791 + organization: *765 + previous_marketplace_purchase: &792 title: Marketplace Purchase type: object properties: @@ -165234,7 +165465,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -165314,10 +165545,10 @@ webhooks: - changed effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165405,7 +165636,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -165487,10 +165718,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165576,7 +165807,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -165657,8 +165888,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 marketplace_purchase: title: Marketplace Purchase type: object @@ -165744,9 +165975,9 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -165826,12 +166057,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -165933,11 +166164,11 @@ webhooks: type: string required: - to - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166039,11 +166270,11 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166122,11 +166353,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166204,11 +166435,11 @@ webhooks: type: string enum: - added - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166286,7 +166517,7 @@ webhooks: required: - login - id - team: &792 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166516,11 +166747,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166599,7 +166830,7 @@ webhooks: required: - login - id - team: *792 + team: *793 required: - action - scope @@ -166681,8 +166912,8 @@ webhooks: type: string enum: - checks_requested - installation: *763 - merge_group: &793 + installation: *764 + merge_group: &794 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166701,15 +166932,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *419 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166795,10 +167026,10 @@ webhooks: - merged - invalidated - dequeued - installation: *763 - merge_group: *793 - organization: *764 - repository: *765 + installation: *764 + merge_group: *794 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166871,7 +167102,7 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166980,12 +167211,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *763 - organization: *764 + installation: *764 + organization: *765 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -167065,11 +167296,11 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167148,9 +167379,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - milestone: &794 + enterprise: *763 + installation: *764 + milestone: &795 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167292,8 +167523,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167372,11 +167603,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167486,11 +167717,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167570,11 +167801,11 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - milestone: *794 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167653,11 +167884,11 @@ webhooks: type: string enum: - blocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167736,11 +167967,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167819,9 +168050,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - membership: &795 + enterprise: *763 + installation: *764 + membership: &796 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167931,8 +168162,8 @@ webhooks: - role - organization_url - user - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168010,11 +168241,11 @@ webhooks: type: string enum: - member_added - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168093,8 +168324,8 @@ webhooks: type: string enum: - member_invited - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168216,10 +168447,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 - user: *782 + user: *783 required: - action - invitation @@ -168297,11 +168528,11 @@ webhooks: type: string enum: - member_removed - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168388,11 +168619,11 @@ webhooks: properties: from: type: string - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168469,9 +168700,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -168994,7 +169225,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &797 title: Ruby Gems metadata type: object properties: @@ -169091,7 +169322,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -169167,9 +169398,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -169531,7 +169762,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 source_url: type: string format: uri @@ -169602,7 +169833,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -169782,12 +170013,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *762 + enterprise: *763 id: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - id @@ -169864,7 +170095,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &798 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170014,10 +170245,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *762 - organization: *764 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -170094,11 +170325,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -170174,11 +170405,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -170253,11 +170484,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *764 - enterprise: *762 + personal_access_token_request: *798 + organization: *765 + enterprise: *763 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -170362,7 +170593,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *799 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170394,8 +170625,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 zen: description: Random string of GitHub zen. @@ -170640,10 +170871,10 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: &799 + enterprise: *763 + installation: *764 + organization: *765 + project_card: &800 title: Project Card type: object properties: @@ -170766,7 +170997,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -170847,11 +171078,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -170931,9 +171162,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: title: Project Card type: object @@ -171063,7 +171294,7 @@ webhooks: repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -171157,11 +171388,11 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -171255,9 +171486,9 @@ webhooks: - from required: - column_id - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: allOf: - title: Project Card @@ -171454,7 +171685,7 @@ webhooks: type: string required: - after_id - repository: *765 + repository: *766 sender: *4 required: - action @@ -171534,10 +171765,10 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - organization: *764 - project: &801 + enterprise: *763 + installation: *764 + organization: *765 + project: &802 title: Project type: object properties: @@ -171664,7 +171895,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -171744,10 +171975,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_column: &800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: &801 title: Project Column type: object properties: @@ -171787,7 +172018,7 @@ webhooks: - name - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -171866,14 +172097,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -171962,11 +172193,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -172046,11 +172277,11 @@ webhooks: type: string enum: - moved - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -172130,11 +172361,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -172214,14 +172445,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project: *801 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -172322,11 +172553,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -172405,11 +172636,11 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -172490,9 +172721,9 @@ webhooks: type: string enum: - closed - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172573,9 +172804,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172656,9 +172887,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172779,9 +173010,9 @@ webhooks: type: string to: type: string - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172864,7 +173095,7 @@ webhooks: type: string enum: - archived - changes: &805 + changes: &806 type: object properties: archived_at: @@ -172880,9 +173111,9 @@ webhooks: - string - 'null' format: date-time - installation: *763 - organization: *764 - projects_v2_item: &802 + installation: *764 + organization: *765 + projects_v2_item: &803 title: Projects v2 Item description: An item belonging to a project type: object @@ -172900,7 +173131,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *284 + content_type: *285 creator: *4 created_at: type: string @@ -173022,9 +173253,9 @@ webhooks: - 'null' to: type: string - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173106,9 +173337,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173189,9 +173420,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173296,7 +173527,7 @@ webhooks: oneOf: - type: string - type: integer - - &803 + - &804 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173320,7 +173551,7 @@ webhooks: required: - id - name - - &804 + - &805 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173360,8 +173591,8 @@ webhooks: oneOf: - type: string - type: integer - - *803 - *804 + - *805 type: - 'null' - string @@ -173384,9 +173615,9 @@ webhooks: - 'null' required: - body - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173483,9 +173714,9 @@ webhooks: type: - string - 'null' - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173568,10 +173799,10 @@ webhooks: type: string enum: - restored - changes: *805 - installation: *763 - organization: *764 - projects_v2_item: *802 + changes: *806 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173653,9 +173884,9 @@ webhooks: type: string enum: - reopened - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173736,9 +173967,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -173819,9 +174050,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -173967,9 +174198,9 @@ webhooks: - string - 'null' format: date - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -174040,10 +174271,10 @@ webhooks: title: public event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - repository @@ -174120,13 +174351,13 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - number: &807 + assignee: *783 + enterprise: *763 + installation: *764 + number: &808 description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -176369,6 +176600,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -176497,7 +176729,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -176579,11 +176811,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -178817,6 +179049,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -178947,7 +179180,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -179029,11 +179262,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -181267,6 +181500,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -181397,7 +181631,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -181479,13 +181713,13 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: &808 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: &809 allOf: - - *598 + - *599 - type: object properties: allow_auto_merge: @@ -181547,7 +181781,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *765 + repository: *766 sender: *4 required: - action @@ -181628,12 +181862,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -181713,11 +181947,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: &809 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: &810 title: Pull Request type: object properties: @@ -183938,6 +184172,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -184066,7 +184301,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -184145,11 +184380,11 @@ webhooks: type: string enum: - dequeued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -186374,6 +186609,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -186517,7 +186753,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *765 + repository: *766 sender: *4 required: - action @@ -186641,12 +186877,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -186726,11 +186962,11 @@ webhooks: type: string enum: - enqueued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -188955,6 +189191,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -189083,7 +189320,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -189163,11 +189400,11 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -191409,6 +191646,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191537,7 +191775,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -191618,10 +191856,10 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -193861,6 +194099,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193989,7 +194228,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -194069,12 +194308,12 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: *809 - repository: *765 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: *810 + repository: *766 sender: *4 required: - action @@ -194153,12 +194392,12 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -194239,12 +194478,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -194324,12 +194563,12 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -194704,9 +194943,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -196835,6 +197074,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -196958,7 +197198,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -197038,7 +197278,7 @@ webhooks: type: string enum: - deleted - comment: &811 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -197331,9 +197571,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -199450,6 +199690,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -199573,7 +199814,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -199653,11 +199894,11 @@ webhooks: type: string enum: - edited - changes: *810 - comment: *811 - enterprise: *762 - installation: *763 - organization: *764 + changes: *811 + comment: *812 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -201777,6 +202018,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -201900,7 +202142,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -201981,9 +202223,9 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -204113,6 +204355,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -204238,7 +204481,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 review: description: The review that was affected. type: object @@ -204489,9 +204732,9 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -206605,8 +206848,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: &812 + repository: *766 + review: &813 description: The review that was affected. type: object properties: @@ -206844,12 +207087,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -209090,6 +209333,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -209218,7 +209462,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -209304,12 +209548,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -211557,6 +211801,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -211685,7 +211930,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211880,12 +212125,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -214127,6 +214372,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -214256,7 +214502,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -214343,12 +214589,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -216581,6 +216827,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -216710,7 +216957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216894,9 +217141,9 @@ webhooks: type: string enum: - submitted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -219029,6 +219276,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -219154,8 +219402,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: *812 + repository: *766 + review: *813 sender: *4 required: - action @@ -219235,9 +219483,9 @@ webhooks: type: string enum: - resolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -221265,6 +221513,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -221390,7 +221639,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -221787,9 +222036,9 @@ webhooks: type: string enum: - unresolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -223801,6 +224050,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -223925,7 +224175,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -224318,10 +224568,11 @@ webhooks: type: string enum: - stacked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + stack: *596 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -226563,6 +226814,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -226691,7 +226943,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -226777,10 +227029,10 @@ webhooks: type: string before: type: string - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -229009,6 +229261,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -229137,7 +229390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -229219,11 +229472,11 @@ webhooks: type: string enum: - unassigned - assignee: *813 - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + assignee: *814 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -231467,6 +231720,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -231595,7 +231849,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -231674,11 +231928,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -233911,6 +234165,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -234039,7 +234294,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -234120,10 +234375,10 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -236347,6 +236602,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -236474,7 +236730,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -236677,7 +236933,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *762 + enterprise: *763 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -236772,8 +237028,8 @@ webhooks: - url - author - committer - installation: *763 - organization: *764 + installation: *764 + organization: *765 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -237372,9 +237628,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -237851,7 +238107,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -237907,7 +238163,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -237985,9 +238241,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -238299,7 +238555,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -238349,7 +238605,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -238426,10 +238682,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - release: &814 + enterprise: *763 + installation: *764 + organization: *765 + release: &815 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -238760,7 +239016,7 @@ webhooks: - updated_at - zipball_url - body - repository: *765 + repository: *766 sender: *4 required: - action @@ -238837,11 +239093,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -238958,11 +239214,11 @@ webhooks: type: boolean required: - to - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -239040,9 +239296,9 @@ webhooks: type: string enum: - prereleased - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -239378,7 +239634,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -239454,10 +239710,10 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - release: &815 + enterprise: *763 + installation: *764 + organization: *765 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -239790,7 +240046,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -239866,11 +240122,11 @@ webhooks: type: string enum: - released - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -239946,11 +240202,11 @@ webhooks: type: string enum: - unpublished - enterprise: *762 - installation: *763 - organization: *764 - release: *815 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *816 + repository: *766 sender: *4 required: - action @@ -240026,11 +240282,11 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -240106,11 +240362,11 @@ webhooks: type: string enum: - reported - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -240186,10 +240442,10 @@ webhooks: type: string enum: - archived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240266,10 +240522,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240347,10 +240603,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240435,10 +240691,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240553,10 +240809,10 @@ webhooks: - 'null' items: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240628,10 +240884,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 status: type: string @@ -240712,10 +240968,10 @@ webhooks: type: string enum: - privatized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240792,10 +241048,10 @@ webhooks: type: string enum: - publicized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240889,10 +241145,10 @@ webhooks: - name required: - repository - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240972,11 +241228,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -241054,11 +241310,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -241136,11 +241392,11 @@ webhooks: type: string enum: - edited - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 changes: type: object properties: @@ -241159,16 +241415,16 @@ webhooks: properties: added: type: array - items: *297 + items: *298 deleted: type: array - items: *297 + items: *298 updated: type: array items: type: object properties: - condition: *297 + condition: *298 changes: type: object properties: @@ -241201,16 +241457,16 @@ webhooks: properties: added: type: array - items: *619 + items: *620 deleted: type: array - items: *619 + items: *620 updated: type: array items: type: object properties: - rule: *619 + rule: *620 changes: type: object properties: @@ -241447,10 +241703,10 @@ webhooks: - from required: - owner - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241528,10 +241784,10 @@ webhooks: type: string enum: - unarchived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241609,7 +241865,7 @@ webhooks: type: string enum: - create - alert: &816 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -241734,10 +241990,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241947,10 +242203,10 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242028,11 +242284,11 @@ webhooks: type: string enum: - reopen - alert: *816 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *817 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242234,10 +242490,10 @@ webhooks: enum: - fixed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242315,17 +242571,17 @@ webhooks: type: string enum: - assigned - alert: &818 + alert: &819 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri @@ -242379,6 +242635,14 @@ webhooks: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` + covers specific provider patterns and custom patterns; `generic` + covers non-specific patterns and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -242454,12 +242718,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *817 + metadata: *818 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242537,11 +242801,11 @@ webhooks: type: string enum: - created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242622,11 +242886,11 @@ webhooks: type: string enum: - created - alert: *818 - installation: *763 - location: *819 - organization: *764 - repository: *765 + alert: *819 + installation: *764 + location: *820 + organization: *765 + repository: *766 sender: *4 required: - location @@ -242864,11 +243128,11 @@ webhooks: type: string enum: - metadata_created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242945,11 +243209,11 @@ webhooks: type: string enum: - metadata_removed - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243026,11 +243290,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243108,11 +243372,11 @@ webhooks: type: string enum: - reopened - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243190,11 +243454,11 @@ webhooks: type: string enum: - resolved - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243272,12 +243536,12 @@ webhooks: type: string enum: - unassigned - alert: *818 + alert: *819 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243355,11 +243619,11 @@ webhooks: type: string enum: - validated - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243489,10 +243753,10 @@ webhooks: - organization - enterprise - - repository: *765 - enterprise: *762 - installation: *763 - organization: *764 + repository: *766 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -243570,11 +243834,11 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: &820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object @@ -243591,7 +243855,7 @@ webhooks: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -243760,11 +244024,11 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: *820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: *821 sender: *4 required: - action @@ -243837,10 +244101,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -243858,7 +244122,7 @@ webhooks: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -244026,11 +244290,11 @@ webhooks: from: type: object properties: - security_and_analysis: *296 - enterprise: *762 - installation: *763 - organization: *764 - repository: *342 + security_and_analysis: *297 + enterprise: *763 + installation: *764 + organization: *765 + repository: *343 sender: *4 required: - changes @@ -244108,12 +244372,12 @@ webhooks: type: string enum: - cancelled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: &821 + sponsorship: &822 type: object properties: created_at: @@ -244418,12 +244682,12 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -244511,12 +244775,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -244593,17 +244857,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &822 + effective_date: &823 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: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -244677,7 +244941,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &823 + changes: &824 type: object properties: tier: @@ -244721,13 +244985,13 @@ webhooks: - from required: - tier - effective_date: *822 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + effective_date: *823 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -244804,13 +245068,13 @@ webhooks: type: string enum: - tier_changed - changes: *823 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + changes: *824 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -244884,10 +245148,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -244971,10 +245235,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -245408,15 +245672,15 @@ webhooks: type: - string - 'null' - enterprise: *762 + enterprise: *763 id: description: The unique identifier of the status. type: integer - installation: *763 + installation: *764 name: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 sha: description: The Commit SHA. @@ -245526,15 +245790,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -245617,15 +245881,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -245708,15 +245972,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -245799,15 +246063,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -245883,12 +246147,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - team: &824 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -246118,9 +246382,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -246590,7 +246854,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -246666,9 +246930,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -247138,7 +247402,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -247215,9 +247479,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -247687,7 +247951,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -247831,9 +248095,9 @@ webhooks: - from required: - permissions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -248303,7 +248567,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - changes @@ -248381,9 +248645,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -248853,7 +249117,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -248929,10 +249193,10 @@ webhooks: type: string enum: - started - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -249005,17 +249269,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *762 + enterprise: *763 inputs: type: - object - 'null' additionalProperties: true - installation: *763 - organization: *764 + installation: *764 + organization: *765 ref: type: string - repository: *765 + repository: *766 sender: *4 workflow: type: string @@ -249097,10 +249361,10 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -249356,7 +249620,7 @@ webhooks: type: string required: - conclusion - deployment: *499 + deployment: *500 required: - action - repository @@ -249435,10 +249699,10 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -249720,7 +249984,7 @@ webhooks: required: - status - steps - deployment: *499 + deployment: *500 required: - action - repository @@ -249799,10 +250063,10 @@ webhooks: type: string enum: - queued - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -249948,7 +250212,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -250027,10 +250291,10 @@ webhooks: type: string enum: - waiting - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -250177,7 +250441,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -250257,12 +250521,12 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -251281,12 +251545,12 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -252290,12 +252554,12 @@ webhooks: type: string enum: - requested - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 6bda44efa8..0419c894b6 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -18301,6 +18301,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -18763,6 +18789,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -18929,6 +18981,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19034,6 +19112,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19217,6 +19321,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19508,6 +19638,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -27608,17 +27764,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { "get": { - "summary": "Get Copilot enterprise user-teams report for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", + "operationId": "copilot/copilot-enterprise-repos-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" }, "parameters": [ { @@ -27687,6 +27843,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -27774,17 +27933,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { - "summary": "Get Copilot users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise user-teams report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-one-day-usage-metrics", + "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" }, "parameters": [ { @@ -27940,17 +28099,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { "get": { - "summary": "Get Copilot users usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-usage-metrics", + "operationId": "copilot/copilot-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -27961,6 +28120,19 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } } ], "responses": { @@ -27970,8 +28142,8 @@ "application/json": { "schema": { "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", "properties": { "download_links": { "type": "array", @@ -27979,23 +28151,17 @@ "type": "string", "format": "uri" }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." }, - "report_end_day": { + "report_day": { "type": "string", "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." + "description": "The day of the report in `YYYY-MM-DD` format." } }, "required": [ "download_links", - "report_start_day", - "report_end_day" + "report_day" ] }, "examples": { @@ -28005,8 +28171,7 @@ "https://example.com/copilot-usage-report-1.ndjson", "https://example.com/copilot-usage-report-2.ndjson" ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" + "report_day": "2025-07-01" } } } @@ -28100,17 +28265,17 @@ } } }, - "/enterprises/{enterprise}/copilot/policies/coding_agent": { - "put": { - "summary": "Set the coding agent policy for an enterprise", - "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/set-enterprise-coding-agent-policy", + "operationId": "copilot/copilot-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" }, "parameters": [ { @@ -28123,46 +28288,206 @@ } } ], - "requestBody": { - "description": "The coding agent policy configuration", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policy_state": { - "type": "string", - "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", - "enum": [ - "enabled_for_all_orgs", - "disabled_for_all_orgs", - "enabled_for_selected_orgs", - "configured_by_org_admins" - ] - } + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] }, - "required": [ - "policy_state" - ] - }, - "examples": { - "default": { - "summary": "Enable coding agent for all organizations", - "value": { - "policy_state": "enabled_for_all_orgs" + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } } } } } - } - }, - "responses": { - "204": { - "description": "A header with no content is returned." }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -111962,6 +112287,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -112104,6 +112434,199 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -141106,6 +141629,175 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "204": { + "description": "A header with no content is returned." + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -209338,6 +210030,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -220577,6 +221315,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -380912,6 +381696,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -605178,6 +606008,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -609737,6 +610613,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -617747,6 +618669,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -622560,6 +623528,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -635750,6 +636764,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -640421,6 +641481,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -791149,6 +792255,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -860616,6 +861768,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1002967,6 +1004165,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1377647,6 +1378891,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1382715,6 +1384005,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1387786,6 +1389122,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1393737,6 +1395119,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1399877,6 +1401305,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1405427,6 +1406901,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1410494,6 +1412014,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1416521,6 +1418087,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1421781,6 +1423393,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1426902,6 +1428560,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1431978,6 +1433682,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1437336,6 +1439086,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1443283,6 +1445079,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1449423,6 +1451265,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1455563,6 +1457451,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1461053,6 +1462987,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1466331,6 +1468311,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1471631,6 +1473657,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1476549,6 +1478621,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1486878,6 +1488996,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1491965,6 +1494129,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1497186,6 +1499396,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1502260,6 +1504516,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1507324,6 +1509626,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1512388,6 +1514736,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1517620,6 +1520014,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1520060,6 +1522500,52 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1523089,6 +1525575,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1528166,6 +1530698,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1533349,6 +1535927,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1538468,6 +1541092,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1543526,6 +1546196,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1621407,6 +1624123,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1624627,6 +1627351,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1627679,6 +1630411,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1631237,6 +1633977,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1634288,6 +1637036,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1637339,6 +1640095,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1640391,6 +1643155,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1643443,6 +1646215,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1646495,6 +1649275,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1649715,6 +1652503,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 918f1cbb3c..f461340099 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -437,7 +437,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &45 + - &46 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 results before this cursor. For @@ -446,7 +446,7 @@ paths: required: false schema: type: string - - &46 + - &47 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 results after this cursor. For @@ -455,7 +455,7 @@ paths: required: false schema: type: string - - &60 + - &61 name: direction description: The direction to sort the results by. in: query @@ -673,7 +673,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &62 + cvss_severities: &63 type: - object - 'null' @@ -720,7 +720,7 @@ paths: required: - vector_string - score - epss: &63 + epss: &64 type: - object - 'null' @@ -883,7 +883,7 @@ paths: - subscriptions_url - type - url - type: &331 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1015,7 +1015,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &126 title: Validation Error Simple description: Validation Error Simple type: object @@ -1048,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &685 + - &686 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4161,7 +4161,7 @@ paths: schema: type: integer default: 30 - - &219 + - &220 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 @@ -4170,7 +4170,7 @@ paths: required: false schema: type: string - - &220 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4190,7 +4190,7 @@ paths: application/json: schema: type: array - items: &221 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4286,7 +4286,7 @@ paths: - installation_id - repository_id examples: - default: &222 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4349,7 +4349,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &125 title: Validation Error description: Validation Error type: object @@ -4421,7 +4421,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4556,7 +4556,7 @@ paths: - request - response examples: - default: &224 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4616,7 +4616,7 @@ paths: parameters: - *16 responses: - '202': &37 + '202': &38 description: Accepted content: application/json: @@ -4732,7 +4732,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &35 + '304': &36 description: Not modified '401': &23 description: Requires authentication @@ -4760,7 +4760,7 @@ paths: parameters: - *17 - *19 - - &87 + - &88 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) @@ -5365,7 +5365,7 @@ paths: suspended_at: suspended_by: headers: - Link: &66 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -5558,7 +5558,7 @@ paths: - selected repositories: type: array - items: &78 + items: &79 title: Repository description: A repository on GitHub. type: object @@ -5585,7 +5585,7 @@ paths: license: anyOf: - type: 'null' - - &84 + - &85 title: License Simple description: License Simple type: object @@ -7065,7 +7065,7 @@ paths: - node_id - private - default_branch - classroom: &32 + classroom: &33 title: Classroom description: A GitHub Classroom classroom type: object @@ -7188,6 +7188,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &31 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7282,7 +7287,7 @@ paths: - avatar_url - html_url repository: *30 - assignment: &34 + assignment: &35 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7391,7 +7396,7 @@ paths: format: date-time examples: - '2011-01-26T19:06:43Z' - classroom: &31 + classroom: &32 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7490,6 +7495,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7597,6 +7603,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7629,7 +7636,7 @@ paths: application/json: schema: type: array - items: *31 + items: *32 examples: default: value: @@ -7637,6 +7644,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7660,7 +7668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &33 + - &34 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7672,7 +7680,7 @@ paths: description: Response content: application/json: - schema: *32 + schema: *33 examples: default: value: @@ -7688,6 +7696,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7711,7 +7720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *33 + - *34 - *19 - *17 responses: @@ -7721,7 +7730,7 @@ paths: application/json: schema: type: array - items: *34 + items: *35 examples: default: value: @@ -7747,6 +7756,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7772,7 +7782,7 @@ paths: application/json: schema: type: array - items: &36 + items: &37 title: Code Of Conduct description: Code Of Conduct type: object @@ -7860,7 +7870,7 @@ paths: name: Contributor Covenant url: https://api.github.com/codes_of_conduct/contributor_covenant html_url: https://www.contributor-covenant.org/version/2/0/code_of_conduct/ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -7887,7 +7897,7 @@ paths: description: Response content: application/json: - schema: *36 + schema: *37 examples: default: value: @@ -7942,7 +7952,7 @@ paths: This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/). html_url: http://contributor-covenant.org/version/1/4/ '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8002,9 +8012,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *37 + '202': *38 '422': *7 - '500': &53 + '500': &54 description: Internal Error content: application/json: @@ -9913,7 +9923,7 @@ paths: zombie_woman: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8 zzz: https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8 description: Response - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -9934,7 +9944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &38 + - &39 name: enterprise description: The slug version of the enterprise name. in: path @@ -9946,7 +9956,7 @@ paths: description: Response content: application/json: - schema: &39 + schema: &40 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -9959,7 +9969,7 @@ paths: examples: - 14 examples: - default: &40 + default: &41 value: max_cache_retention_days: 80 '403': *27 @@ -9983,14 +9993,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *39 + schema: *40 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -10017,13 +10027,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -10036,7 +10046,7 @@ paths: examples: - 10 examples: - default: &42 + default: &43 value: max_cache_size_gb: 150 '403': *27 @@ -10060,14 +10070,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -10093,7 +10103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -10101,7 +10111,7 @@ paths: application/json: schema: type: array - items: &43 + items: &44 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -10149,12 +10159,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: &137 + schema: &138 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -10166,7 +10176,7 @@ paths: required: - custom_property_name examples: - default: &44 + default: &45 value: custom_property_name: environment responses: @@ -10174,9 +10184,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -10201,7 +10211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 - name: custom_property_name in: path required: true @@ -10237,7 +10247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -10246,8 +10256,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -10255,7 +10265,7 @@ paths: application/json: schema: type: array - items: &47 + items: &48 type: object description: A code security configuration properties: @@ -10584,7 +10594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -10662,7 +10672,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &51 + code_scanning_options: &52 type: - object - 'null' @@ -10681,7 +10691,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &50 + code_scanning_default_setup_options: &51 type: - object - 'null' @@ -10807,9 +10817,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: &48 + default: &49 value: id: 1325 target_type: enterprise @@ -10861,13 +10871,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &191 + schema: &192 type: array description: A list of default code security configurations items: @@ -10881,9 +10891,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *47 + configuration: *48 examples: - default: &192 + default: &193 value: - default_for_new_repos: public configuration: @@ -10966,8 +10976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *38 - - &49 + - *39 + - &50 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -10979,10 +10989,10 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 x-github: @@ -11005,8 +11015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11085,8 +11095,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11182,13 +11192,13 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 - '409': &52 + '409': &53 description: Conflict content: application/json: @@ -11215,15 +11225,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 responses: - '204': &59 + '204': &58 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11247,8 +11257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11272,10 +11282,10 @@ paths: value: scope: all responses: - '202': *37 + '202': *38 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11299,8 +11309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11340,12 +11350,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: &190 + configuration: &191 value: id: 1325 target_type: organization @@ -11406,8 +11416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *38 - - *49 + - *39 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -11416,8 +11426,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11435,7 +11445,7 @@ paths: application/json: schema: type: array - items: &193 + items: &194 type: object description: Repositories associated with a code security configuration and attachment status @@ -11453,7 +11463,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &65 + repository: &66 title: Simple Repository description: A GitHub repository. type: object @@ -11780,7 +11790,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &194 + repository: &195 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11873,8 +11883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - - *38 - - &54 + - *39 + - &55 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -11889,7 +11899,7 @@ paths: description: Response content: application/json: - schema: &55 + schema: &56 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -11910,13 +11920,13 @@ paths: - download_links - report_day examples: - default: &56 + default: &57 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_day: '2025-07-01' - '500': *53 + '500': *54 '403': *27 '404': *6 x-github: @@ -11942,13 +11952,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &57 + schema: &59 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -11976,14 +11986,51 @@ paths: - report_start_day - report_end_day examples: - default: &58 + default: &60 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_start_day: '2025-07-01' report_end_day: '2025-07-28' - '500': *53 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - *39 + - *55 + responses: + '200': + description: Response + content: + application/json: + schema: *56 + examples: + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -12009,17 +12056,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12045,17 +12092,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12081,16 +12128,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -12118,7 +12165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise parameters: - - *38 + - *39 requestBody: description: The coding agent policy configuration required: true @@ -12145,7 +12192,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12172,7 +12219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -12221,7 +12268,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12247,7 +12294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -12297,7 +12344,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12321,8 +12368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *38 - - &202 + - *39 + - &203 name: classification in: query description: |- @@ -12331,7 +12378,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &203 + - &204 name: state in: query description: |- @@ -12340,7 +12387,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &204 + - &205 name: severity in: query description: |- @@ -12349,7 +12396,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &205 + - &206 name: ecosystem in: query description: |- @@ -12358,14 +12405,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &206 + - &207 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 - - &207 + - &208 name: epss_percentage in: query description: |- @@ -12377,7 +12424,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 - - &488 + - &489 name: has in: query description: |- @@ -12391,7 +12438,7 @@ paths: type: string enum: - patch - - &208 + - &209 name: assignee in: query description: |- @@ -12400,7 +12447,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &209 + - &210 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12410,7 +12457,7 @@ paths: enum: - development - runtime - - &210 + - &211 name: sort in: query description: |- @@ -12425,9 +12472,9 @@ paths: - updated - epss_percentage default: created - - *60 - - *45 + - *61 - *46 + - *47 - *17 responses: '200': @@ -12436,11 +12483,11 @@ paths: application/json: schema: type: array - items: &211 + items: &212 type: object description: A Dependabot alert. properties: - number: &180 + number: &181 type: integer description: The security alert number. readOnly: true @@ -12458,7 +12505,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &61 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -12507,7 +12554,7 @@ paths: - transitive - inconclusive - - security_advisory: &489 + security_advisory: &490 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12538,13 +12585,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &64 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *61 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -12597,8 +12644,8 @@ paths: enum: - general - malware - cvss_severities: *62 - epss: *63 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -12697,30 +12744,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *64 - url: &183 + security_vulnerability: *65 + url: &184 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &184 + html_url: &185 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &181 + created_at: &182 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: &182 + updated_at: &183 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: &186 + dismissed_at: &187 type: - string - 'null' @@ -12751,7 +12798,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &185 + fixed_at: &186 type: - string - 'null' @@ -12759,7 +12806,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &490 + auto_dismissed_at: &491 type: - string - 'null' @@ -12767,7 +12814,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &491 + dismissal_request: &492 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12811,7 +12858,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *65 + repository: *66 required: - number - state @@ -12830,7 +12877,7 @@ paths: - repository additionalProperties: false examples: - default: &212 + default: &213 value: - number: 2 state: dismissed @@ -13168,7 +13215,7 @@ paths: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - '304': *35 + '304': *36 '403': *27 '404': *6 '422': *7 @@ -13192,7 +13239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise parameters: - - *38 + - *39 - name: page in: query description: The page number of results to fetch. @@ -13215,7 +13262,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13238,10 +13285,10 @@ paths: items: anyOf: - type: 'null' - - *65 + - *66 additionalProperties: false examples: - default: &214 + default: &215 value: default_level: public accessible_repositories: @@ -13341,7 +13388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13405,7 +13452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13450,7 +13497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *38 + - *39 - *17 - *19 responses: @@ -13460,7 +13507,7 @@ paths: application/json: schema: type: array - items: &67 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13547,7 +13594,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -13565,7 +13612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *38 + - *39 requestBody: required: true content: @@ -13634,9 +13681,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: &75 + default: &76 value: id: 1 name: Justice League @@ -13664,8 +13711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *38 - - &68 + - *39 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13684,7 +13731,7 @@ paths: type: array items: *4 examples: - default: &69 + default: &70 value: - login: octocat id: 1 @@ -13705,7 +13752,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13722,8 +13769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -13754,7 +13801,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13771,8 +13818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -13803,7 +13850,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13820,9 +13867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *38 - - *68 - - &70 + - *39 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -13836,7 +13883,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &71 + exampleKey1: &72 value: login: octocat id: 1 @@ -13871,9 +13918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -13881,7 +13928,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *71 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13898,9 +13945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '204': description: Response @@ -13921,8 +13968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 - *17 - *19 responses: @@ -13932,7 +13979,7 @@ paths: application/json: schema: type: array - items: &72 + items: &73 title: Organization Simple description: A GitHub organization. type: object @@ -14004,7 +14051,7 @@ paths: - avatar_url - description examples: - default: &73 + default: &74 value: login: github id: 1 @@ -14034,8 +14081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14063,9 +14110,9 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: &111 + default: &112 value: - login: github id: 1 @@ -14095,8 +14142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14136,9 +14183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *38 - - *68 - - &74 + - *39 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -14150,9 +14197,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -14170,17 +14217,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14196,9 +14243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -14221,8 +14268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *38 - - &76 + - *39 + - &77 name: team_slug description: The slug of the team name. in: path @@ -14234,11 +14281,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14255,8 +14302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 requestBody: required: true content: @@ -14324,11 +14371,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14348,8 +14395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 responses: '204': description: Response @@ -14387,7 +14434,7 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Event description: Event type: object @@ -14398,7 +14445,7 @@ paths: type: - string - 'null' - actor: &77 + actor: &78 title: Actor description: Actor type: object @@ -14439,7 +14486,7 @@ paths: - id - name - url - org: *77 + org: *78 payload: oneOf: - title: CreateEvent @@ -14486,7 +14533,7 @@ paths: properties: action: type: string - discussion: &778 + discussion: &779 title: Discussion description: A Discussion in a repository. type: object @@ -14783,7 +14830,7 @@ paths: - id labels: type: array - items: &81 + items: &82 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -14866,7 +14913,7 @@ paths: properties: action: type: string - issue: &82 + issue: &83 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -14983,7 +15030,7 @@ paths: milestone: anyOf: - type: 'null' - - &281 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -15160,7 +15207,7 @@ paths: timeline_url: type: string format: uri - type: &245 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -15216,12 +15263,12 @@ paths: - node_id - name - description - repository: *78 + repository: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &79 + author_association: &80 title: author_association type: string description: How the author is associated with the @@ -15237,7 +15284,7 @@ paths: - OWNER examples: - OWNER - reactions: &80 + reactions: &81 title: Reaction Rollup type: object properties: @@ -15273,7 +15320,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &696 + sub_issues_summary: &697 title: Sub-issues Summary type: object properties: @@ -15297,7 +15344,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &83 + - &84 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15348,12 +15395,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -15403,7 +15450,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &697 + issue_dependencies_summary: &698 title: Issue Dependencies Summary type: object properties: @@ -15557,10 +15604,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - issue @@ -15569,8 +15616,8 @@ paths: properties: action: type: string - issue: *82 - comment: *83 + issue: *83 + comment: *84 required: - action - issue @@ -15749,7 +15796,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 allow_forking: type: boolean is_template: @@ -15840,7 +15887,7 @@ paths: type: string number: type: integer - pull_request: &85 + pull_request: &86 title: Pull Request Minimal type: object properties: @@ -15911,10 +15958,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - number @@ -15924,7 +15971,7 @@ paths: properties: action: type: string - pull_request: *85 + pull_request: *86 comment: type: object properties: @@ -16178,7 +16225,7 @@ paths: - pull_request updated_at: type: string - pull_request: *85 + pull_request: *86 required: - action - review @@ -16227,7 +16274,7 @@ paths: updated_at: type: string format: date-time - reactions: *80 + reactions: *81 required: - action - comment @@ -16238,7 +16285,7 @@ paths: type: string release: allOf: - - &609 + - &610 title: Release description: A release. type: object @@ -16320,7 +16367,7 @@ paths: author: *4 assets: type: array - items: &610 + items: &611 title: Release Asset description: Data related to a release. type: object @@ -16395,7 +16442,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *80 + reactions: *81 required: - assets_url - upload_url @@ -16486,9 +16533,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *35 + '304': *36 '403': *27 - '503': &114 + '503': &115 description: Service unavailable content: application/json: @@ -16590,7 +16637,7 @@ paths: _links: type: object properties: - timeline: &86 + timeline: &87 title: Link With Type description: Hypermedia Link with Type type: object @@ -16602,17 +16649,17 @@ paths: required: - href - type - user: *86 - security_advisories: *86 - current_user: *86 - current_user_public: *86 - current_user_actor: *86 - current_user_organization: *86 + user: *87 + security_advisories: *87 + current_user: *87 + current_user_public: *87 + current_user_actor: *87 + current_user_organization: *87 current_user_organizations: type: array - items: *86 - repository_discussions: *86 - repository_discussions_category: *86 + items: *87 + repository_discussions: *87 + repository_discussions_category: *87 required: - timeline - user @@ -16674,7 +16721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *87 + - *88 - *17 - *19 responses: @@ -16684,7 +16731,7 @@ paths: application/json: schema: type: array - items: &88 + items: &89 title: Base Gist description: Base Gist type: object @@ -16770,7 +16817,7 @@ paths: - created_at - updated_at examples: - default: &89 + default: &90 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -16815,8 +16862,8 @@ paths: site_admin: false truncated: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -16894,7 +16941,7 @@ paths: description: Response content: application/json: - schema: &90 + schema: &91 title: Gist Simple description: Gist Simple type: object @@ -17061,7 +17108,7 @@ paths: truncated: type: boolean examples: - default: &91 + default: &92 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -17143,7 +17190,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -17165,7 +17212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17175,13 +17222,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17199,7 +17246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17209,13 +17256,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17238,7 +17285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &92 + - &93 name: gist_id description: The unique identifier of the gist. in: path @@ -17250,10 +17297,10 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 - '403': &95 + default: *92 + '403': &96 description: Forbidden Gist content: application/json: @@ -17276,7 +17323,7 @@ paths: documentation_url: type: string '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17301,7 +17348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *92 + - *93 requestBody: required: true content: @@ -17365,9 +17412,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - updateGist: *91 + updateGist: *92 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -17525,12 +17572,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17553,7 +17600,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *92 + - *93 - *17 - *19 responses: @@ -17563,7 +17610,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Gist Comment description: A comment made to a gist. type: object @@ -17601,7 +17648,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *79 + author_association: *80 required: - url - id @@ -17641,8 +17688,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -17665,7 +17712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *92 + - *93 requestBody: required: true content: @@ -17691,9 +17738,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: &94 + default: &95 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17726,7 +17773,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -17750,8 +17797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *92 - - &96 + - *93 + - &97 name: comment_id description: The unique identifier of the comment. in: path @@ -17764,12 +17811,12 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 - '304': *35 + default: *95 + '304': *36 '404': *6 - '403': *95 + '403': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17790,8 +17837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 requestBody: required: true content: @@ -17817,9 +17864,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 + default: *95 '404': *6 x-github: githubCloudOnly: false @@ -17836,12 +17883,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -17860,7 +17907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *92 + - *93 - *17 - *19 responses: @@ -17943,7 +17990,7 @@ paths: schema: type: string '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17961,7 +18008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *92 + - *93 - *17 - *19 responses: @@ -17971,7 +18018,7 @@ paths: application/json: schema: type: array - items: *90 + items: *91 examples: default: value: @@ -18017,9 +18064,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18036,13 +18083,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *92 + - *93 responses: '201': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: value: @@ -18094,7 +18141,7 @@ paths: type: string '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18112,7 +18159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *92 + - *93 responses: '204': description: Response if gist is starred @@ -18124,7 +18171,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18142,12 +18189,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18164,11 +18211,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *92 + - *93 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18192,7 +18239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *92 + - *93 - name: sha in: path required: true @@ -18203,9 +18250,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 + default: *92 '422': *15 '404': *6 '403': *27 @@ -18245,7 +18292,7 @@ paths: - Bancha - C - C++ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18332,7 +18379,7 @@ paths: *.exe *.out *.app - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18368,7 +18415,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -18504,9 +18551,9 @@ paths: environment: production service: web headers: - Link: *66 + Link: *67 '403': *27 - '304': *35 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -18588,7 +18635,7 @@ paths: - closed - all default: open - - &248 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18606,8 +18653,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - name: collab in: query required: false @@ -18637,9 +18684,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &249 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18884,9 +18931,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -18919,7 +18966,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -18958,7 +19005,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19155,7 +19202,7 @@ paths: featured: true '403': *27 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19217,7 +19264,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &97 + X-CommonMarker-Version: &98 example: 0.17.4 schema: type: string @@ -19229,7 +19276,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19272,7 +19319,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *97 + X-CommonMarker-Version: *98 content: text/html: schema: @@ -19281,7 +19328,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19301,7 +19348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &100 + - &101 name: account_id description: account_id parameter in: path @@ -19313,7 +19360,7 @@ paths: description: Response content: application/json: - schema: &99 + schema: &100 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -19347,7 +19394,7 @@ paths: - 'null' id: type: integer - plan: &98 + plan: &99 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -19450,7 +19497,7 @@ paths: - 'null' updated_at: type: string - plan: *98 + plan: *99 required: - url - id @@ -19458,7 +19505,7 @@ paths: - login - marketplace_purchase examples: - default: &101 + default: &102 value: url: https://api.github.com/orgs/github type: Organization @@ -19543,9 +19590,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &102 + default: &103 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -19563,7 +19610,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '401': *23 x-github: @@ -19585,14 +19632,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &103 + - &104 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &104 + - &105 name: sort description: The property to sort the results by. in: query @@ -19622,9 +19669,9 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: &105 + default: &106 value: - url: https://api.github.com/orgs/github type: Organization @@ -19675,7 +19722,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '422': *15 '401': *23 @@ -19698,15 +19745,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *100 + - *101 responses: '200': description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *101 + default: *102 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -19738,11 +19785,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *102 + default: *103 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -19763,8 +19810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *103 - *104 + - *105 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19784,11 +19831,11 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: *105 + default: *106 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -20032,7 +20079,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20051,14 +20098,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &339 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &340 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20075,7 +20122,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -20119,8 +20166,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *27 - '304': *35 - '301': &343 + '304': *36 + '301': &344 description: Moved permanently content: application/json: @@ -20159,7 +20206,7 @@ paths: schema: type: boolean default: false - - *87 + - *88 - &587 name: before description: 'Only show notifications updated before the given time. This @@ -20185,14 +20232,14 @@ paths: application/json: schema: type: array - items: &107 + items: &108 title: Thread description: Thread type: object properties: id: type: string - repository: &155 + repository: &156 title: Minimal Repository description: Minimal Repository type: object @@ -20504,7 +20551,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *36 + code_of_conduct: *37 license: type: - object @@ -20540,7 +20587,7 @@ paths: type: boolean examples: - false - security_and_analysis: &296 + security_and_analysis: &297 type: - object - 'null' @@ -20833,8 +20880,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -20898,7 +20945,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -20917,7 +20964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &108 + - &109 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 @@ -20931,7 +20978,7 @@ paths: description: Response content: application/json: - schema: *107 + schema: *108 examples: default: value: @@ -21014,7 +21061,7 @@ paths: last_read_at: '2014-11-07T22:01:45Z' url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21033,11 +21080,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *108 + - *109 responses: '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -21055,7 +21102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *108 + - *109 responses: '204': description: No content @@ -21078,13 +21125,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: &109 + schema: &110 title: Thread Subscription description: Thread Subscription type: object @@ -21128,7 +21175,7 @@ paths: - url - subscribed examples: - default: &110 + default: &111 value: subscribed: true ignored: false @@ -21136,7 +21183,7 @@ paths: created_at: '2012-10-06T21:34:12Z' url: https://api.github.com/notifications/threads/1/subscription thread_url: https://api.github.com/notifications/threads/1 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21159,7 +21206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *108 + - *109 requestBody: required: false content: @@ -21180,10 +21227,10 @@ paths: description: Response content: application/json: - schema: *109 + schema: *110 examples: - default: *110 - '304': *35 + default: *111 + '304': *36 '403': *27 '401': *23 x-github: @@ -21205,11 +21252,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *108 + - *109 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21300,15 +21347,15 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21329,13 +21376,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -21347,7 +21394,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -21369,14 +21416,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -21403,13 +21450,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &113 + schema: &114 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -21421,7 +21468,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -21443,14 +21490,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *113 + schema: *114 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -21476,8 +21523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *74 - - &116 + - *75 + - &117 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, @@ -21486,7 +21533,7 @@ paths: required: false schema: type: integer - - &117 + - &118 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 @@ -21495,7 +21542,7 @@ paths: required: false schema: type: integer - - &118 + - &119 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 @@ -21504,21 +21551,21 @@ paths: required: false schema: type: integer - - &119 + - &120 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &120 + - &121 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &122 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21634,8 +21681,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21654,7 +21701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *74 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -21894,7 +21941,7 @@ paths: total_count: 2 '404': *6 '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21912,7 +21959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -22148,8 +22195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *74 - - &115 + - *75 + - &116 name: budget_id description: The ID corresponding to the budget. in: path @@ -22260,8 +22307,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22278,8 +22325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 requestBody: required: true content: @@ -22517,8 +22564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 responses: '200': description: Response when deleting a budget @@ -22544,8 +22591,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22565,13 +22612,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - *119 - *120 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -22681,8 +22728,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22702,9 +22749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *74 - - *116 - - &756 + - *75 + - *117 + - &757 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 @@ -22713,7 +22760,7 @@ paths: required: false schema: type: integer - - *118 + - *119 responses: '200': description: Billing usage report response for an organization @@ -22788,8 +22835,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22812,19 +22859,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - - &757 + - *119 + - &758 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &758 + - *122 + - &759 name: sku description: The SKU to query for usage. in: query @@ -22934,8 +22981,8 @@ paths: netAmount: 8.0 '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22961,13 +23008,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &123 title: Organization Full description: Organization Full type: object @@ -23356,7 +23403,7 @@ paths: - updated_at - archived_at examples: - default-response: &123 + default-response: &124 value: login: github id: 1 @@ -23455,7 +23502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -23668,18 +23715,18 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *123 + default: *124 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - *125 - '409': *52 + - *126 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23702,9 +23749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *74 + - *75 responses: - '202': *37 + '202': *38 '404': *6 '403': *27 '451': *15 @@ -23728,7 +23775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -23754,7 +23801,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23775,7 +23822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -23793,7 +23840,7 @@ paths: type: integer repository_cache_usages: type: array - items: &350 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -23831,7 +23878,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23851,7 +23898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -23869,7 +23916,7 @@ paths: type: integer runners: type: array - items: &126 + items: &127 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -23932,7 +23979,7 @@ paths: - size_gb - display_name - source - machine_size_details: &134 + machine_size_details: &135 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -24041,7 +24088,7 @@ paths: - public_ip_enabled - platform examples: - default: &154 + default: &155 value: total_count: 2 runners: @@ -24083,7 +24130,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24101,7 +24148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -24179,9 +24226,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: &135 + default: &136 value: id: 5 name: My hosted ubuntu runner @@ -24222,7 +24269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24238,7 +24285,7 @@ paths: type: integer images: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -24297,7 +24344,7 @@ paths: - latest_version - state examples: - default: &129 + default: &130 value: total_count: 2 image_versions: @@ -24328,8 +24375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *74 - - &128 + - *75 + - &129 name: image_definition_id description: Image definition ID of custom image in: path @@ -24341,7 +24388,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -24371,8 +24418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *74 - - *128 + - *75 + - *129 responses: '204': description: Response @@ -24395,8 +24442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *74 + - *129 + - *75 responses: '200': description: Response @@ -24412,7 +24459,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &131 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -24450,7 +24497,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24470,9 +24517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *74 - - *128 - - &131 + - *75 + - *129 + - &132 name: version description: Version of a custom image in: path @@ -24485,7 +24532,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: default: value: @@ -24511,9 +24558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *74 - - *128 - - *131 + - *75 + - *129 + - *132 responses: '204': description: Response @@ -24534,7 +24581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24550,7 +24597,7 @@ paths: type: integer images: type: array - items: &132 + items: &133 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -24590,7 +24637,7 @@ paths: - display_name - source examples: - default: &133 + default: &134 value: id: ubuntu-20.04 platform: linux-x64 @@ -24614,7 +24661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24630,9 +24677,9 @@ paths: type: integer images: type: array - items: *132 + items: *133 examples: - default: *133 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24649,7 +24696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24704,7 +24751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24720,7 +24767,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *135 examples: default: value: @@ -24745,7 +24792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24789,8 +24836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *74 - - &136 + - *75 + - &137 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -24802,11 +24849,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24824,8 +24871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 requestBody: required: true content: @@ -24892,9 +24939,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24910,16 +24957,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 responses: '202': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24939,7 +24986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -24947,7 +24994,7 @@ paths: application/json: schema: type: array - items: *43 + items: *44 examples: default: value: @@ -24972,22 +25019,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *138 examples: - default: *44 + default: *45 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -25011,7 +25058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 - name: custom_property_name in: path required: true @@ -25044,7 +25091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -25070,7 +25117,7 @@ paths: required: - include_claim_keys examples: - default: &138 + default: &139 value: include_claim_keys: - repo @@ -25092,7 +25139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -25115,13 +25162,13 @@ paths: format. type: boolean examples: - default: *138 + default: *139 responses: '201': description: Empty response content: application/json: - schema: &164 + schema: &165 title: Empty Object description: An object without any properties. type: object @@ -25151,7 +25198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25160,7 +25207,7 @@ paths: schema: type: object properties: - enabled_repositories: &139 + enabled_repositories: &140 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25173,7 +25220,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: &140 + allowed_actions: &141 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -25181,12 +25228,12 @@ paths: - all - local_only - selected - selected_actions_url: &355 + selected_actions_url: &356 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: &141 + sha_pinning_required: &142 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -25217,7 +25264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25228,9 +25275,9 @@ paths: schema: type: object properties: - enabled_repositories: *139 - allowed_actions: *140 - sha_pinning_required: *141 + enabled_repositories: *140 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled_repositories examples: @@ -25258,13 +25305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &359 + schema: &360 type: object properties: days: @@ -25301,12 +25348,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &360 + schema: &361 type: object properties: days: @@ -25323,7 +25370,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -25343,13 +25390,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: approval_policy: @@ -25363,7 +25410,7 @@ paths: required: - approval_policy examples: - default: &361 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -25384,7 +25431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25394,7 +25441,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -25416,13 +25463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -25448,7 +25495,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &143 + default: &144 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -25471,12 +25518,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &363 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -25499,7 +25546,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -25529,7 +25576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -25547,9 +25594,9 @@ paths: type: number repositories: type: array - items: *78 + items: *79 examples: - default: &147 + default: &148 value: total_count: 1 repositories: @@ -25689,7 +25736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25733,8 +25780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - &144 + - *75 + - &145 name: repository_id description: The unique identifier of the repository. in: path @@ -25762,8 +25809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -25786,13 +25833,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &145 + schema: &146 type: object properties: github_owned_allowed: @@ -25814,7 +25861,7 @@ paths: items: type: string examples: - default: &146 + default: &147 value: github_owned_allowed: true verified_allowed: false @@ -25839,7 +25886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25847,9 +25894,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25869,7 +25916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25917,7 +25964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -25944,7 +25991,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -25964,7 +26011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -25979,9 +26026,9 @@ paths: type: integer repositories: type: array - items: *78 + items: *79 examples: - default: *147 + default: *148 '403': *27 '404': *6 x-github: @@ -26001,7 +26048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26049,14 +26096,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26076,14 +26123,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26105,23 +26152,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &364 + schema: &365 type: object properties: - default_workflow_permissions: &148 + default_workflow_permissions: &149 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &149 + can_approve_pull_request_reviews: &150 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -26129,7 +26176,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &150 + default: &151 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -26154,7 +26201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Success response @@ -26162,13 +26209,13 @@ paths: required: false content: application/json: - schema: &365 + schema: &366 type: object properties: - default_workflow_permissions: *148 - can_approve_pull_request_reviews: *149 + default_workflow_permissions: *149 + can_approve_pull_request_reviews: *150 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26188,7 +26235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *74 + - *75 - *17 - *19 - name: visible_to_repository @@ -26213,7 +26260,7 @@ paths: type: number runner_groups: type: array - items: &151 + items: &152 type: object properties: id: @@ -26330,7 +26377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26403,9 +26450,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: &153 + default: &154 value: id: 2 name: octo-runner-group @@ -26440,8 +26487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - &152 + - *75 + - &153 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -26453,7 +26500,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -26489,8 +26536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -26546,9 +26593,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: *153 + default: *154 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26567,8 +26614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *74 - - *152 + - *75 + - *153 responses: '204': description: Response @@ -26591,8 +26638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -26610,11 +26657,11 @@ paths: type: number runners: type: array - items: *126 + items: *127 examples: - default: *154 + default: *155 headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26634,8 +26681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *19 - *17 responses: @@ -26653,9 +26700,9 @@ paths: type: number repositories: type: array - items: *155 + items: *156 examples: - default: &201 + default: &202 value: total_count: 1 repositories: @@ -26907,8 +26954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -26952,9 +26999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -26976,9 +27023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -27001,8 +27048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -27020,7 +27067,7 @@ paths: type: number runners: type: array - items: &157 + items: &158 title: Self hosted runners description: A self hosted runner type: object @@ -27054,7 +27101,7 @@ paths: type: boolean labels: type: array - items: &160 + items: &161 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -27093,7 +27140,7 @@ paths: - busy - labels examples: - default: &158 + default: &159 value: total_count: 2 runners: @@ -27135,7 +27182,7 @@ paths: name: no-gpu type: custom headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27154,8 +27201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27199,9 +27246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *74 - - *152 - - &156 + - *75 + - *153 + - &157 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -27229,9 +27276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *74 - - *152 - - *156 + - *75 + - *153 + - *157 responses: '204': description: Response @@ -27261,7 +27308,7 @@ paths: in: query schema: type: string - - *74 + - *75 - *17 - *19 responses: @@ -27279,11 +27326,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27305,7 +27352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -27313,7 +27360,7 @@ paths: application/json: schema: type: array - items: &366 + items: &367 title: Runner Application description: Runner Application type: object @@ -27338,7 +27385,7 @@ paths: - download_url - filename examples: - default: &367 + default: &368 value: - os: osx architecture: x64 @@ -27381,7 +27428,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -27424,7 +27471,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &368 + '201': &369 description: Response content: application/json: @@ -27434,7 +27481,7 @@ paths: - runner - encoded_jit_config properties: - runner: *157 + runner: *158 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -27463,7 +27510,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27491,13 +27538,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: &159 + schema: &160 title: Authentication Token description: Authentication Token type: object @@ -27521,7 +27568,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *78 + items: *79 single_file: type: - string @@ -27539,7 +27586,7 @@ paths: - token - expires_at examples: - default: &369 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27570,15 +27617,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &370 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27603,16 +27650,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &371 + default: &372 value: id: 23 name: MBP @@ -27654,8 +27701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '204': description: Response @@ -27681,10 +27728,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &161 + '200': &162 description: Response content: application/json: @@ -27698,7 +27745,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -27737,8 +27784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -27762,7 +27809,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -27786,8 +27833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -27812,7 +27859,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -27836,10 +27883,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &372 + '200': &373 description: Response content: application/json: @@ -27853,7 +27900,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -27894,9 +27941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 - - &373 + - *75 + - *157 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27904,7 +27951,7 @@ paths: schema: type: string responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -27929,7 +27976,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -27947,7 +27994,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &163 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -27981,7 +28028,7 @@ paths: - updated_at - visibility examples: - default: &168 + default: &169 value: total_count: 3 secrets: @@ -27999,7 +28046,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28022,13 +28069,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &169 + schema: &170 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28063,7 +28110,7 @@ paths: - key_id - key examples: - default: &170 + default: &171 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28088,8 +28135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *74 - - &163 + - *75 + - &164 name: secret_name description: The name of the secret. in: path @@ -28101,9 +28148,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: &171 + default: &172 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28131,8 +28178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -28189,7 +28236,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -28215,8 +28262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -28242,8 +28289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -28261,9 +28308,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: &167 + default: &168 value: total_count: 1 repositories: @@ -28355,8 +28402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -28408,8 +28455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -28442,8 +28489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -28475,8 +28522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *74 - - &172 + - *75 + - &173 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)." @@ -28500,7 +28547,7 @@ paths: type: integer variables: type: array - items: &165 + items: &166 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28548,7 +28595,7 @@ paths: - updated_at - visibility examples: - default: &173 + default: &174 value: total_count: 3 variables: @@ -28569,7 +28616,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28590,7 +28637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -28638,7 +28685,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -28663,8 +28710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *74 - - &166 + - *75 + - &167 name: name description: The name of the variable. in: path @@ -28676,9 +28723,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &174 + default: &175 value: name: USERNAME value: octocat @@ -28706,8 +28753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -28769,8 +28816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -28796,8 +28843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -28815,9 +28862,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -28843,8 +28890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -28893,8 +28940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -28928,8 +28975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -28963,7 +29010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -28981,11 +29028,11 @@ paths: type: integer secrets: type: array - items: *162 + items: *163 examples: - default: *168 + default: *169 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29008,15 +29055,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29038,16 +29085,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: *171 + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29069,8 +29116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29127,7 +29174,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29153,8 +29200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -29180,8 +29227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -29199,9 +29246,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29224,8 +29271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29277,8 +29324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29311,8 +29358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29345,8 +29392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *74 - - *172 + - *75 + - *173 - *19 responses: '200': @@ -29363,11 +29410,11 @@ paths: type: integer variables: type: array - items: *165 + items: *166 examples: - default: *173 + default: *174 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29388,7 +29435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -29436,7 +29483,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29461,16 +29508,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *174 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29491,8 +29538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29554,8 +29601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -29581,8 +29628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -29600,9 +29647,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29628,8 +29675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29678,8 +29725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29713,8 +29760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29755,7 +29802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -29881,7 +29928,7 @@ paths: type: integer deployment_records: type: array - items: &175 + items: &176 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -29928,7 +29975,7 @@ paths: required: - total_count examples: - default: &176 + default: &177 value: total_count: 1 deployment_records: @@ -29969,7 +30016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *74 + - *75 - name: cluster in: path description: The cluster name. @@ -30070,6 +30117,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -30110,11 +30165,111 @@ paths: type: integer deployment_records: type: array - items: *175 + items: *176 + required: + - total_count + examples: + default: *177 + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: *176 + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. required: - total_count examples: - default: *176 + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -30161,7 +30316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -30340,7 +30495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *74 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -30366,9 +30521,9 @@ paths: - 3 deployment_records: type: array - items: *175 + items: *176 examples: - default: *176 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30388,7 +30543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *74 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30472,9 +30627,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 requestBody: required: true content: @@ -30498,12 +30653,12 @@ paths: required: - subject_digests examples: - default: &737 + default: &738 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &738 + withPredicateType: &739 value: subject_digests: - sha256:abc123 @@ -30548,7 +30703,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &739 + default: &740 value: attestations_subject_digests: - sha256:abc: @@ -30657,7 +30812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -30722,7 +30877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -30755,9 +30910,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -30805,7 +30960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -30841,9 +30996,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30881,7 +31036,7 @@ paths: initiator: type: string examples: - default: &399 + default: &400 value: attestations: - bundle: @@ -30988,7 +31143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -31000,7 +31155,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31019,8 +31174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -31045,8 +31200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31066,8 +31221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31092,15 +31247,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *74 + - *75 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &177 + schema: &178 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -31126,7 +31281,7 @@ paths: application/json: schema: type: array - items: &178 + items: &179 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -31157,7 +31312,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &200 + items: &201 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31246,7 +31401,7 @@ paths: parent: anyOf: - type: 'null' - - &260 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -31382,7 +31537,7 @@ paths: - string - 'null' format: date-time - state: *177 + state: *178 contact_link: description: The contact link of the campaign. type: @@ -31478,9 +31633,9 @@ paths: closed_at: state: open headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31504,7 +31659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -31605,9 +31760,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: &179 + default: &180 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -31656,7 +31811,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31678,7 +31833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -31690,16 +31845,16 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31720,7 +31875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -31770,7 +31925,7 @@ paths: - string - 'null' format: uri - state: *177 + state: *178 examples: default: value: @@ -31780,9 +31935,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '400': description: Bad Request content: @@ -31794,7 +31949,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31815,7 +31970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -31826,7 +31981,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31848,18 +32003,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *74 - - &425 + - *75 + - &426 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: &187 + schema: &188 type: string description: The name of the tool used to generate the code scanning analysis. - - &426 + - &427 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 @@ -31867,23 +32022,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &188 + schema: &189 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *45 - *46 + - *47 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &428 + schema: &429 type: string description: State of a code scanning alert. enum: @@ -31906,7 +32061,7 @@ paths: be returned. in: query required: false - schema: &429 + schema: &430 type: string description: Severity of a code scanning alert. enum: @@ -31935,18 +32090,18 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: &430 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: &431 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &189 + state: &190 type: - string - 'null' @@ -31956,13 +32111,13 @@ paths: - dismissed - fixed - - fixed_at: *185 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: &431 + dismissed_at: *187 + dismissed_reason: &432 type: - string - 'null' @@ -31973,14 +32128,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &432 + dismissed_comment: &433 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &433 + rule: &434 type: object properties: id: @@ -32041,43 +32196,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &434 + tool: &435 type: object properties: - name: *187 + name: *188 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *188 - most_recent_instance: &435 + guid: *189 + most_recent_instance: &436 type: object properties: - ref: &427 + ref: &428 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &446 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &447 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &448 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: *189 + state: *190 commit_sha: type: string message: @@ -32091,7 +32246,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &449 type: object description: Describe a region within a file for the alert. properties: @@ -32112,7 +32267,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &450 type: - string - 'null' @@ -32124,7 +32279,7 @@ paths: - test - library - - repository: *65 + repository: *66 dismissal_approved_by: anyOf: - type: 'null' @@ -32376,9 +32531,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32400,7 +32555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *74 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -32419,8 +32574,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -32428,7 +32583,7 @@ paths: application/json: schema: type: array - items: *47 + items: *48 examples: default: value: @@ -32506,7 +32661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *74 + - *75 requestBody: required: true content: @@ -32593,7 +32748,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *51 + code_scanning_options: *52 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -32602,7 +32757,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *50 + code_scanning_default_setup_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -32747,9 +32902,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: *190 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32771,16 +32926,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 - '304': *35 + default: *193 + '304': *36 '403': *27 '404': *6 x-github: @@ -32805,7 +32960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -32833,11 +32988,11 @@ paths: - 32 - 91 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32859,17 +33014,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: '200': description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *190 - '304': *35 + default: *191 + '304': *36 '403': *27 '404': *6 x-github: @@ -32892,8 +33047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -32980,8 +33135,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33113,7 +33268,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *47 + schema: *48 examples: default: value: @@ -33172,14 +33327,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33203,8 +33358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33243,7 +33398,7 @@ paths: - 32 - 91 responses: - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33267,8 +33422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33308,12 +33463,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: *190 + configuration: *191 '403': *27 '404': *6 x-github: @@ -33337,8 +33492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -33347,8 +33502,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -33366,13 +33521,13 @@ paths: application/json: schema: type: array - items: *193 + items: *194 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *194 + repository: *195 '403': *27 '404': *6 x-github: @@ -33396,7 +33551,7 @@ paths: parameters: - *17 - *19 - - *74 + - *75 responses: '200': description: Response @@ -33412,7 +33567,7 @@ paths: type: integer codespaces: type: array - items: &250 + items: &251 type: object title: Codespace description: A codespace. @@ -33443,11 +33598,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *155 + repository: *156 machine: anyOf: - type: 'null' - - &461 + - &462 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -33734,7 +33889,7 @@ paths: - pulls_url - recent_folders examples: - default: &251 + default: &252 value: total_count: 3 codespaces: @@ -34143,8 +34298,8 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -34166,7 +34321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34205,12 +34360,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34233,7 +34388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34260,12 +34415,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34288,7 +34443,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *74 + - *75 requestBody: required: true content: @@ -34314,12 +34469,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34340,7 +34495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -34358,7 +34513,7 @@ paths: type: integer secrets: type: array - items: &195 + items: &196 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -34399,7 +34554,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &463 value: total_count: 2 secrets: @@ -34412,7 +34567,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34431,13 +34586,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34472,7 +34627,7 @@ paths: - key_id - key examples: - default: &464 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34495,23 +34650,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &466 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34531,8 +34686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -34587,7 +34742,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -34613,8 +34768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -34639,8 +34794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -34658,9 +34813,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '404': *6 x-github: githubCloudOnly: false @@ -34682,8 +34837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -34733,8 +34888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -34767,8 +34922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -34804,7 +34959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -34838,7 +34993,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &196 + items: &197 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -34894,7 +35049,7 @@ paths: owner: anyOf: - *4 - - *72 + - *73 description: The user or organization that owns this space. creator: *4 created_at: @@ -35114,7 +35269,7 @@ paths: html_url: https://github.com/copilot/spaces/octo-org/4 api_url: https://api.github.com/organizations/1/copilot-spaces/4 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -35138,7 +35293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *74 + - *75 requestBody: required: true content: @@ -35235,9 +35390,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &197 + default: &198 summary: Example response for an organization copilot space value: id: 84 @@ -35330,7 +35485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35342,9 +35497,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 x-github: @@ -35368,7 +35523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35473,9 +35628,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 '422': *15 @@ -35502,7 +35657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35538,7 +35693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35558,7 +35713,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &198 + items: &199 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -35732,7 +35887,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35783,7 +35938,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -35863,7 +36018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -35913,7 +36068,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -35995,7 +36150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36044,7 +36199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36064,7 +36219,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &199 + items: &200 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36154,7 +36309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36208,7 +36363,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36224,7 +36379,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36261,7 +36416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36279,7 +36434,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36313,7 +36468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36348,7 +36503,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36383,7 +36538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36426,7 +36581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -36535,7 +36690,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -36567,7 +36722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *74 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -36590,7 +36745,7 @@ paths: currently being billed. seats: type: array - items: &253 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -36603,13 +36758,13 @@ paths: organization: anyOf: - type: 'null' - - *72 + - *73 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *200 - - *67 + - *201 + - *68 type: - 'null' - object @@ -36739,8 +36894,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -36773,7 +36928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -36815,7 +36970,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -36851,7 +37006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -36893,7 +37048,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -36931,7 +37086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -36972,7 +37127,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37008,7 +37163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37050,7 +37205,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37086,7 +37241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -37123,7 +37278,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37151,7 +37306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37176,7 +37331,7 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37206,7 +37361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -37221,17 +37376,17 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 required: - total_count - repositories examples: - default: *201 - '500': *53 + default: *202 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37255,7 +37410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37281,11 +37436,11 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -37311,16 +37466,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -37345,16 +37500,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37385,7 +37540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -37405,7 +37560,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37438,7 +37593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -37490,7 +37645,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37525,18 +37680,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37564,16 +37719,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *74 + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *57 + schema: *56 examples: - default: *58 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37601,18 +37795,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37640,18 +37834,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -37679,16 +37873,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -37712,13 +37906,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *74 - - *202 + - *75 - *203 - *204 - *205 - *206 - *207 + - *208 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37748,7 +37942,7 @@ paths: enum: - patch - deployment - - *208 + - *209 - name: runtime_risk in: query description: |- @@ -37757,11 +37951,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -37770,10 +37964,10 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 - '304': *35 + default: *213 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -37798,7 +37992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *74 + - *75 - name: page in: query description: The page number of results to fetch. @@ -37821,9 +38015,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '403': *27 '404': *6 x-github: @@ -37854,7 +38048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37920,7 +38114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *74 + - *75 requestBody: required: true content: @@ -37969,7 +38163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -37987,7 +38181,7 @@ paths: type: integer secrets: type: array - items: &215 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38039,7 +38233,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38060,13 +38254,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &494 + schema: &495 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38085,7 +38279,7 @@ paths: - key_id - key examples: - default: &495 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38108,14 +38302,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -38143,8 +38337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -38199,7 +38393,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -38223,8 +38417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -38248,8 +38442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -38267,9 +38461,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38290,8 +38484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -38341,8 +38535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -38373,8 +38567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -38404,7 +38598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -38412,7 +38606,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Package description: A software package type: object @@ -38465,7 +38659,7 @@ paths: repository: anyOf: - type: 'null' - - *155 + - *156 created_at: type: string format: date-time @@ -38483,7 +38677,7 @@ paths: - created_at - updated_at examples: - default: &263 + default: &264 value: - id: 197 name: hello_docker @@ -38561,7 +38755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38571,7 +38765,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -38643,7 +38837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38653,7 +38847,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -38707,7 +38901,7 @@ paths: - invitation_teams_url - node_id examples: - default: &240 + default: &241 value: - id: 1 login: monalisa @@ -38740,7 +38934,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -38764,7 +38958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38774,7 +38968,7 @@ paths: application/json: schema: type: array - items: &216 + items: &217 title: Org Hook description: Org Hook type: object @@ -38874,7 +39068,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -38897,7 +39091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *74 + - *75 requestBody: required: true content: @@ -38959,9 +39153,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: &217 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39008,8 +39202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *74 - - &218 + - *75 + - &219 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. @@ -39022,9 +39216,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39051,8 +39245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39098,7 +39292,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: default: value: @@ -39139,8 +39333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -39167,8 +39361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 responses: '200': description: Response @@ -39198,8 +39392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39249,11 +39443,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *74 - - *218 - - *17 + - *75 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -39261,9 +39455,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -39288,17 +39482,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -39323,11 +39517,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -39353,8 +39547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -39376,8 +39570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *74 - - &229 + - *75 + - &230 name: actor_type in: path description: The type of the actor @@ -39390,14 +39584,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &230 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &225 + - &226 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`.' @@ -39405,7 +39599,7 @@ paths: required: true schema: type: string - - &226 + - &227 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) @@ -39416,7 +39610,7 @@ paths: type: string - *19 - *17 - - *60 + - *61 - name: sort description: The property to sort the results by. in: query @@ -39499,13 +39693,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 - *19 - *17 - - *60 - - &235 + - *61 + - &236 name: sort description: The property to sort the results by. in: query @@ -39583,15 +39777,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &227 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39607,7 +39801,7 @@ paths: type: integer format: int64 examples: - default: &228 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39627,24 +39821,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *74 - - &231 + - *75 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *225 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -39662,19 +39856,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *74 - - *225 + - *75 - *226 - - *229 + - *227 - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -39691,10 +39885,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *74 - - *225 + - *75 - *226 - - &232 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39707,7 +39901,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39723,7 +39917,7 @@ paths: type: integer format: int64 examples: - default: &234 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39759,19 +39953,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *74 - - *231 - - *225 - - *226 + - *75 - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -39788,20 +39982,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *74 - - *229 + - *75 - *230 - - *225 + - *231 - *226 - - *232 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -39818,14 +40012,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *74 - - *231 - - *225 + - *75 + - *232 - *226 + - *227 - *19 - *17 - - *60 - - *235 + - *61 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39901,7 +40095,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -39909,7 +40103,7 @@ paths: application/json: schema: *20 examples: - default: &532 + default: &533 value: id: 1 account: @@ -39978,7 +40172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -40048,7 +40242,7 @@ paths: suspended_at: suspended_by: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40067,7 +40261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40075,12 +40269,12 @@ paths: application/json: schema: anyOf: - - &237 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &236 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40108,7 +40302,7 @@ paths: properties: {} additionalProperties: false examples: - default: &238 + default: &239 value: limit: collaborators_only origin: organization @@ -40132,18 +40326,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &533 + schema: &534 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *236 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40168,9 +40362,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -40188,7 +40382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -40212,7 +40406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *74 + - *75 - *17 - *19 - name: role @@ -40246,11 +40440,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -40271,7 +40465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *74 + - *75 requestBody: required: false content: @@ -40325,7 +40519,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -40379,8 +40573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *74 - - &241 + - *75 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40410,8 +40604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *74 - - *241 + - *75 + - *242 - *17 - *19 responses: @@ -40421,9 +40615,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &261 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40439,7 +40633,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -40458,7 +40652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40466,7 +40660,7 @@ paths: application/json: schema: type: array - items: &242 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -40635,7 +40829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -40729,9 +40923,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: &243 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -40786,8 +40980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *74 - - &244 + - *75 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -40897,9 +41091,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *6 '422': *7 x-github: @@ -40923,10 +41117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *74 - - *244 + - *75 + - *245 responses: - '204': *59 + '204': *58 '404': *6 '422': *7 x-github: @@ -40946,7 +41140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40954,9 +41148,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: &537 + default: &538 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -40992,7 +41186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -41042,9 +41236,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: &246 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41076,8 +41270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *74 - - &247 + - *75 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41133,9 +41327,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *7 x-github: @@ -41159,8 +41353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *74 - - *247 + - *75 + - *248 responses: '204': description: Response @@ -41193,7 +41387,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *74 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -41223,7 +41417,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -41241,8 +41435,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -41252,11 +41446,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -41276,7 +41470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *74 + - *75 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -41314,9 +41508,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -41334,8 +41528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -41369,8 +41563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -41397,8 +41591,8 @@ paths: parameters: - *17 - *19 - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response @@ -41414,11 +41608,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41441,9 +41635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *74 - - *70 - - &252 + - *75 + - *71 + - &253 name: codespace_name in: path required: true @@ -41451,9 +41645,9 @@ paths: schema: type: string responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41476,17 +41670,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *74 - - *70 - - *252 + - *75 + - *71 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &460 + default: &461 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41627,8 +41821,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41659,14 +41853,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *253 + schema: *254 examples: default: value: @@ -41710,7 +41904,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -41735,14 +41929,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &254 + schema: &255 title: Org Membership description: Org Membership type: object @@ -41791,7 +41985,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *72 + organization: *73 user: anyOf: - type: 'null' @@ -41811,7 +42005,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &255 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41883,8 +42077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -41912,9 +42106,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *255 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 '451': *15 @@ -41939,8 +42133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -41965,7 +42159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *74 + - *75 - *17 - *19 - name: exclude @@ -41987,7 +42181,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Migration description: A migration. type: object @@ -42029,7 +42223,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *65 + items: *66 url: type: string format: uri @@ -42228,7 +42422,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42244,7 +42438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *74 + - *75 requestBody: required: true content: @@ -42325,7 +42519,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -42503,8 +42697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *74 - - &257 + - *75 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -42532,7 +42726,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -42701,8 +42895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '302': description: Response @@ -42723,8 +42917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '204': description: Response @@ -42747,9 +42941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *74 - - *257 - - &719 + - *75 + - *258 + - &720 name: repo_name description: repo_name parameter in: path @@ -42776,8 +42970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *74 - - *257 + - *75 + - *258 - *17 - *19 responses: @@ -42787,9 +42981,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -42815,7 +43009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response - list of organization roles @@ -42831,7 +43025,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &259 + items: &260 title: Organization Role description: Organization roles type: object @@ -42980,8 +43174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -43006,9 +43200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *74 - - *76 - - &258 + - *75 + - *77 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -43043,9 +43237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *74 - - *76 - - *258 + - *75 + - *77 + - *259 responses: '204': description: Response @@ -43070,8 +43264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -43096,9 +43290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43128,9 +43322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43158,14 +43352,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -43215,8 +43409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -43295,7 +43489,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 type: description: The ownership type of the team type: string @@ -43328,9 +43522,9 @@ paths: - type - parent examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -43357,8 +43551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -43387,7 +43581,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *260 + items: *261 name: type: - string @@ -43504,9 +43698,9 @@ paths: - type - url examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -43528,7 +43722,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *74 + - *75 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -43555,9 +43749,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43580,8 +43774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -43638,8 +43832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -43696,8 +43890,8 @@ paths: - docker - nuget - container - - *74 - - &720 + - *75 + - &721 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43733,12 +43927,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '401': *23 - '400': &722 + '400': &723 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43760,7 +43954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &264 + - &265 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 @@ -43778,20 +43972,20 @@ paths: - docker - nuget - container - - &265 + - &266 name: package_name description: The name of the package. in: path required: true schema: type: string - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: default: value: @@ -43843,9 +44037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 responses: '204': description: Response @@ -43877,9 +44071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - name: token description: package token schema: @@ -43911,9 +44105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - *19 - *17 - name: state @@ -43933,7 +44127,7 @@ paths: application/json: schema: type: array - items: &266 + items: &267 title: Package Version description: A version of a software package type: object @@ -44068,10 +44262,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - &267 + - *266 + - *75 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -44083,7 +44277,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -44119,10 +44313,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -44154,10 +44348,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -44184,10 +44378,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 - *17 - *19 - - &268 + - &269 name: sort description: The property by which to sort the results. in: query @@ -44197,8 +44391,8 @@ paths: enum: - created_at default: created_at - - *60 - - &269 + - *61 + - &270 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44210,7 +44404,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &270 + - &271 name: repository description: The name of the repository to use to filter the results. in: query @@ -44219,7 +44413,7 @@ paths: type: string examples: - Hello-World - - &271 + - &272 name: permission description: The permission to use to filter the results. in: query @@ -44228,7 +44422,7 @@ paths: type: string examples: - issues_read - - &272 + - &273 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) @@ -44238,7 +44432,7 @@ paths: schema: type: string format: date-time - - &273 + - &274 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) @@ -44248,7 +44442,7 @@ paths: schema: type: string format: date-time - - &274 + - &275 name: token_id description: The ID of the token in: query @@ -44261,7 +44455,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -44396,7 +44590,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44416,7 +44610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -44458,11 +44652,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44483,7 +44677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44520,11 +44714,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44545,7 +44739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -44556,7 +44750,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -44565,9 +44759,9 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: &275 + default: &276 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44680,7 +44874,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44701,19 +44895,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *74 + - *75 - *17 - *19 - - *268 - - *60 - *269 + - *61 - *270 - *271 - *272 - *273 - *274 + - *275 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -44842,7 +45036,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44862,7 +45056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -44897,9 +45091,9 @@ paths: - 1296269 - 1296280 responses: - '500': *53 + '500': *54 '404': *6 - '202': *37 + '202': *38 '403': *27 '422': *15 x-github: @@ -44922,7 +45116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *74 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -44950,9 +45144,9 @@ paths: value: action: revoke responses: - '500': *53 + '500': *54 '404': *6 - '204': *59 + '204': *58 '403': *27 '422': *15 x-github: @@ -44974,7 +45168,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *74 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -44984,7 +45178,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -44993,11 +45187,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45019,7 +45213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -45037,7 +45231,7 @@ paths: type: integer configurations: type: array - items: &276 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45179,7 +45373,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *66 + Link: *67 '400': *14 '404': *6 x-github: @@ -45202,7 +45396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -45554,7 +45748,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &277 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45595,7 +45789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -45623,7 +45817,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -45645,16 +45839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -45676,8 +45870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -45865,8 +46059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -45889,15 +46083,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -45906,7 +46100,7 @@ paths: application/json: schema: type: array - items: &278 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -45980,7 +46174,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &806 + - &807 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46065,7 +46259,7 @@ paths: - deleted_at - deleted_by examples: - default: &279 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46148,8 +46342,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46168,25 +46362,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &280 + - &281 name: project_number description: The project's number. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46205,8 +46399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -46240,7 +46434,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -46253,8 +46447,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *82 - - &475 + - *83 + - &476 title: Pull Request Simple description: Pull Request Simple type: object @@ -46374,7 +46568,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -46413,7 +46607,7 @@ paths: items: *4 requested_teams: type: array - items: *200 + items: *201 head: type: object properties: @@ -46421,7 +46615,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -46441,7 +46635,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -46457,7 +46651,7 @@ paths: _links: type: object properties: - comments: &282 + comments: &283 title: Link description: Hypermedia Link type: object @@ -46466,13 +46660,13 @@ paths: type: string required: - href - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -46482,7 +46676,7 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. @@ -46509,6 +46703,46 @@ paths: - merge_method - commit_title - commit_message + stack: &596 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull + request belongs to. + sha: + type: string + description: The base SHA of the stack this pull + request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the + stack. + position: + type: integer + description: The one-based position of this pull request + within the stack, where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request + belongs to. + number: + type: integer + description: The number of the stack that this pull + request belongs to. + required: + - base draft: description: Indicates whether or not the pull request is a draft. @@ -46583,7 +46817,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &284 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46627,7 +46861,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &286 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -46682,7 +46916,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 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -46701,11 +46935,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *280 - - *74 + - *281 + - *75 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -46713,7 +46947,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46866,7 +47100,7 @@ paths: - updated_at - project_url examples: - default: &743 + default: &744 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46977,8 +47211,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46996,8 +47230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 requestBody: required: true content: @@ -47043,7 +47277,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &744 + items: &745 type: object properties: name: @@ -47080,7 +47314,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &745 + iteration_configuration: &746 type: object description: The configuration for iteration fields. properties: @@ -47130,7 +47364,7 @@ paths: value: name: Due date data_type: date - single_select_field: &746 + single_select_field: &747 summary: Create a single select field value: name: Priority @@ -47157,7 +47391,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &747 + iteration_field: &748 summary: Create an iteration field value: name: Sprint @@ -47181,9 +47415,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *283 + schema: *284 examples: - text_field: &748 + text_field: &749 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47192,7 +47426,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &749 + number_field: &750 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47201,7 +47435,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &750 + date_field: &751 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47210,7 +47444,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &751 + single_select_field: &752 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47244,7 +47478,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &752 + iteration_field: &753 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47269,7 +47503,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *35 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -47289,23 +47523,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *280 - - &753 + - *281 + - &754 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: &754 + default: &755 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47340,8 +47574,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -47361,8 +47595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -47384,8 +47618,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -47394,7 +47628,7 @@ paths: application/json: schema: type: array - items: &287 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -47411,7 +47645,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: *284 + content_type: *285 content: type: - object @@ -47461,7 +47695,7 @@ paths: - updated_at - archived_at examples: - default: &288 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48138,8 +48372,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48158,8 +48392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -48229,23 +48463,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -48264,9 +48498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *280 - - *74 - - &289 + - *281 + - *75 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -48292,12 +48526,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48315,9 +48549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48390,13 +48624,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -48416,9 +48650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 responses: '204': description: Response @@ -48441,8 +48675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true content: @@ -48516,7 +48750,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &734 + schema: &735 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48620,7 +48854,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &290 + value: &291 value: id: 1 number: 1 @@ -48666,11 +48900,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -48697,9 +48931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *280 - - *74 - - &755 + - *281 + - *75 + - &756 name: view_number description: The number that identifies the project view. in: path @@ -48721,8 +48955,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -48731,12 +48965,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -48758,7 +48992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -48766,7 +49000,7 @@ paths: application/json: schema: type: array - items: &291 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -48844,7 +49078,7 @@ paths: - property_name - value_type examples: - default: &292 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48893,7 +49127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -48904,7 +49138,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *291 + items: *292 minItems: 1 maxItems: 100 required: @@ -48934,9 +49168,9 @@ paths: application/json: schema: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 '403': *27 '404': *6 x-github: @@ -48957,8 +49191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *74 - - &293 + - *75 + - &294 name: custom_property_name description: The custom property name in: path @@ -48970,9 +49204,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &294 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49006,8 +49240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true content: @@ -49087,9 +49321,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *294 + default: *295 '403': *27 '404': *6 x-github: @@ -49112,10 +49346,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 responses: - '204': *59 + '204': *58 '403': *27 '404': *6 x-github: @@ -49136,7 +49370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 - *17 - *19 - name: repository_query @@ -49177,7 +49411,7 @@ paths: - octocat/Hello-World properties: type: array - items: &295 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -49219,7 +49453,7 @@ paths: - property_name: team value: octocat headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -49247,7 +49481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -49267,7 +49501,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - repository_names - properties @@ -49308,7 +49542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *74 + - *75 - *17 - *19 responses: @@ -49320,9 +49554,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49339,8 +49573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -49364,8 +49598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -49386,8 +49620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -49411,7 +49645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *74 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -49457,11 +49691,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49480,7 +49714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *74 + - *75 requestBody: required: true content: @@ -49662,7 +49896,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: Full Repository description: Full Repository type: object @@ -50017,7 +50251,7 @@ paths: template_repository: anyOf: - type: 'null' - - *78 + - *79 temp_clone_token: type: - string @@ -50113,13 +50347,13 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' - *4 - parent: *78 - source: *78 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -50132,7 +50366,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &480 + code_of_conduct: &481 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50162,7 +50396,7 @@ paths: - key - name - html_url - security_and_analysis: *296 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50246,7 +50480,7 @@ paths: - network_count - subscribers_count examples: - default: &344 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50764,10 +50998,10 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - *17 - *19 - - &618 + - &619 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50786,7 +51020,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -50821,7 +51055,7 @@ paths: source: type: string description: The name of the source - enforcement: &299 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -50834,7 +51068,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &300 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -50906,7 +51140,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &297 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -50930,7 +51164,7 @@ paths: match. items: type: string - - &301 + - &302 title: Organization ruleset conditions type: object description: |- @@ -50944,7 +51178,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -50978,7 +51212,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -51000,7 +51234,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -51013,7 +51247,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &298 + items: &299 title: Repository ruleset property targeting definition type: object @@ -51046,7 +51280,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *298 + items: *299 required: - repository_property type: @@ -51054,12 +51288,12 @@ paths: - object rules: type: array - items: &619 + items: &620 title: Repository Rule type: object description: A repository rule. oneOf: - - &302 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -51071,7 +51305,7 @@ paths: type: string enum: - creation - - &303 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -51092,7 +51326,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &304 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -51104,7 +51338,7 @@ paths: type: string enum: - deletion - - &305 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -51116,7 +51350,7 @@ paths: type: string enum: - required_linear_history - - &616 + - &617 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51194,7 +51428,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &306 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -51218,7 +51452,7 @@ paths: type: string required: - required_deployment_environments - - &307 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -51230,7 +51464,7 @@ paths: type: string enum: - required_signatures - - &308 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -51373,7 +51607,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &309 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -51421,7 +51655,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &310 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -51433,7 +51667,7 @@ paths: type: string enum: - non_fast_forward - - &311 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -51470,7 +51704,7 @@ paths: required: - operator - pattern - - &312 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -51507,7 +51741,7 @@ paths: required: - operator - pattern - - &313 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -51544,7 +51778,7 @@ paths: required: - operator - pattern - - &314 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -51581,7 +51815,7 @@ paths: required: - operator - pattern - - &315 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -51618,7 +51852,7 @@ paths: required: - operator - pattern - - &320 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -51668,7 +51902,7 @@ paths: - repository_id required: - workflows - - &321 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -51729,7 +51963,7 @@ paths: - tool required: - code_scanning_tools - - &322 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -51755,7 +51989,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &617 + - &618 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -51767,7 +52001,7 @@ paths: type: string enum: - license_compliance_scanning - - &316 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -51792,7 +52026,7 @@ paths: type: string required: - restricted_file_paths - - &317 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -51816,7 +52050,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &318 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -51839,7 +52073,7 @@ paths: type: string required: - restricted_file_extensions - - &319 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -51900,7 +52134,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -51916,7 +52150,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 requestBody: description: Request body required: true @@ -51937,21 +52171,20 @@ paths: - push - repository default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &325 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *302 - *303 - *304 - *305 @@ -51972,6 +52205,7 @@ paths: - *320 - *321 - *322 + - *323 required: - name - enforcement @@ -52009,9 +52243,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: id: 21 name: super cool ruleset @@ -52052,7 +52286,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -52066,8 +52300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *74 - - &620 + - *75 + - &621 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 @@ -52082,7 +52316,7 @@ paths: in: query schema: type: string - - &621 + - &622 name: time_period description: |- The time period to filter by. @@ -52098,14 +52332,14 @@ paths: - week - month default: day - - &622 + - &623 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 - - &623 + - &624 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52118,7 +52352,7 @@ paths: - bypass - all default: all - - &624 + - &625 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52141,7 +52375,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &626 title: Rule Suites description: Response type: array @@ -52197,7 +52431,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &626 + default: &627 value: - id: 21 actor_id: 12 @@ -52221,7 +52455,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52240,8 +52474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *74 - - &627 + - *75 + - &628 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52257,7 +52491,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &629 title: Rule Suite description: Response type: object @@ -52364,7 +52598,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &629 + default: &630 value: id: 21 actor_id: 12 @@ -52399,7 +52633,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52425,7 +52659,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52437,11 +52671,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *53 + '500': *54 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -52457,7 +52691,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52483,16 +52717,16 @@ paths: - tag - push - repository - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *325 + items: *326 examples: default: value: @@ -52527,12 +52761,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -52548,7 +52782,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52559,7 +52793,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -52571,7 +52805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *74 + - *75 - *17 - *19 - name: ruleset_id @@ -52587,7 +52821,7 @@ paths: application/json: schema: type: array - items: &326 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -52611,7 +52845,7 @@ paths: type: string format: date-time examples: - default: &631 + default: &632 value: - version_id: 3 actor: @@ -52629,7 +52863,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52646,7 +52880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52664,9 +52898,9 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 allOf: - - *326 + - *327 - type: object required: - state @@ -52713,7 +52947,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52735,8 +52969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *74 - - &633 + - *75 + - &634 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52747,7 +52981,7 @@ paths: enum: - open - resolved - - &634 + - &635 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52757,7 +52991,7 @@ paths: required: false schema: type: string - - &635 + - &636 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52768,7 +53002,7 @@ paths: required: false schema: type: string - - &636 + - &637 name: exclude_providers in: query description: |- @@ -52779,7 +53013,7 @@ paths: required: false schema: type: string - - &637 + - &638 name: providers in: query description: |- @@ -52790,7 +53024,7 @@ paths: required: false schema: type: string - - &638 + - &639 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52799,7 +53033,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52818,7 +53052,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &640 + - &641 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. @@ -52830,10 +53064,10 @@ paths: - created - updated default: created - - *60 + - *61 - *19 - *17 - - &641 + - &642 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 @@ -52843,7 +53077,7 @@ paths: required: false schema: type: string - - &642 + - &643 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 @@ -52853,7 +53087,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52862,7 +53096,7 @@ paths: required: false schema: type: string - - &644 + - &645 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52871,7 +53105,7 @@ paths: schema: type: boolean default: false - - &645 + - &646 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52880,7 +53114,7 @@ paths: schema: type: boolean default: false - - &646 + - &647 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52889,7 +53123,7 @@ paths: schema: type: boolean default: false - - &647 + - &648 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52900,7 +53134,7 @@ paths: required: false schema: type: boolean - - &648 + - &649 name: included_metadata in: query description: |- @@ -52911,7 +53145,7 @@ paths: required: false schema: type: string - - &649 + - &650 name: owner_email_hash in: query description: |- @@ -52933,27 +53167,27 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &651 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: &651 + resolution: &652 type: - string - 'null' @@ -52999,7 +53233,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *65 + repository: *66 push_protection_bypassed: type: - boolean @@ -53072,14 +53306,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &652 + - &653 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &654 + - &655 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53143,7 +53377,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &656 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. @@ -53204,7 +53438,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &657 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53226,7 +53460,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &657 + - &658 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53248,7 +53482,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &658 + - &659 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53270,7 +53504,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &659 + - &660 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53285,7 +53519,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &661 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53300,7 +53534,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &662 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53315,7 +53549,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &663 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. @@ -53337,7 +53571,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &663 + - &664 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. @@ -53359,7 +53593,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &664 + - &665 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. @@ -53381,7 +53615,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &665 + - &666 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. @@ -53403,7 +53637,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &666 + - &667 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 @@ -53625,9 +53859,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53652,8 +53886,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 - - &667 + - *75 + - &668 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -53664,7 +53898,7 @@ paths: enum: - published - unpublished - - &668 + - &669 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -53675,7 +53909,7 @@ paths: enum: - enabled - disabled - - &669 + - &670 name: sort description: The property to sort the results by. in: query @@ -53687,7 +53921,7 @@ paths: - updated - name default: created - - *60 + - *61 - *19 - *17 responses: @@ -53697,7 +53931,7 @@ paths: application/json: schema: type: array - items: &327 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -53749,7 +53983,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &328 + custom_pattern_version: &329 type: - string - 'null' @@ -53774,7 +54008,7 @@ paths: - state - push_protection_enabled examples: - default: &670 + default: &671 value: - id: 1 name: Example Custom Pattern @@ -53803,7 +54037,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -53824,7 +54058,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -53837,7 +54071,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &671 + items: &672 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -53874,7 +54108,7 @@ paths: items: type: string examples: - default: &672 + default: &673 value: patterns: - name: Example Custom Pattern @@ -53898,9 +54132,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: &673 + default: &674 value: created_patterns: - id: 1 @@ -53952,7 +54186,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &674 + items: &675 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -53995,7 +54229,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -54009,7 +54243,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54019,7 +54253,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *328 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -54032,7 +54266,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &676 + default: &677 value: patterns: - pattern_id: 2 @@ -54043,7 +54277,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &329 + '412': &330 description: Precondition Failed content: application/json: @@ -54067,7 +54301,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 - name: pattern_id in: path required: true @@ -54078,7 +54312,7 @@ paths: required: true content: application/json: - schema: &677 + schema: &678 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54117,9 +54351,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *328 + custom_pattern_version: *329 examples: - default: &678 + default: &679 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54134,9 +54368,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: &679 + default: &680 value: id: 1 name: Example Custom Pattern @@ -54156,7 +54390,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -54177,7 +54411,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 responses: '200': description: Response @@ -54189,11 +54423,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &330 + items: &331 type: object properties: token_type: @@ -54262,7 +54496,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *330 + items: *331 examples: default: value: @@ -54311,7 +54545,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 requestBody: required: true content: @@ -54319,7 +54553,7 @@ paths: schema: type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -54345,7 +54579,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *328 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -54381,7 +54615,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 "/orgs/{org}/security-advisories": get: @@ -54399,8 +54633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *74 - - *60 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -54412,8 +54646,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -54443,7 +54677,7 @@ paths: application/json: schema: type: array - items: &683 + items: &684 description: A repository security advisory. type: object properties: @@ -54630,7 +54864,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *62 + cvss_severities: *63 cwes: type: - array @@ -54666,7 +54900,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 credits_detailed: type: - array @@ -54677,7 +54911,7 @@ paths: type: object properties: user: *4 - type: *331 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -54703,13 +54937,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *200 + items: *201 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *65 + - *66 type: - 'null' required: @@ -54740,7 +54974,7 @@ paths: - private_fork additionalProperties: false examples: - default: &684 + default: &685 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55119,7 +55353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *74 + - *75 responses: '200': description: Response @@ -55127,7 +55361,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -55167,8 +55401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -55193,8 +55427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -55221,7 +55455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Immutable releases settings response @@ -55271,7 +55505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -55329,7 +55563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 - *19 - *17 responses: @@ -55347,9 +55581,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55368,7 +55602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 requestBody: required: true content: @@ -55417,8 +55651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -55440,8 +55674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -55464,7 +55698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -55482,7 +55716,7 @@ paths: type: integer network_configurations: type: array - items: &332 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -55560,7 +55794,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55579,7 +55813,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -55635,9 +55869,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &333 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -55665,8 +55899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - &334 + - *75 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -55678,11 +55912,11 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55701,8 +55935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *334 + - *75 + - *335 requestBody: required: true content: @@ -55755,9 +55989,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55776,8 +56010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *74 - - *334 + - *75 + - *335 responses: '204': description: Response @@ -55800,7 +56034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *74 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -55859,7 +56093,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55877,7 +56111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *74 + - *75 - *17 - *19 - name: team_type @@ -55899,11 +56133,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -55923,7 +56157,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *74 + - *75 requestBody: required: true content: @@ -55987,7 +56221,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56061,7 +56295,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 members_count: type: integer examples: @@ -56386,7 +56620,7 @@ paths: - repos_count - organization examples: - default: &336 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56456,16 +56690,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *74 - - *76 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -56486,8 +56720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *74 - - *76 + - *75 + - *77 requestBody: required: false content: @@ -56550,16 +56784,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -56584,12 +56818,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response - '422': &337 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -56612,8 +56846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -56623,12 +56857,12 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 - '422': *337 + Link: *67 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56650,8 +56884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *74 - - *76 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -56672,7 +56906,7 @@ paths: application/json: schema: type: array - items: &699 + items: &700 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -56815,7 +57049,7 @@ paths: - type - url examples: - default: &700 + default: &701 value: - login: octocat id: 1 @@ -56838,7 +57072,7 @@ paths: role: member inherited: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56866,15 +57100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '200': description: Response content: application/json: - schema: &338 + schema: &339 title: Team Membership description: Team Membership type: object @@ -56902,7 +57136,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &701 + response-if-user-is-a-team-maintainer: &702 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56938,9 +57172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 requestBody: required: false content: @@ -56965,9 +57199,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &702 + response-if-users-membership-with-team-is-now-pending: &703 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57002,9 +57236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '204': description: Response @@ -57030,8 +57264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57041,11 +57275,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57072,16 +57306,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &703 + schema: &704 title: Team Repository description: A team's access to a repository. type: object @@ -57107,7 +57341,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 forks: type: integer permissions: @@ -57714,10 +57948,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 requestBody: required: false content: @@ -57762,10 +57996,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '204': description: Response @@ -57789,8 +58023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57800,9 +58034,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: &704 + response-if-child-teams-exist: &705 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57830,7 +58064,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57855,7 +58089,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *74 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -57955,7 +58189,7 @@ paths: resources: type: object properties: - core: &341 + core: &342 title: Rate Limit type: object properties: @@ -57972,17 +58206,17 @@ paths: - remaining - reset - used - graphql: *341 - search: *341 - code_search: *341 - source_import: *341 - integration_manifest: *341 - actions_runner_registration: *341 - scim: *341 - dependency_snapshots: *341 - dependency_sbom: *341 - code_scanning_autofix: *341 - copilot_usage_records: *341 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search @@ -58056,7 +58290,7 @@ paths: schema: type: integer format: timestamp - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -58079,14 +58313,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default-response: summary: Default response @@ -58590,7 +58824,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *343 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58608,8 +58842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -58920,10 +59154,10 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 - '307': &345 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -58952,8 +59186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -58975,9 +59209,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *345 + '307': *346 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58999,11 +59233,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &377 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59026,7 +59260,7 @@ paths: type: integer artifacts: type: array - items: &346 + items: &347 title: Artifact description: An artifact type: object @@ -59121,7 +59355,7 @@ paths: - expires_at - updated_at examples: - default: &378 + default: &379 value: total_count: 2 artifacts: @@ -59160,7 +59394,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59182,9 +59416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *339 - *340 - - &347 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59196,7 +59430,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -59234,9 +59468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 responses: '204': description: Response @@ -59260,9 +59494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 - name: archive_format in: path required: true @@ -59272,15 +59506,11 @@ paths: '302': description: Response headers: - Location: &497 + Location: &498 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &538 - description: Gone - content: - application/json: - schema: *3 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59301,14 +59531,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -59320,7 +59550,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -59342,15 +59572,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *349 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -59377,14 +59607,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &349 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -59396,7 +59626,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -59418,15 +59648,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -59455,14 +59685,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -59488,11 +59718,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &351 + - &352 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 @@ -59520,13 +59750,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *60 + - *61 responses: '200': description: Response content: application/json: - schema: &352 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -59576,7 +59806,7 @@ paths: - total_count - actions_caches examples: - default: &353 + default: &354 value: total_count: 1 actions_caches: @@ -59588,7 +59818,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59608,23 +59838,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: - - *339 - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59644,8 +59874,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: - - *339 - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -59674,10 +59904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *46 + - *47 responses: '200': description: Response @@ -59726,7 +59956,7 @@ paths: group_url: https://api.github.com/repos/octocat/Hello-World/actions/concurrency_groups/ci-build last_acquired_at: '2026-01-15T16:13:55Z' headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -59758,8 +59988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *339 - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -59915,9 +60145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *339 - *340 - - &354 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -59929,7 +60159,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -60276,9 +60506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 responses: '302': description: Response @@ -60306,9 +60536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 requestBody: required: false content: @@ -60335,7 +60565,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -60359,8 +60589,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: - - *339 - *340 + - *341 responses: '200': description: Status response @@ -60419,8 +60649,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -60459,7 +60689,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -60488,8 +60718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -60507,7 +60737,7 @@ paths: type: integer secrets: type: array - items: &383 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60528,7 +60758,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &385 value: total_count: 2 secrets: @@ -60539,7 +60769,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60561,9 +60791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -60580,7 +60810,7 @@ paths: type: integer variables: type: array - items: &385 + items: &386 title: Actions Variable type: object properties: @@ -60614,7 +60844,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: total_count: 2 variables: @@ -60627,7 +60857,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60647,8 +60877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -60657,12 +60887,12 @@ paths: schema: type: object properties: - enabled: &356 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *140 - selected_actions_url: *355 - sha_pinning_required: *141 + allowed_actions: *141 + selected_actions_url: *356 + sha_pinning_required: *142 required: - enabled examples: @@ -60690,8 +60920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -60702,9 +60932,9 @@ paths: schema: type: object properties: - enabled: *356 - allowed_actions: *140 - sha_pinning_required: *141 + enabled: *357 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled examples: @@ -60734,14 +60964,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &357 + schema: &358 type: object properties: access_level: @@ -60758,7 +60988,7 @@ paths: required: - access_level examples: - default: &358 + default: &359 value: access_level: organization x-github: @@ -60782,15 +61012,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 responses: '204': description: Response @@ -60814,14 +61044,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -60845,8 +61075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -60856,7 +61086,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *361 examples: default: summary: Set retention days @@ -60880,16 +61110,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *361 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -60908,8 +61138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -60919,7 +61149,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -60943,16 +61173,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *143 + default: *144 '403': *27 '404': *6 x-github: @@ -60972,15 +61202,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *363 + schema: *364 examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -61004,16 +61234,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *145 + schema: *146 examples: - default: *146 + default: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61032,8 +61262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61041,9 +61271,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61065,16 +61295,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61095,8 +61325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Success response @@ -61107,9 +61337,9 @@ paths: required: true content: application/json: - schema: *365 + schema: *366 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61136,8 +61366,8 @@ paths: in: query schema: type: string - - *339 - *340 + - *341 - *17 - *19 responses: @@ -61155,11 +61385,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61181,8 +61411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -61190,9 +61420,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61214,8 +61444,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -61258,10 +61488,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *368 + '201': *369 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61289,16 +61519,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61326,16 +61556,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61357,17 +61587,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *371 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61388,9 +61618,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '204': description: Response @@ -61416,11 +61646,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *161 + '200': *162 '404': *6 x-github: githubCloudOnly: false @@ -61442,9 +61672,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -61468,7 +61698,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -61492,9 +61722,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -61519,7 +61749,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -61543,11 +61773,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *372 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -61574,12 +61804,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: - - *339 - *340 - - *156 - - *373 + - *341 + - *157 + - *374 responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -61605,9 +61835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *339 - *340 - - &389 + - *341 + - &390 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. @@ -61615,7 +61845,7 @@ paths: required: false schema: type: string - - &390 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61623,7 +61853,7 @@ paths: required: false schema: type: string - - &391 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61632,7 +61862,7 @@ paths: required: false schema: type: string - - &392 + - &393 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 @@ -61659,7 +61889,7 @@ paths: - pending - *17 - *19 - - &393 + - &394 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)." @@ -61668,7 +61898,7 @@ paths: schema: type: string format: date-time - - &374 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61677,13 +61907,13 @@ paths: schema: type: boolean default: false - - &394 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &395 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61706,7 +61936,7 @@ paths: type: integer workflow_runs: type: array - items: &375 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -61823,7 +62053,7 @@ paths: type: - array - 'null' - items: *85 + items: *86 created_at: type: string format: date-time @@ -61884,7 +62114,7 @@ paths: head_commit: anyOf: - type: 'null' - - &419 + - &420 title: Simple Commit description: A commit. type: object @@ -61958,8 +62188,8 @@ paths: - timestamp - author - committer - repository: *155 - head_repository: *155 + repository: *156 + head_repository: *156 head_repository_id: type: integer examples: @@ -61999,7 +62229,7 @@ paths: - workflow_url - pull_requests examples: - default: &396 + default: &397 value: total_count: 1 workflow_runs: @@ -62213,7 +62443,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62235,24 +62465,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *339 - *340 - - &376 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &379 + default: &380 value: id: 30433642 name: Build @@ -62493,9 +62723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response @@ -62518,9 +62748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -62648,15 +62878,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: - - *339 - *340 - - *376 + - *341 + - *377 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -62683,13 +62913,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - *19 - - *377 - - *60 + - *378 + - *61 responses: '200': description: Response @@ -62705,11 +62935,11 @@ paths: type: integer artifacts: type: array - items: *346 + items: *347 examples: - default: *378 + default: *379 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62731,25 +62961,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - &380 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62772,10 +63002,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -62793,9 +63023,9 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: &382 + default: &383 value: total_count: 1 jobs: @@ -62884,7 +63114,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -62908,10 +63138,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -62939,19 +63169,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62987,12 +63217,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -63141,7 +63371,7 @@ paths: job_url: https://api.github.com/repos/octocat/Hello-World/actions/jobs/798245260 job_html_url: https://github.com/octocat/Hello-World/actions/runs/30433642/job/798245260 headers: - Link: *66 + Link: *67 '404': *6 '422': *15 x-github: @@ -63166,9 +63396,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: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -63235,19 +63465,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63270,9 +63500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - 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 @@ -63302,11 +63532,11 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: *382 + default: *383 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63329,9 +63559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '302': description: Response @@ -63358,14 +63588,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63387,9 +63617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -63458,7 +63688,7 @@ paths: items: type: object properties: - type: &504 + type: &505 type: string description: The type of reviewer. enum: @@ -63469,7 +63699,7 @@ paths: reviewer: anyOf: - *4 - - *200 + - *201 required: - environment - wait_timer @@ -63544,9 +63774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -63596,7 +63826,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63708,7 +63938,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &501 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63764,9 +63994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -63788,7 +64018,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -63811,9 +64041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -63835,7 +64065,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -63867,9 +64097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -64006,8 +64236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -64025,11 +64255,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64052,16 +64282,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64083,17 +64313,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: &397 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64119,9 +64349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -64152,7 +64382,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64178,9 +64408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -64205,9 +64435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -64224,11 +64454,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64249,8 +64479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -64277,7 +64507,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64302,17 +64532,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &398 + default: &399 value: name: USERNAME value: octocat @@ -64338,9 +64568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -64382,9 +64612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -64409,8 +64639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -64428,7 +64658,7 @@ paths: type: integer workflows: type: array - items: &387 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -64523,7 +64753,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64546,9 +64776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *339 - *340 - - &388 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64563,7 +64793,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -64596,9 +64826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -64623,9 +64853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '200': description: Response including the workflow run ID and URLs. @@ -64705,9 +64935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -64734,19 +64964,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *339 - *340 - - *388 + - *341 - *389 - *390 - *391 - *392 + - *393 - *17 - *19 - - *393 - - *374 - *394 + - *375 - *395 + - *396 responses: '200': description: Response @@ -64762,11 +64992,11 @@ paths: type: integer workflow_runs: type: array - items: *375 + items: *376 examples: - default: *396 + default: *397 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64796,9 +65026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '200': description: Response @@ -64859,12 +65089,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *339 - *340 - - *60 + - *341 + - *61 - *17 - - *45 - *46 + - *47 - name: ref description: |- The Git reference for the activities you want to list. @@ -65009,7 +65239,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -65033,8 +65263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65052,11 +65282,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65078,9 +65308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -65097,11 +65327,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65124,8 +65354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65143,11 +65373,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65170,16 +65400,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65201,17 +65431,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65233,9 +65463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -65266,7 +65496,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65292,9 +65522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -65319,9 +65549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -65338,11 +65568,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65363,8 +65593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -65391,7 +65621,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65416,17 +65646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65447,9 +65677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -65491,9 +65721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -65514,8 +65744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65527,9 +65757,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -65552,8 +65782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *339 - *340 + - *341 - name: assignee in: path required: true @@ -65589,8 +65819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -65700,11 +65930,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *339 - *340 + - *341 - *17 - - *45 - *46 + - *47 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -65742,7 +65972,7 @@ paths: initiator: type: string examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65762,8 +65992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -65771,7 +66001,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -65830,8 +66060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -65870,9 +66100,9 @@ paths: description: response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: id: 1 key_prefix: TICKET- @@ -65903,9 +66133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *339 - *340 - - &402 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65917,9 +66147,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -65939,9 +66169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *339 - *340 - - *402 + - *341 + - *403 responses: '204': description: Response @@ -65965,8 +66195,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: - - *339 - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -66016,8 +66246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -66038,8 +66268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -66059,8 +66289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *339 - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66098,7 +66328,7 @@ paths: - url protected: type: boolean - protection: &404 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -66141,7 +66371,7 @@ paths: required: - contexts - checks - enforce_admins: &407 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66158,7 +66388,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &409 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66180,7 +66410,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *200 + items: *201 apps: description: The list of apps with review dismissal access. @@ -66212,7 +66442,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *200 + items: *201 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66242,7 +66472,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &406 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66305,7 +66535,7 @@ paths: type: string teams: type: array - items: *200 + items: *201 apps: type: array items: @@ -66517,7 +66747,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66535,9 +66765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *339 - *340 - - &405 + - *341 + - &406 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). @@ -66551,14 +66781,14 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &472 title: Commit description: Commit type: object @@ -66597,7 +66827,7 @@ paths: author: anyOf: - type: 'null' - - &403 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -66619,7 +66849,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 message: type: string examples: @@ -66643,7 +66873,7 @@ paths: required: - sha - url - verification: &522 + verification: &523 title: Verification type: object properties: @@ -66679,14 +66909,14 @@ paths: author: oneOf: - *4 - - *164 + - *165 type: - 'null' - object committer: oneOf: - *4 - - *164 + - *165 type: - 'null' - object @@ -66723,7 +66953,7 @@ paths: type: integer files: type: array - items: &482 + items: &483 title: Diff Entry description: Diff Entry type: object @@ -66819,7 +67049,7 @@ paths: - self protected: type: boolean - protection: *404 + protection: *405 protection_url: type: string format: uri @@ -66928,7 +67158,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *343 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -66950,15 +67180,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -67152,9 +67382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -67414,7 +67644,7 @@ paths: url: type: string format: uri - required_status_checks: &412 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -67495,7 +67725,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -67513,7 +67743,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -67573,7 +67803,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *406 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -67685,9 +67915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -67712,17 +67942,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &408 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67744,17 +67974,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67773,9 +68003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -67800,17 +68030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67906,9 +68136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68006,9 +68236,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -68029,9 +68259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68058,17 +68288,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &411 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68091,17 +68321,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *411 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -68121,9 +68351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68148,17 +68378,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: &413 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68184,9 +68414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68238,9 +68468,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *413 + default: *414 '404': *6 '422': *15 x-github: @@ -68262,9 +68492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68288,9 +68518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -68324,9 +68554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68393,9 +68623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68459,9 +68689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -68527,15 +68757,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -68626,9 +68856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68651,9 +68881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -68663,7 +68893,7 @@ paths: type: array items: *5 examples: - default: &414 + default: &415 value: - id: 1 slug: octoapp @@ -68720,9 +68950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -68756,7 +68986,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -68777,9 +69007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -68813,7 +69043,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -68834,9 +69064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -68870,7 +69100,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -68892,9 +69122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -68902,9 +69132,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -68924,9 +69154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -68962,9 +69192,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -68985,9 +69215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69023,9 +69253,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69046,9 +69276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -69083,9 +69313,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69107,9 +69337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69119,7 +69349,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -69143,9 +69373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69178,7 +69408,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69203,9 +69433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69238,7 +69468,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69263,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69298,7 +69528,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -69325,9 +69555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69349,7 +69579,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -69465,8 +69695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -69745,7 +69975,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69880,8 +70110,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *85 - deployment: &767 + items: *86 + deployment: &768 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70168,9 +70398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *339 - *340 - - &417 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -70182,9 +70412,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: &418 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70284,9 +70514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 requestBody: required: true content: @@ -70526,9 +70756,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70548,9 +70778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *339 - *340 - - *417 + - *341 + - *418 - *17 - *19 responses: @@ -70640,7 +70870,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70660,15 +70890,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -70706,8 +70936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -70729,7 +70959,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &420 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70811,12 +71041,12 @@ paths: type: - array - 'null' - items: *85 + items: *86 app: anyOf: - type: 'null' - *5 - repository: *155 + repository: *156 created_at: type: - string @@ -70827,7 +71057,7 @@ paths: - string - 'null' format: date-time - head_commit: *419 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -70855,7 +71085,7 @@ paths: - check_runs_url - pull_requests examples: - default: &421 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71146,9 +71376,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71167,8 +71397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -71229,7 +71459,7 @@ paths: required: - app_id - setting - repository: *155 + repository: *156 examples: default: value: @@ -71477,9 +71707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *339 - *340 - - &422 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71491,9 +71721,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71516,17 +71746,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *339 - *340 - - *422 - - &477 + - *341 + - *423 + - &478 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &478 + - &479 name: status description: Returns check runs with the specified `status`. in: query @@ -71565,9 +71795,9 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: &479 + default: &480 value: total_count: 1 check_runs: @@ -71649,7 +71879,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71669,15 +71899,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *339 - *340 - - *422 + - *341 + - *423 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -71700,12 +71930,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *60 - - *45 + - *61 - *46 + - *47 - name: state description: If specified, only code quality findings with this state will be returned. @@ -71723,7 +71953,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 description: Code quality finding type: object properties: @@ -71853,14 +72083,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &424 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71880,8 +72110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *339 - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -71893,7 +72123,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -71922,9 +72152,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71944,8 +72174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -72017,9 +72247,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72038,8 +72268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -72102,7 +72332,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -72145,7 +72375,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72169,30 +72399,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - &443 + - &444 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: *427 - - &444 + schema: *428 + - &445 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *60 - - *45 + - *61 - *46 + - *47 - name: sort description: The property by which to sort the results. in: query @@ -72208,13 +72438,13 @@ paths: be returned. in: query required: false - schema: *428 + schema: *429 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *429 + schema: *430 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72233,24 +72463,24 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 - rule: *433 - tool: *434 - most_recent_instance: *435 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 + rule: *434 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -72372,15 +72602,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *35 - '403': &436 + '304': *36 + '403': &437 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72400,9 +72630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *339 - *340 - - &437 + - *341 + - &438 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72410,30 +72640,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: &438 + schema: &439 type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 rule: type: object properties: @@ -72495,8 +72725,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *434 - most_recent_instance: *435 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -72591,10 +72821,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *35 - '403': *436 + '304': *36 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72612,9 +72842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -72629,8 +72859,8 @@ paths: enum: - open - dismissed - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_reason: *432 + dismissed_comment: *433 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -72658,7 +72888,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: default: value: @@ -72734,14 +72964,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 + '403': &443 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72761,15 +72991,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: Response content: application/json: - schema: &439 + schema: &440 type: object properties: status: @@ -72796,13 +73026,13 @@ paths: - description - started_at examples: - default: &440 + default: &441 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &442 description: Bad Request content: application/json: @@ -72813,9 +73043,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *437 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72838,29 +73068,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: OK content: application/json: - schema: *439 + schema: *440 examples: - default: *440 + default: *441 '202': description: Accepted content: application/json: - schema: *439 + schema: *440 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *442 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72870,7 +73100,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72892,9 +73122,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: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: false content: @@ -72940,12 +73170,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *442 + '403': *443 '404': *6 '422': description: Unprocessable Entity - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72965,13 +73195,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 - - *443 - *444 + - *445 responses: '200': description: Response @@ -72982,10 +73212,10 @@ paths: items: type: object properties: - ref: *427 - analysis_key: *445 - environment: *446 - category: *447 + ref: *428 + analysis_key: *446 + environment: *447 + category: *448 state: type: - string @@ -73002,7 +73232,7 @@ paths: properties: text: type: string - location: *448 + location: *449 html_url: type: string classifications: @@ -73010,7 +73240,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *450 examples: default: value: @@ -73047,9 +73277,9 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73081,30 +73311,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - *444 + - *445 - 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: *427 + schema: *428 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &451 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *60 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -73121,23 +73351,23 @@ paths: application/json: schema: type: array - items: &451 + items: &452 type: object properties: - ref: *427 - commit_sha: &459 + ref: *428 + commit_sha: &460 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *446 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *448 error: type: string examples: @@ -73162,8 +73392,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *434 + sarif_id: *451 + tool: *435 deletable: type: boolean warning: @@ -73225,9 +73455,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73261,8 +73491,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73275,7 +73505,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: response: summary: application/json response @@ -73329,14 +73559,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *437 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73416,8 +73646,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73473,9 +73703,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73495,8 +73725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -73504,7 +73734,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: CodeQL Database description: A CodeQL database. type: object @@ -73616,9 +73846,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73645,8 +73875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -73658,7 +73888,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -73690,11 +73920,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &486 + '302': &487 description: Found - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73714,8 +73944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -73725,9 +73955,9 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73753,8 +73983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -73763,7 +73993,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &454 type: string description: The language targeted by the CodeQL query enum: @@ -73843,7 +74073,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &458 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73851,9 +74081,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *65 + controller_repo: *66 actor: *4 - query_language: *453 + query_language: *454 query_pack_url: type: string description: The download url for the query pack. @@ -73901,7 +74131,7 @@ paths: items: type: object properties: - repository: &454 + repository: &455 title: Repository Identifier description: Repository Identifier type: object @@ -73943,7 +74173,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &459 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73975,7 +74205,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &456 type: object properties: repository_count: @@ -73990,7 +74220,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: *454 + items: *455 required: - repository_count - repositories @@ -74013,8 +74243,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *456 + over_limit_repos: *456 required: - access_mismatch_repos - not_found_repos @@ -74030,7 +74260,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &457 summary: Default response value: id: 1 @@ -74176,17 +74406,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *457 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *457 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74207,8 +74437,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: - - *339 - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74220,11 +74450,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *456 + default: *457 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74245,7 +74475,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: - - *339 + - *340 - name: repo in: path description: The name of the controller repository. @@ -74279,8 +74509,8 @@ paths: schema: type: object properties: - repository: *65 - analysis_status: *458 + repository: *66 + analysis_status: *459 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74384,7 +74614,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74405,8 +74635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -74497,9 +74727,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74518,8 +74748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -74588,7 +74818,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -74613,7 +74843,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -74627,7 +74857,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74684,8 +74914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -74693,7 +74923,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *460 ref: type: string description: |- @@ -74753,7 +74983,7 @@ paths: schema: type: object properties: - id: *450 + id: *451 url: type: string description: The REST API URL for checking the status of the upload. @@ -74767,11 +74997,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74790,8 +75020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *339 - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74839,10 +75069,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *437 '404': description: Not Found if the sarif id does not match any upload - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74864,8 +75094,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -74889,7 +75119,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *47 + configuration: *48 examples: default: value: @@ -74921,8 +75151,8 @@ 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': *59 - '304': *35 + '204': *58 + '304': *36 '403': *27 '404': *6 x-github: @@ -74946,8 +75176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *339 - *340 + - *341 - 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 @@ -75075,8 +75305,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -75092,7 +75322,7 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: default: value: @@ -75368,7 +75598,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -75390,8 +75620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75455,22 +75685,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75494,8 +75724,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -75535,7 +75765,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *53 + '500': *54 '400': *14 '401': *23 '403': *27 @@ -75559,8 +75789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *339 - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -75597,9 +75827,9 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: &709 + default: &710 value: total_count: 2 machines: @@ -75615,8 +75845,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -75639,8 +75869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *339 - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75727,8 +75957,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: - - *339 - *340 + - *341 - 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 @@ -75776,7 +76006,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75797,8 +76027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -75816,7 +76046,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &466 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75837,9 +76067,9 @@ paths: - created_at - updated_at examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75860,16 +76090,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75889,17 +76119,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75919,9 +76149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -75949,7 +76179,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -75973,9 +76203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -76003,8 +76233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *339 - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76042,7 +76272,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Collaborator description: Collaborator type: object @@ -76210,7 +76440,7 @@ paths: admin: false role_name: write headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -76235,9 +76465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: Response if user is a collaborator @@ -76283,9 +76513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 requestBody: required: false content: @@ -76311,7 +76541,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &536 + schema: &537 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -76323,7 +76553,7 @@ paths: format: int64 examples: - 42 - repository: *155 + repository: *156 invitee: anyOf: - type: 'null' @@ -76499,7 +76729,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *125 '403': *27 x-github: triggersNotification: true @@ -76539,9 +76769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -76572,9 +76802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '200': description: if user has admin permissions @@ -76594,7 +76824,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *468 required: - permission - role_name @@ -76648,8 +76878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -76659,7 +76889,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Commit Comment description: Commit Comment type: object @@ -76700,8 +76930,8 @@ paths: updated_at: type: string format: date-time - author_association: *79 - reactions: *80 + author_association: *80 + reactions: *81 required: - url - html_url @@ -76717,7 +76947,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &474 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76751,7 +76981,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76776,17 +77006,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &474 + default: &475 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76843,9 +77073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -76867,7 +77097,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -76918,9 +77148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -76941,9 +77171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -76969,7 +77199,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77039,7 +77269,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -77058,9 +77288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -77092,9 +77322,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77123,9 +77353,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -77147,9 +77377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - &541 name: reaction_id description: The unique identifier of the reaction. @@ -77205,8 +77435,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *339 - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77262,9 +77492,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: &602 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77334,11 +77564,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '400': *14 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77358,9 +77588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *339 - *340 - - &472 + - *341 + - &473 name: commit_sha description: The SHA of the commit. in: path @@ -77407,7 +77637,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77432,9 +77662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -77444,11 +77674,11 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: - default: *473 + default: *474 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77474,9 +77704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *339 - *340 - - *472 + - *341 + - *473 requestBody: required: true content: @@ -77511,9 +77741,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *474 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77541,9 +77771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -77553,7 +77783,7 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: &594 value: @@ -78034,8 +78264,8 @@ paths: auto_merge: draft: false headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78092,11 +78322,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *339 - *340 + - *341 - *19 - *17 - - &476 + - &477 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)" @@ -78111,7 +78341,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: &582 value: @@ -78201,7 +78431,7 @@ paths: schema: type: string examples: - default: &483 + default: &484 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78214,7 +78444,7 @@ paths: schema: type: string examples: - default: &484 + default: &485 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78240,9 +78470,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *53 - '503': *114 - '409': *52 + '500': *54 + '503': *115 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78267,11 +78497,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 - *477 - *478 + - *479 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78305,11 +78535,11 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: *479 + default: *480 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78332,9 +78562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78342,7 +78572,7 @@ paths: schema: type: integer example: 1 - - *477 + - *478 - *17 - *19 responses: @@ -78360,7 +78590,7 @@ paths: type: integer check_suites: type: array - items: *420 + items: *421 examples: default: value: @@ -78535,7 +78765,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78560,9 +78790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -78633,7 +78863,7 @@ paths: type: string total_count: type: integer - repository: *155 + repository: *156 commit_url: type: string format: uri @@ -78764,9 +78994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -78776,7 +79006,7 @@ paths: application/json: schema: type: array - items: &688 + items: &689 title: Status description: The status of a commit. type: object @@ -78856,8 +79086,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78885,8 +79115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -78919,11 +79149,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *480 + - *481 code_of_conduct_file: anyOf: - type: 'null' - - &481 + - &482 title: Community Health File type: object properties: @@ -78939,23 +79169,23 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 contributing: anyOf: - type: 'null' - - *481 + - *482 readme: anyOf: - type: 'null' - - *481 + - *482 issue_template: anyOf: - type: 'null' - - *481 + - *482 pull_request_template: anyOf: - type: 'null' - - *481 + - *482 required: - code_of_conduct - code_of_conduct_file @@ -79084,8 +79314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *339 - *340 + - *341 - *19 - *17 - name: basehead @@ -79133,8 +79363,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *472 + merge_base_commit: *472 status: type: string enum: @@ -79158,10 +79388,10 @@ paths: - 6 commits: type: array - items: *471 + items: *472 files: type: array - items: *482 + items: *483 required: - url - html_url @@ -79407,15 +79637,15 @@ paths: schema: type: string examples: - default: *483 + default: *484 application/vnd.github.patch: schema: type: string examples: - default: *484 + default: *485 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79457,8 +79687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -79628,7 +79858,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &485 + response-if-content-is-a-file-github-object: &486 summary: Response if content is a file value: type: file @@ -79765,7 +79995,7 @@ paths: - size - type - url - - &607 + - &608 title: Content File description: Content File type: object @@ -79983,7 +80213,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *485 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80052,8 +80282,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *486 - '304': *35 + '302': *487 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80075,8 +80305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80171,7 +80401,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: File Commit description: File Commit type: object @@ -80327,7 +80557,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: example-for-creating-a-file: value: @@ -80381,7 +80611,7 @@ paths: schema: oneOf: - *3 - - &517 + - &518 description: Repository rule violation was detected type: object properties: @@ -80402,7 +80632,7 @@ paths: items: type: object properties: - placeholder_id: &680 + placeholder_id: &681 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80434,8 +80664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80496,7 +80726,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -80530,8 +80760,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *52 - '503': *114 + '409': *53 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80551,8 +80781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *339 - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -80653,7 +80883,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *66 + Link: *67 '204': description: Response if repository is empty '403': *27 @@ -80682,8 +80912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -80794,7 +81024,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -80816,27 +81046,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *339 - *340 - - *202 + - *341 - *203 - *204 - *205 - *206 + - *207 - 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 - - *207 - - *488 - *208 + - *489 - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -80845,11 +81075,11 @@ paths: application/json: schema: type: array - items: &492 + items: &493 type: object description: A Dependabot alert. properties: - number: *180 + number: *181 state: type: string description: The state of the Dependabot alert. @@ -80864,7 +81094,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *61 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -80896,13 +81126,13 @@ paths: - transitive - inconclusive - - security_advisory: *489 - security_vulnerability: *64 - url: *183 - html_url: *184 - created_at: *181 - updated_at: *182 - dismissed_at: *186 + security_advisory: *490 + security_vulnerability: *65 + url: *184 + html_url: *185 + created_at: *182 + updated_at: *183 + dismissed_at: *187 dismissed_by: anyOf: - type: 'null' @@ -80926,9 +81156,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *185 - auto_dismissed_at: *490 - dismissal_request: *491 + fixed_at: *186 + auto_dismissed_at: *491 + dismissal_request: *492 assignees: type: array description: The users assigned to this alert. @@ -81159,7 +81389,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *35 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -81183,9 +81413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *339 - *340 - - &493 + - *341 + - &494 name: alert_number in: path description: |- @@ -81194,13 +81424,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -81310,7 +81540,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *35 + '304': *36 '403': *27 '404': *6 x-github: @@ -81332,9 +81562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *339 - *340 - - *493 + - *341 + - *494 requestBody: required: true content: @@ -81407,7 +81637,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -81514,7 +81744,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *7 x-github: githubCloudOnly: false @@ -81537,8 +81767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -81556,7 +81786,7 @@ paths: type: integer secrets: type: array - items: &496 + items: &497 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81588,7 +81818,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81610,16 +81840,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81639,15 +81869,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -81673,9 +81903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -81703,7 +81933,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -81727,9 +81957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -81751,8 +81981,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: - - *339 - *340 + - *341 - 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 @@ -81902,7 +82132,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *66 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -81911,8 +82141,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false category: dependency-graph @@ -81929,8 +82159,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -82167,7 +82397,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *66 + Link: *67 '404': *6 '403': *27 x-github: @@ -82189,8 +82419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 - name: sbom_uuid in: path required: true @@ -82201,7 +82431,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *497 + Location: *498 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82222,8 +82452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -82261,8 +82491,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -82345,7 +82575,7 @@ paths: - version - url additionalProperties: false - metadata: &498 + metadata: &499 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82384,7 +82614,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *498 + metadata: *499 resolved: type: object description: A collection of resolved package dependencies. @@ -82398,7 +82628,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *498 + metadata: *499 relationship: type: string description: A notation of whether a dependency is requested @@ -82531,8 +82761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *339 - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -82573,11 +82803,11 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: *500 + default: *501 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82641,8 +82871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -82724,7 +82954,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: simple-example: summary: Simple example @@ -82797,9 +83027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *339 - *340 - - &501 + - *341 + - &502 name: deployment_id description: deployment_id parameter in: path @@ -82811,7 +83041,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -82876,9 +83106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *339 - *340 - - *501 + - *341 + - *502 responses: '204': description: Response @@ -82900,9 +83130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *339 - *340 - - *501 + - *341 + - *502 - *17 - *19 responses: @@ -82912,7 +83142,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Deployment Status description: The status of a deployment. type: object @@ -83056,7 +83286,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -83076,9 +83306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 requestBody: required: true content: @@ -83153,9 +83383,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &503 + default: &504 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83211,9 +83441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 - name: status_id in: path required: true @@ -83224,9 +83454,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *503 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -83251,8 +83481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -83309,8 +83539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -83328,7 +83558,7 @@ paths: - 5 environments: type: array - items: &505 + items: &506 title: Environment description: Details of a deployment environment type: object @@ -83390,7 +83620,7 @@ paths: type: string examples: - wait_timer - wait_timer: &507 + wait_timer: &508 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -83432,11 +83662,11 @@ paths: items: type: object properties: - type: *504 + type: *505 reviewer: anyOf: - *4 - - *200 + - *201 required: - id - node_id @@ -83459,7 +83689,7 @@ paths: - id - node_id - type - deployment_branch_policy: &508 + deployment_branch_policy: &509 type: - object - 'null' @@ -83576,9 +83806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *339 - *340 - - &506 + - *341 + - &507 name: environment_name in: path required: true @@ -83591,9 +83821,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -83677,9 +83907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: false content: @@ -83689,7 +83919,7 @@ paths: - object - 'null' properties: - wait_timer: *507 + wait_timer: *508 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -83708,14 +83938,14 @@ paths: items: type: object properties: - type: *504 + type: *505 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *508 + deployment_branch_policy: *509 additionalProperties: false examples: default: @@ -83735,9 +83965,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -83761,9 +83991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '204': description: Default response @@ -83788,9 +84018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -83809,7 +84039,7 @@ paths: - 2 branch_policies: type: array - items: &510 + items: &511 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83870,9 +84100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -83920,9 +84150,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - example-wildcard: &511 + example-wildcard: &512 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83964,10 +84194,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - &512 + - *341 + - *507 + - &513 name: branch_policy_id in: path required: true @@ -83979,9 +84209,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84000,10 +84230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 requestBody: required: true content: @@ -84032,9 +84262,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84053,10 +84283,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 responses: '204': description: Response @@ -84081,9 +84311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 responses: '200': description: List of deployment protection rules @@ -84100,7 +84330,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &513 + items: &514 title: Deployment protection rule description: Deployment protection rule type: object @@ -84122,7 +84352,7 @@ paths: for the environment. examples: - true - app: &514 + app: &515 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84225,9 +84455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 requestBody: content: application/json: @@ -84248,9 +84478,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *513 + schema: *514 examples: - default: &515 + default: &516 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84285,9 +84515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - *19 - *17 responses: @@ -84307,7 +84537,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *514 + items: *515 examples: default: value: @@ -84342,10 +84572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *339 - *340 - - *506 - - &516 + - *341 + - *507 + - &517 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84357,9 +84587,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84380,10 +84610,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - - *516 + - *517 responses: '204': description: Response @@ -84409,9 +84639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -84429,11 +84659,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84456,17 +84686,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84488,18 +84718,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84521,10 +84751,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 requestBody: required: true content: @@ -84555,7 +84785,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -84581,10 +84811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '204': description: Default response @@ -84609,10 +84839,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *339 - *340 - - *506 - - *172 + - *341 + - *507 + - *173 - *19 responses: '200': @@ -84629,11 +84859,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84654,9 +84884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -84683,7 +84913,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -84708,18 +84938,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *339 - *340 - - *506 - - *166 + - *341 + - *507 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84740,10 +84970,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 requestBody: required: true content: @@ -84785,10 +85015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 responses: '204': description: Response @@ -84810,8 +85040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -84821,7 +85051,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -84879,8 +85109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *339 - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84902,7 +85132,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -85015,7 +85245,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *66 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -85039,8 +85269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -85073,9 +85303,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -85096,8 +85326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -85148,7 +85378,7 @@ paths: schema: type: string '404': *6 - '409': *52 + '409': *53 '403': *27 '422': description: Validation failed @@ -85156,8 +85386,8 @@ paths: application/json: schema: oneOf: - - *124 - - *517 + - *125 + - *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85182,8 +85412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *339 - *340 + - *341 - name: file_sha in: path required: true @@ -85235,7 +85465,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85283,8 +85513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -85393,7 +85623,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &519 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85570,7 +85800,7 @@ paths: type: string '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85620,15 +85850,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *339 - *340 - - *472 + - *341 + - *473 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -85659,7 +85889,7 @@ paths: payload: verified_at: '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85684,9 +85914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *339 - *340 - - &519 + - *341 + - &520 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. @@ -85703,7 +85933,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Git Reference description: Git references within a repository type: object @@ -85757,8 +85987,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85779,17 +86009,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85799,7 +86029,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85818,8 +86048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -85848,16 +86078,16 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85876,9 +86106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 requestBody: required: true content: @@ -85907,11 +86137,11 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85927,16 +86157,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85984,8 +86214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86052,7 +86282,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &524 title: Git Tag description: Metadata for a Git tag type: object @@ -86108,7 +86338,7 @@ paths: - sha - type - url - verification: *522 + verification: *523 required: - sha - url @@ -86118,7 +86348,7 @@ paths: - tag - message examples: - default: &524 + default: &525 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86145,7 +86375,7 @@ paths: schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86191,8 +86421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *339 - *340 + - *341 - name: tag_sha in: path required: true @@ -86203,11 +86433,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: - default: *524 + default: *525 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86229,8 +86459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86304,7 +86534,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &526 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86383,7 +86613,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86406,8 +86636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *339 - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86430,7 +86660,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default-response: summary: Default response @@ -86471,7 +86701,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86488,8 +86718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -86533,8 +86763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -86544,7 +86774,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 title: Webhook description: Webhooks for repositories. type: object @@ -86607,7 +86837,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &799 title: Hook Response type: object properties: @@ -86665,7 +86895,7 @@ paths: status: unused message: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -86684,8 +86914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -86738,9 +86968,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: type: Repository id: 12345678 @@ -86788,17 +87018,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -86818,9 +87048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: true content: @@ -86865,9 +87095,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '422': *15 '404': *6 x-github: @@ -86888,9 +87118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -86914,9 +87144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response @@ -86943,9 +87173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: false content: @@ -86989,12 +87219,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *339 - *340 - - *218 - - *17 + - *341 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -87002,9 +87232,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -87023,18 +87253,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -87053,12 +87283,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -87078,9 +87308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -87105,9 +87335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -87130,8 +87360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -87179,11 +87409,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87200,11 +87430,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87258,14 +87488,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &528 + schema: &529 title: Import description: A repository import from an external source. type: object @@ -87372,7 +87602,7 @@ paths: - html_url - authors_url examples: - default: &531 + default: &532 value: vcs: subversion use_lfs: true @@ -87388,7 +87618,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &529 + '503': &530 description: Unavailable due to service under maintenance. content: application/json: @@ -87417,8 +87647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -87466,7 +87696,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -87491,7 +87721,7 @@ paths: type: string '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87519,8 +87749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -87572,7 +87802,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: example-1: summary: Example 1 @@ -87620,7 +87850,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87643,12 +87873,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *339 - *340 + - *341 responses: '204': description: Response - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87674,9 +87904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *339 - *340 - - &732 + - *341 + - &733 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87690,7 +87920,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Porter Author description: Porter Author type: object @@ -87744,7 +87974,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87769,8 +87999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *339 - *340 + - *341 - name: author_id in: path required: true @@ -87800,7 +88030,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -87813,7 +88043,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87837,8 +88067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -87879,7 +88109,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87907,8 +88137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -87935,11 +88165,11 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *531 + default: *532 '422': *15 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87962,8 +88192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -87971,8 +88201,8 @@ paths: application/json: schema: *20 examples: - default: *532 - '301': *343 + default: *533 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -87992,8 +88222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88001,12 +88231,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &534 + default: &535 value: limit: collaborators_only origin: repository @@ -88031,13 +88261,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *533 + schema: *534 examples: default: summary: Example request body @@ -88049,9 +88279,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *534 + default: *535 '409': description: Response x-github: @@ -88073,8 +88303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -88101,8 +88331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88156,13 +88386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: &535 + schema: &536 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -88212,13 +88442,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *535 + schema: *536 examples: default: summary: Example request body @@ -88251,8 +88481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88305,8 +88535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -88382,8 +88612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -88393,9 +88623,9 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: &724 + default: &725 value: - id: 1 repository: @@ -88509,7 +88739,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88526,9 +88756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 requestBody: required: false content: @@ -88557,7 +88787,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -88688,9 +88918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 responses: '204': description: Response @@ -88713,8 +88943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -88722,9 +88952,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: *537 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -88753,8 +88983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *339 - *340 + - *341 - 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 @@ -88816,7 +89046,7 @@ paths: required: false schema: type: string - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -88828,8 +89058,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -88839,7 +89069,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &548 value: @@ -88989,8 +89219,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '422': *15 '404': *6 x-github: @@ -89019,8 +89249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -89127,7 +89357,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &545 value: @@ -89265,9 +89495,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *114 + '503': *115 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -89295,9 +89525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *339 - *340 - - *104 + - *341 + - *105 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89307,7 +89537,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -89317,7 +89547,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: &547 value: @@ -89351,7 +89581,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *66 + Link: *67 '422': *15 '404': *6 x-github: @@ -89378,15 +89608,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: &539 value: @@ -89444,9 +89674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -89468,7 +89698,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 '422': *15 @@ -89488,9 +89718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -89518,15 +89748,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: value: @@ -89582,7 +89812,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -89599,17 +89829,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *538 - '503': *114 + '410': *31 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89626,9 +89856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -89654,11 +89884,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -89677,9 +89907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -89711,16 +89941,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -89742,9 +89972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -89765,8 +89995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -89823,7 +90053,7 @@ paths: issue: anyOf: - type: 'null' - - *82 + - *83 label: title: Issue Event Label description: Issue Event Label @@ -89856,7 +90086,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *200 + requested_team: *201 dismissed_review: title: Issue Event Dismissed Review type: object @@ -89981,7 +90211,7 @@ paths: - string - 'null' description: The reason for the referenced issue's state. - repository: *65 + repository: *66 issue_type: title: Issue Type description: The type of the referenced issue. @@ -90025,7 +90255,7 @@ paths: anyOf: - type: 'null' - *543 - author_association: *79 + author_association: *80 lock_reason: type: - string @@ -90200,7 +90430,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -90218,8 +90448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *339 - *340 + - *341 - name: event_id in: path required: true @@ -90423,7 +90653,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *538 + '410': *31 '403': *27 x-github: githubCloudOnly: false @@ -90457,8 +90687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *339 - *340 + - *341 - &546 name: issue_number description: The number that identifies the issue. @@ -90471,7 +90701,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: summary: Issue @@ -90655,10 +90885,10 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *343 + '301': *344 '404': *6 - '410': *538 - '304': *35 + '410': *31 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90682,8 +90912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -90834,17 +91064,17 @@ paths: application/json: schema: allOf: - - *82 + - *83 - type: object properties: {} examples: default: *545 '422': *15 - '503': *114 + '503': *115 '403': *27 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90862,8 +91092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -90890,7 +91120,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -90908,8 +91138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: content: @@ -90935,7 +91165,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -90959,8 +91189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *339 - *340 + - *341 - *546 - name: assignee in: path @@ -91001,10 +91231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *339 - *340 + - *341 - *546 - - *87 + - *88 - *17 - *19 responses: @@ -91014,13 +91244,13 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: *547 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91049,8 +91279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -91073,7 +91303,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 headers: @@ -91082,7 +91312,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -91110,8 +91340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -91122,14 +91352,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91157,8 +91387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -91181,7 +91411,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -91189,9 +91419,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *343 + '301': *344 '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -91222,8 +91452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - name: issue_id in: path @@ -91236,15 +91466,15 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -91270,8 +91500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -91282,14 +91512,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91306,8 +91536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -91669,7 +91899,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -91711,7 +91941,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -92566,8 +92796,8 @@ paths: name: label color: red headers: - Link: *66 - '410': *538 + Link: *67 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92584,8 +92814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92637,10 +92867,10 @@ paths: name: Backend color: green headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92669,8 +92899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -92750,7 +92980,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -92781,8 +93011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -92857,7 +93087,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -92883,17 +93113,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - - *244 + - *245 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -92911,8 +93141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92923,7 +93153,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &551 value: @@ -92942,10 +93172,10 @@ paths: color: a2eeef default: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92961,8 +93191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93006,12 +93236,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -93028,8 +93258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93090,12 +93320,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -93112,15 +93342,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': description: Response - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93139,8 +93369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: name in: path @@ -93154,7 +93384,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: value: @@ -93165,9 +93395,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93187,8 +93417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -93218,7 +93448,7 @@ paths: '204': description: Response '403': *27 - '410': *538 + '410': *31 '404': *6 '422': *15 x-github: @@ -93236,8 +93466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': @@ -93268,20 +93498,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *339 - *340 + - *341 - *546 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93298,8 +93528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -93326,13 +93556,13 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93350,8 +93580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93384,16 +93614,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -93415,8 +93645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *339 - *340 + - *341 - *546 - *541 responses: @@ -93447,8 +93677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93471,7 +93701,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -93506,8 +93736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -93518,13 +93748,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93552,8 +93782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93581,7 +93811,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -93590,7 +93820,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -93610,8 +93840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93643,13 +93873,13 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 '403': *27 '404': *6 '422': *7 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -93667,8 +93897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -93744,12 +93974,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -93788,7 +94018,7 @@ paths: properties: type: type: string - issue: *82 + issue: *83 required: - event - created_at @@ -94010,7 +94240,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - event - id @@ -94033,7 +94263,7 @@ paths: type: string comments: type: array - items: &596 + items: &597 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94141,7 +94371,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: @@ -94236,7 +94466,7 @@ paths: enum: - line - file - reactions: *80 + reactions: *81 body_html: type: string examples: @@ -94274,7 +94504,7 @@ paths: type: string comments: type: array - items: *468 + items: *469 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94558,10 +94788,10 @@ paths: type: User site_admin: true headers: - Link: *66 + Link: *67 '404': *6 '400': *14 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94578,8 +94808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -94641,7 +94871,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94657,8 +94887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -94730,8 +94960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *339 - *340 + - *341 - &580 name: key_id description: The unique identifier of the key. @@ -94764,8 +94994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *339 - *340 + - *341 - *580 responses: '204': @@ -94786,8 +95016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -94797,11 +95027,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -94820,8 +95050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -94857,7 +95087,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &581 value: @@ -94891,8 +95121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -94903,7 +95133,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *581 '404': *6 @@ -94922,8 +95152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -94962,7 +95192,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: value: @@ -94988,8 +95218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -95015,8 +95245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -95055,9 +95285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *339 - *340 - - *443 + - *341 + - *444 responses: '200': description: Response @@ -95123,7 +95353,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 required: - _links - git_url @@ -95204,8 +95434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95270,8 +95500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95305,7 +95535,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *472 examples: default: *582 '204': @@ -95332,8 +95562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *339 - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95374,7 +95604,7 @@ paths: application/json: schema: type: array - items: *281 + items: *282 examples: default: value: @@ -95413,7 +95643,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -95430,8 +95660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95471,7 +95701,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: &583 value: @@ -95532,8 +95762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *339 - *340 + - *341 - &584 name: milestone_number description: The number that identifies the milestone. @@ -95546,7 +95776,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 '404': *6 @@ -95565,8 +95795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *339 - *340 + - *341 - *584 requestBody: required: false @@ -95605,7 +95835,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 x-github: @@ -95623,8 +95853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *339 - *340 + - *341 - *584 responses: '204': @@ -95646,8 +95876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *339 - *340 + - *341 - *584 - *17 - *19 @@ -95658,11 +95888,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95679,11 +95909,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *339 - *340 + - *341 - *585 - *586 - - *87 + - *88 - *587 - *17 - *19 @@ -95694,11 +95924,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: default: *588 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95720,8 +95950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -95779,8 +96009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -95971,8 +96201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96031,7 +96261,7 @@ paths: examples: default: *590 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96052,8 +96282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96132,7 +96362,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96153,14 +96383,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '204': description: Response '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96180,8 +96410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -96264,7 +96494,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96283,8 +96513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -96331,8 +96561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -96388,8 +96618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *339 - *340 + - *341 - name: build_id in: path required: true @@ -96422,8 +96652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96531,8 +96761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -96591,11 +96821,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - *593 responses: - '204': *59 + '204': *58 '404': *6 x-github: githubCloudOnly: false @@ -96620,8 +96850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -96889,7 +97119,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -96916,8 +97146,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: - - *339 - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -96954,10 +97184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -96976,10 +97206,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -96999,8 +97229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -97008,7 +97238,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -97039,8 +97269,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97052,7 +97282,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - properties examples: @@ -97102,8 +97332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *339 - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -97163,12 +97393,12 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: *594 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '422': *15 x-github: githubCloudOnly: false @@ -97197,8 +97427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97265,7 +97495,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &599 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97394,7 +97624,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -97433,7 +97663,7 @@ paths: items: *4 requested_teams: type: array - items: *260 + items: *261 head: type: object properties: @@ -97441,7 +97671,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -97458,7 +97688,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -97471,14 +97701,14 @@ paths: _links: type: object properties: - comments: *282 - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -97488,8 +97718,9 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: *595 + stack: *596 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97589,7 +97820,7 @@ paths: - merged_by - review_comments examples: - default: &599 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -98096,8 +98327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *339 - *340 + - *341 - name: sort in: query required: false @@ -98116,7 +98347,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -98126,9 +98357,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98180,7 +98411,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98205,17 +98436,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &597 + default: &598 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98290,9 +98521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -98314,9 +98545,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98332,9 +98563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -98355,9 +98586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -98383,11 +98614,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -98406,9 +98637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -98440,16 +98671,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -98471,9 +98702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -98517,9 +98748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *339 - *340 - - &600 + - *341 + - &601 name: pull_number description: The number that identifies the pull request. in: path @@ -98532,18 +98763,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *598 + schema: *599 examples: - default: *599 - '304': *35 + default: *600 + '304': *36 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98569,9 +98800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -98613,9 +98844,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 '422': *15 '403': *27 x-github: @@ -98637,9 +98868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -98700,21 +98931,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98740,10 +98971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *339 - *340 - - *600 - - *104 + - *341 + - *601 + - *105 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98753,7 +98984,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -98763,11 +98994,11 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *601 + default: *602 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98798,9 +99029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -98906,7 +99137,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: example-for-a-multi-line-comment: value: @@ -98994,10 +99225,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *339 - *340 - - *600 - - *96 + - *341 + - *601 + - *97 requestBody: required: true content: @@ -99019,7 +99250,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: default: value: @@ -99105,9 +99336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -99117,11 +99348,11 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: *602 + default: *603 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99149,9 +99380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -99161,7 +99392,7 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: default: value: @@ -99177,10 +99408,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *66 + Link: *67 '422': *15 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99199,9 +99430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '204': description: Response if pull request has been merged @@ -99224,9 +99455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99338,9 +99569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '200': description: Response @@ -99356,7 +99587,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 required: - users - teams @@ -99397,7 +99628,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99415,9 +99646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99454,7 +99685,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -99990,9 +100221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -100026,7 +100257,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -100511,9 +100742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -100523,7 +100754,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100597,7 +100828,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - id - node_id @@ -100646,7 +100877,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100679,9 +100910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -100771,9 +101002,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &605 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100836,10 +101067,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - &604 + - *341 + - *601 + - &605 name: review_id description: The unique identifier of the review. in: path @@ -100851,9 +101082,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &606 + default: &607 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100912,10 +101143,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -100938,7 +101169,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -101000,18 +101231,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 responses: '200': description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *605 + default: *606 '422': *7 '404': *6 x-github: @@ -101038,10 +101269,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 - *17 - *19 responses: @@ -101135,13 +101366,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: - self: *282 - html: *282 - pull_request: *282 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -101150,7 +101381,7 @@ paths: type: string body_html: type: string - reactions: *80 + reactions: *81 side: description: The side of the first line of the range for a multi-line comment. @@ -101270,7 +101501,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -101299,10 +101530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -101331,7 +101562,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -101394,10 +101625,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -101432,9 +101663,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *606 + default: *607 '404': *6 '422': *7 '403': *27 @@ -101456,9 +101687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -101522,8 +101753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *339 - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101536,9 +101767,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &608 + default: &609 value: type: file encoding: base64 @@ -101555,7 +101786,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - '304': *35 + '304': *36 '404': *6 '422': *15 x-github: @@ -101580,8 +101811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *339 - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -101601,9 +101832,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *608 + default: *609 '404': *6 '422': *15 x-github: @@ -101625,8 +101856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -101636,7 +101867,7 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: default: value: @@ -101710,7 +101941,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -101730,8 +101961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -101807,9 +102038,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: &613 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101914,9 +102145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *339 - *340 - - &611 + - *341 + - &612 name: asset_id description: The unique identifier of the asset. in: path @@ -101928,9 +102159,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &612 + default: &613 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 @@ -101965,7 +102196,7 @@ paths: type: User site_admin: false '404': *6 - '302': *486 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101981,9 +102212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 requestBody: required: false content: @@ -102012,9 +102243,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102030,9 +102261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 responses: '204': description: Response @@ -102057,8 +102288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -102144,16 +102375,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -102171,8 +102402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *339 - *340 + - *341 - name: tag description: tag parameter in: path @@ -102185,9 +102416,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -102209,9 +102440,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *339 - *340 - - &614 + - *341 + - &615 name: release_id description: The unique identifier of the release. in: path @@ -102225,9 +102456,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: *609 + schema: *610 examples: - default: *613 + default: *614 '401': description: Unauthorized x-github: @@ -102245,9 +102476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: false content: @@ -102311,9 +102542,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': description: Not Found if the discussion category name is invalid content: @@ -102334,9 +102565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 responses: '204': description: Response @@ -102357,9 +102588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *17 - *19 responses: @@ -102369,7 +102600,7 @@ paths: application/json: schema: type: array - items: *610 + items: *611 examples: default: value: @@ -102406,7 +102637,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102450,9 +102681,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: - - *339 - *340 - - *614 + - *341 + - *615 - name: name in: query required: true @@ -102478,7 +102709,7 @@ paths: description: Response for successful upload content: application/json: - schema: *610 + schema: *611 examples: response-for-successful-upload: value: @@ -102533,9 +102764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 - 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. @@ -102559,11 +102790,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -102582,9 +102813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: true content: @@ -102614,16 +102845,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -102645,9 +102876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *541 responses: '204': @@ -102672,9 +102903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 - *17 - *19 responses: @@ -102690,8 +102921,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *302 - - &615 + - *303 + - &616 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102710,72 +102941,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *303 - - *615 - allOf: - *304 - - *615 + - *616 - allOf: - *305 - - *615 - - allOf: - *616 - - *615 - allOf: - *306 - - *615 + - *616 + - allOf: + - *617 + - *616 - allOf: - *307 - - *615 + - *616 - allOf: - *308 - - *615 + - *616 - allOf: - *309 - - *615 + - *616 - allOf: - *310 - - *615 + - *616 - allOf: - *311 - - *615 + - *616 - allOf: - *312 - - *615 + - *616 - allOf: - *313 - - *615 + - *616 - allOf: - *314 - - *615 + - *616 - allOf: - *315 - - *615 + - *616 - allOf: - - *320 - - *615 + - *316 + - *616 - allOf: - *321 - - *615 + - *616 - allOf: - *322 - - *615 + - *616 - allOf: - - *617 - - *615 + - *323 + - *616 - allOf: - - *316 - - *615 + - *618 + - *616 - allOf: - *317 - - *615 + - *616 - allOf: - *318 - - *615 + - *616 - allOf: - *319 - - *615 + - *616 + - allOf: + - *320 + - *616 examples: default: value: @@ -102814,8 +103045,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - *17 - *19 - name: includes_parents @@ -102826,7 +103057,7 @@ paths: schema: type: boolean default: true - - *618 + - *619 responses: '200': description: Response @@ -102834,7 +103065,7 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: default: value: @@ -102865,7 +103096,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -102881,8 +103112,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 requestBody: description: Request body required: true @@ -102902,16 +103133,16 @@ paths: - tag - push default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *619 + items: *620 required: - name - enforcement @@ -102942,9 +103173,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &630 + default: &631 value: id: 42 name: super cool ruleset @@ -102978,7 +103209,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -102992,13 +103223,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *339 - *340 - - *620 + - *341 - *621 - *622 - *623 - *624 + - *625 - *17 - *19 responses: @@ -103006,11 +103237,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103029,19 +103260,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *339 - *340 - - *627 + - *341 + - *628 responses: '200': description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *629 + default: *630 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103067,8 +103298,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103088,11 +103319,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 - '500': *53 + '500': *54 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -103108,8 +103339,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103134,16 +103365,16 @@ paths: - branch - tag - push - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *619 + items: *620 examples: default: value: @@ -103171,12 +103402,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -103192,8 +103423,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103204,7 +103435,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -103216,8 +103447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *339 - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -103233,11 +103464,11 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *631 + default: *632 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103254,8 +103485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103273,7 +103504,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -103306,7 +103537,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103328,9 +103559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *633 + - *341 - *634 - *635 - *636 @@ -103338,10 +103568,10 @@ paths: - *638 - *639 - *640 - - *60 + - *641 + - *61 - *19 - *17 - - *641 - *642 - *643 - *644 @@ -103350,6 +103580,7 @@ paths: - *647 - *648 - *649 + - *650 responses: '200': description: Response @@ -103360,21 +103591,21 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -103480,7 +103711,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103617,7 +103848,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103639,32 +103870,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 - - *646 + - *341 + - *438 + - *647 responses: '200': description: Response content: application/json: - schema: &653 + schema: &654 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -103770,7 +104001,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -103793,7 +104024,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &817 + metadata: &818 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -103839,11 +104070,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *35 + '304': *36 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103866,9 +104097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -103876,8 +104107,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103925,7 +104156,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: default: value: @@ -104005,7 +104236,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -104027,9 +104258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 responses: @@ -104040,7 +104271,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &819 + items: &820 type: object properties: type: @@ -104067,7 +104298,6 @@ paths: - commit details: oneOf: - - *654 - *655 - *656 - *657 @@ -104080,6 +104310,7 @@ paths: - *664 - *665 - *666 + - *667 examples: default: value: @@ -104139,11 +104370,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *66 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104168,12 +104399,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 - - *667 + - *341 - *668 - *669 - - *60 + - *670 + - *61 - *19 - *17 responses: @@ -104183,11 +104414,11 @@ paths: application/json: schema: type: array - items: *327 + items: *328 examples: - default: *670 + default: *671 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -104208,8 +104439,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104222,9 +104453,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *671 + items: *672 examples: - default: *672 + default: *673 responses: '201': description: All patterns created successfully. @@ -104236,9 +104467,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: *673 + default: *674 '400': *14 '403': *27 '404': *6 @@ -104262,7 +104493,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *674 + items: *675 delete: summary: Bulk delete repository custom patterns description: |- @@ -104281,8 +104512,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104296,7 +104527,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *675 + items: *676 post_delete_action: type: string description: |- @@ -104309,14 +104540,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *676 + default: *677 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -104336,8 +104567,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 - name: pattern_id in: path required: true @@ -104348,21 +104579,21 @@ paths: required: true content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: *679 + default: *680 '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -104380,8 +104611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104389,14 +104620,14 @@ paths: schema: type: object properties: - reason: &681 + reason: &682 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *680 + placeholder_id: *681 required: - reason - placeholder_id @@ -104413,7 +104644,7 @@ paths: schema: type: object properties: - reason: *681 + reason: *682 expire_at: type: - string @@ -104437,7 +104668,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -104460,13 +104691,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *339 - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *114 + '503': *115 '200': description: Response content: @@ -104476,7 +104707,7 @@ paths: properties: incremental_scans: type: array - items: &682 + items: &683 description: Information on a single scan performed by secret scanning on the repository type: object @@ -104509,15 +104740,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *682 + items: *683 backfill_scans: type: array - items: *682 + items: *683 custom_pattern_backfill_scans: type: array items: allOf: - - *682 + - *683 - type: object properties: pattern_name: @@ -104530,7 +104761,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *682 + items: *683 examples: default: value: @@ -104595,9 +104826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *339 - *340 - - *60 + - *341 + - *61 - name: sort description: The property to sort the results by. in: query @@ -104609,8 +104840,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -104640,9 +104871,9 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: - default: *684 + default: *685 '400': *14 '404': *6 x-github: @@ -104665,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -104746,7 +104977,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -104836,9 +105067,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &686 + default: &687 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105068,8 +105299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105182,7 +105413,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: default: value: @@ -105328,17 +105559,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '200': description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 + default: *687 '403': *27 '404': *6 x-github: @@ -105362,9 +105593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 requestBody: required: true content: @@ -105444,7 +105675,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -105535,17 +105766,17 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 - add_credit: *686 + default: *687 + add_credit: *687 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *125 examples: invalid_state_transition: value: @@ -105576,11 +105807,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: - '202': *37 + '202': *38 '400': *14 '403': *27 '404': *6 @@ -105605,17 +105836,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '202': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -105641,8 +105872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -105716,7 +105947,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -105738,8 +105969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105748,7 +105979,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105760,8 +105991,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *37 - '204': *59 + '202': *38 + '204': *58 '422': description: Repository contains more than 10,000 commits x-github: @@ -105781,8 +106012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -105832,8 +106063,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105860,8 +106091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -105932,8 +106163,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105955,8 +106186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *339 - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106110,8 +106341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *339 - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106121,7 +106352,7 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: default: value: @@ -106134,7 +106365,7 @@ paths: - - 0 - 2 - 21 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106154,8 +106385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *339 - *340 + - *341 - name: sha in: path required: true @@ -106211,7 +106442,7 @@ paths: description: Response content: application/json: - schema: *688 + schema: *689 examples: default: value: @@ -106265,8 +106496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -106278,9 +106509,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106298,14 +106529,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &689 + schema: &690 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -106378,8 +106609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -106405,7 +106636,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: default: value: @@ -106432,8 +106663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -106453,8 +106684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -106513,7 +106744,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106536,8 +106767,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -106573,8 +106804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -106584,11 +106815,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -106606,8 +106837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *339 - *340 + - *341 - *19 - *17 responses: @@ -106615,7 +106846,7 @@ paths: description: Response content: application/json: - schema: &690 + schema: &691 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106627,7 +106858,7 @@ paths: required: - names examples: - default: &691 + default: &692 value: names: - octocat @@ -106650,8 +106881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -106682,9 +106913,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 '404': *6 '422': *7 x-github: @@ -106705,9 +106936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *339 - *340 - - &692 + - *341 + - &693 name: per description: The time frame to display results for. in: query @@ -106738,7 +106969,7 @@ paths: - 128 clones: type: array - items: &693 + items: &694 title: Traffic type: object properties: @@ -106825,8 +107056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -106920,8 +107151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -106984,9 +107215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *339 - *340 - - *692 + - *341 + - *693 responses: '200': description: Response @@ -107007,7 +107238,7 @@ paths: - 3782 views: type: array - items: *693 + items: *694 required: - uniques - count @@ -107084,8 +107315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -107121,7 +107352,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: value: @@ -107358,8 +107589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -107382,8 +107613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107405,8 +107636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107432,8 +107663,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -107525,9 +107756,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107568,7 +107799,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -107644,7 +107875,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107760,7 +107991,7 @@ paths: html_url: type: string format: uri - repository: *155 + repository: *156 score: type: number file_size: @@ -107779,7 +108010,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &694 + text_matches: &695 title: Search Result Text Matches type: array items: @@ -107893,8 +108124,8 @@ paths: deployments_url: http://api.github.com/repos/octocat/Hello-World/deployments releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 '403': *27 x-github: @@ -107942,7 +108173,7 @@ paths: enum: - author-date - committer-date - - &695 + - &696 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 @@ -108011,7 +108242,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 comment_count: type: integer message: @@ -108030,7 +108261,7 @@ paths: url: type: string format: uri - verification: *522 + verification: *523 required: - author - committer @@ -108045,7 +108276,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 parents: type: array items: @@ -108057,12 +108288,12 @@ paths: type: string sha: type: string - repository: *155 + repository: *156 score: type: number node_id: type: string - text_matches: *694 + text_matches: *695 required: - sha - node_id @@ -108191,7 +108422,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108254,7 +108485,7 @@ paths: - interactions - created - updated - - *695 + - *696 - *17 - *19 - name: advanced_search @@ -108368,8 +108599,8 @@ paths: type: - string - 'null' - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -108382,7 +108613,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 comments: type: integer created_at: @@ -108396,7 +108627,7 @@ paths: - string - 'null' format: date-time - text_matches: *694 + text_matches: *695 pull_request: type: object properties: @@ -108434,10 +108665,10 @@ paths: type: string score: type: number - author_association: *79 + author_association: *80 draft: type: boolean - repository: *78 + repository: *79 body_html: type: string body_text: @@ -108445,7 +108676,7 @@ paths: timeline_url: type: string format: uri - type: *245 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -108453,8 +108684,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *83 - reactions: *80 + - *84 + reactions: *81 required: - closed_at - comments @@ -108616,9 +108847,9 @@ paths: - quoted_text items: - "..." - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -108670,7 +108901,7 @@ paths: enum: - created - updated - - *695 + - *696 - *17 - *19 responses: @@ -108715,7 +108946,7 @@ paths: - 'null' score: type: number - text_matches: *694 + text_matches: *695 required: - id - node_id @@ -108747,7 +108978,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -108800,7 +109031,7 @@ paths: - forks - help-wanted-issues - updated - - *695 + - *696 - *17 - *19 responses: @@ -109028,7 +109259,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 permissions: type: object properties: @@ -109046,7 +109277,7 @@ paths: - admin - pull - push - text_matches: *694 + text_matches: *695 temp_clone_token: type: string allow_merge_commit: @@ -109249,9 +109480,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109354,7 +109585,7 @@ paths: - string - 'null' format: uri - text_matches: *694 + text_matches: *695 related: type: - array @@ -109497,7 +109728,7 @@ paths: featured: true curated: true score: 1 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109547,7 +109778,7 @@ paths: - followers - repositories - joined - - *695 + - *696 - *17 - *19 responses: @@ -109657,7 +109888,7 @@ paths: type: - boolean - 'null' - text_matches: *694 + text_matches: *695 blog: type: - string @@ -109718,8 +109949,8 @@ paths: starred_url: https://api.github.com/users/mojombo/starred{/owner}{/repo} events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 x-github: githubCloudOnly: false @@ -109739,7 +109970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &698 + - &699 name: team_id description: The unique identifier of the team. in: path @@ -109751,9 +109982,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -109780,7 +110011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *698 + - *699 requestBody: required: true content: @@ -109844,16 +110075,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -109881,7 +110112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *698 + - *699 responses: '204': description: Response @@ -109910,7 +110141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -109920,11 +110151,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109950,7 +110181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *698 + - *699 - name: role description: Filters members returned by their role in the team. in: query @@ -109971,11 +110202,11 @@ paths: application/json: schema: type: array - items: *699 + items: *700 examples: - default: *700 + default: *701 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -110001,8 +110232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: if user is a member @@ -110038,8 +110269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110078,8 +110309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110115,16 +110346,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *701 + response-if-user-is-a-team-maintainer: *702 '404': *6 x-github: githubCloudOnly: false @@ -110157,8 +110388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 requestBody: required: false content: @@ -110183,9 +110414,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *702 + response-if-users-membership-with-team-is-now-pending: *703 '403': description: Forbidden if team synchronization is set up '422': @@ -110219,8 +110450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -110247,7 +110478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -110257,11 +110488,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -110289,15 +110520,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *703 + schema: *704 examples: alternative-response-with-extra-repository-information: value: @@ -110447,9 +110678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 requestBody: required: false content: @@ -110499,9 +110730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '204': description: Response @@ -110526,7 +110757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -110536,11 +110767,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: *704 + response-if-child-teams-exist: *705 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 '422': *15 @@ -110571,7 +110802,7 @@ paths: application/json: schema: oneOf: - - &705 + - &706 title: Private User description: Private User type: object @@ -110821,7 +111052,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &731 + - &732 title: Public User description: Public User type: object @@ -111078,7 +111309,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -111155,7 +111386,7 @@ paths: description: Response content: application/json: - schema: *705 + schema: *706 examples: default: value: @@ -111202,7 +111433,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111234,8 +111465,8 @@ paths: type: array items: *4 examples: - default: *69 - '304': *35 + default: *70 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111257,7 +111488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: If the user is blocked @@ -111266,7 +111497,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -111285,11 +111516,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -111309,11 +111540,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -111358,11 +111589,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -111499,21 +111730,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111553,7 +111784,7 @@ paths: type: integer secrets: type: array - items: &706 + items: &707 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111595,9 +111826,9 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111667,13 +111898,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '200': description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -111703,7 +111934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 requestBody: required: true content: @@ -111748,7 +111979,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -111776,7 +112007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '204': description: Response @@ -111801,7 +112032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 responses: '200': description: Response @@ -111817,13 +112048,13 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *201 + default: *202 '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111844,7 +112075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 requestBody: required: true content: @@ -111876,7 +112107,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111898,7 +112129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -111910,7 +112141,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111931,7 +112162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -111943,7 +112174,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111963,17 +112194,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -111997,7 +112228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 requestBody: required: false content: @@ -112027,9 +112258,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 @@ -112051,11 +112282,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112080,13 +112311,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '202': description: Response content: application/json: - schema: &707 + schema: &708 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112139,7 +112370,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &708 + default: &709 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112147,7 +112378,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112171,7 +112402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *252 + - *253 - name: export_id in: path required: true @@ -112184,9 +112415,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '404': *6 x-github: githubCloudOnly: false @@ -112207,7 +112438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *252 + - *253 responses: '200': description: Response @@ -112223,11 +112454,11 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: *709 - '304': *35 - '500': *53 + default: *710 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112254,7 +112485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *252 + - *253 requestBody: required: true content: @@ -112310,11 +112541,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *342 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *462 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113111,17 +113342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '400': *14 '401': *23 '402': @@ -113131,7 +113362,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113151,16 +113382,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '500': *53 + default: *461 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113189,9 +113420,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: &721 + default: &722 value: - id: 197 name: hello_docker @@ -113292,7 +113523,7 @@ paths: application/json: schema: type: array - items: &710 + items: &711 title: Email description: Email type: object @@ -113328,7 +113559,7 @@ paths: primary: true verified: true visibility: private - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113362,17 +113593,17 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: - default: &723 + default: &724 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113441,7 +113672,7 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: default: value: @@ -113458,7 +113689,7 @@ paths: verified: false visibility: '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113521,7 +113752,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113553,10 +113784,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -113586,10 +113817,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -113608,7 +113839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -113617,7 +113848,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -113638,11 +113869,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113663,11 +113894,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113699,7 +113930,7 @@ paths: application/json: schema: type: array - items: &711 + items: &712 title: GPG Key description: A unique encryption key type: object @@ -113844,7 +114075,7 @@ paths: - subkeys - revoked examples: - default: &741 + default: &742 value: - id: 3 name: Octocat's GPG Key @@ -113876,8 +114107,8 @@ paths: revoked: false raw_key: string headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113929,9 +114160,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: &712 + default: &713 value: id: 3 name: Octocat's GPG Key @@ -113965,7 +114196,7 @@ paths: v2\n\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\nIts/HFYRLiFgDLmTlxo=\n=+OzK\n-----END PGP PUBLIC KEY BLOCK-----"' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -113988,7 +114219,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &713 + - &714 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114000,11 +114231,11 @@ paths: description: Response content: application/json: - schema: *711 + schema: *712 examples: - default: *712 + default: *713 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114025,13 +114256,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *713 + - *714 responses: '204': description: Response '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114168,8 +114399,8 @@ paths: suspended_at: suspended_by: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -114216,7 +114447,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -114227,12 +114458,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *147 + default: *148 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114253,12 +114484,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -114279,12 +114510,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -114313,12 +114544,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *238 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -114342,7 +114573,7 @@ paths: required: true content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -114353,7 +114584,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -114434,7 +114665,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -114446,8 +114677,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -114457,13 +114688,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114492,7 +114723,7 @@ paths: application/json: schema: type: array - items: &714 + items: &715 title: Key description: Key type: object @@ -114544,8 +114775,8 @@ paths: verified: false read_only: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114595,9 +114826,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *715 examples: - default: &715 + default: &716 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114607,7 +114838,7 @@ paths: verified: false read_only: false '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114636,11 +114867,11 @@ paths: description: Response content: application/json: - schema: *714 + schema: *715 examples: - default: *715 + default: *716 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114665,7 +114896,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114694,7 +114925,7 @@ paths: application/json: schema: type: array - items: &716 + items: &717 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114762,7 +114993,7 @@ paths: - id - type - login - plan: *98 + plan: *99 required: - billing_cycle - next_billing_date @@ -114773,7 +115004,7 @@ paths: - account - plan examples: - default: &717 + default: &718 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114806,8 +115037,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 '404': *6 x-github: @@ -114835,12 +115066,12 @@ paths: application/json: schema: type: array - items: *716 + items: *717 examples: - default: *717 + default: *718 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -114877,7 +115108,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: value: @@ -114960,8 +115191,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -114985,13 +115216,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: default: value: @@ -115053,7 +115284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -115078,9 +115309,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: &718 + default: &719 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -115127,9 +115358,9 @@ paths: processed asynchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: *718 + default: *719 '403': *27 '404': *6 '422': *15 @@ -115158,7 +115389,7 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: default: value: @@ -115311,8 +115542,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -115420,7 +115651,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -115573,7 +115804,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115600,7 +115831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *257 + - *258 - name: exclude in: query required: false @@ -115613,7 +115844,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -115767,7 +115998,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115807,11 +116038,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *257 + - *258 responses: '302': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115833,12 +116064,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *257 + - *258 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115862,12 +116093,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *257 - - *719 + - *258 + - *720 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115887,7 +116118,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *257 + - *258 - *17 - *19 responses: @@ -115897,9 +116128,9 @@ paths: application/json: schema: type: array - items: *65 + items: *66 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -115932,12 +116163,12 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -115976,7 +116207,7 @@ paths: - docker - nuget - container - - *720 + - *721 - *19 - *17 responses: @@ -115986,10 +116217,10 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *721 - '400': *722 + default: *722 + '400': *723 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116009,16 +116240,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &742 + default: &743 value: id: 40201 name: octo-name @@ -116131,8 +116362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '204': description: Response @@ -116162,8 +116393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 - name: token description: package token schema: @@ -116195,8 +116426,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: - - *264 - *265 + - *266 - *19 - *17 - name: state @@ -116216,7 +116447,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -116265,15 +116496,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -116309,9 +116540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -116341,9 +116572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -116380,12 +116611,12 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: - default: *723 + default: *724 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -116493,9 +116724,9 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default: &730 + default: &731 summary: Default response value: - id: 1296269 @@ -116616,9 +116847,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -116813,16 +117044,16 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *23 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -116854,12 +117085,12 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: *724 + default: *725 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -116879,14 +117110,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response '403': *27 - '409': *52 + '409': *53 '404': *6 - '304': *35 + '304': *36 '451': *15 x-github: githubCloudOnly: false @@ -116903,12 +117134,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response - '409': *52 - '304': *35 + '409': *53 + '304': *36 '404': *6 '403': *27 x-github: @@ -116936,7 +117167,7 @@ paths: application/json: schema: type: array - items: &725 + items: &726 title: Social account description: Social media account type: object @@ -116953,13 +117184,13 @@ paths: - provider - url examples: - default: &726 + default: &727 value: - provider: twitter url: https://twitter.com/github headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117016,11 +117247,11 @@ paths: application/json: schema: type: array - items: *725 + items: *726 examples: - default: *726 + default: *727 '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117074,7 +117305,7 @@ paths: '204': description: Response '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117106,7 +117337,7 @@ paths: application/json: schema: type: array - items: &727 + items: &728 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117126,7 +117357,7 @@ paths: - title - created_at examples: - default: &759 + default: &760 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117137,8 +117368,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117191,16 +117422,16 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: &728 + default: &729 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117223,7 +117454,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: - - &729 + - &730 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117235,11 +117466,11 @@ paths: description: Response content: application/json: - schema: *727 + schema: *728 examples: - default: *728 + default: *729 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117260,11 +117491,11 @@ 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: - - *729 + - *730 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117289,7 +117520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &760 + - &761 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 @@ -117302,7 +117533,7 @@ paths: - created - updated default: created - - *60 + - *61 - *17 - *19 responses: @@ -117312,13 +117543,13 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default-response: *730 + default-response: *731 application/vnd.github.v3.star+json: schema: type: array - items: &761 + items: &762 title: Starred Repository description: Starred Repository type: object @@ -117326,7 +117557,7 @@ paths: starred_at: type: string format: date-time - repo: *78 + repo: *79 required: - starred_at - repo @@ -117454,8 +117685,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -117474,8 +117705,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: - - *339 - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -117485,7 +117716,7 @@ paths: application/json: schema: *3 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -117503,15 +117734,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '403': *27 '404': *6 '401': *23 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117528,14 +117759,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '404': *6 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -117562,12 +117793,12 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -117601,7 +117832,7 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: default: value: @@ -117652,8 +117883,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -117679,7 +117910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *100 + - *101 responses: '200': description: Response @@ -117687,10 +117918,10 @@ paths: application/json: schema: oneOf: - - *705 - - *731 + - *706 + - *732 examples: - default-response: &735 + default-response: &736 summary: Default response value: login: octocat @@ -117725,7 +117956,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &736 + response-with-git-hub-plan-information: &737 summary: Response with GitHub plan information value: login: octocat @@ -117782,14 +118013,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &733 + - &734 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *280 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -117823,10 +118054,10 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - draft_issue: *286 - '304': *35 + draft_issue: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -117848,7 +118079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *732 + - *733 - *17 responses: '200': @@ -117859,13 +118090,13 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117883,8 +118114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *733 - - *280 + - *734 + - *281 requestBody: required: true content: @@ -117958,18 +118189,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *734 + schema: *735 examples: table_view: summary: Response for creating a table view - value: *290 + value: *291 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -118002,7 +118233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -118010,11 +118241,11 @@ paths: application/json: schema: oneOf: - - *705 - - *731 + - *706 + - *732 examples: - default-response: *735 - response-with-git-hub-plan-information: *736 + default-response: *736 + response-with-git-hub-plan-information: *737 '404': *6 x-github: githubCloudOnly: false @@ -118038,9 +118269,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 requestBody: required: true content: @@ -118064,8 +118295,8 @@ paths: required: - subject_digests examples: - default: *737 - withPredicateType: *738 + default: *738 + withPredicateType: *739 responses: '200': description: Response @@ -118105,7 +118336,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *739 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118123,7 +118354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *70 + - *71 requestBody: required: true content: @@ -118188,7 +118419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *70 + - *71 - name: subject_digest description: Subject Digest in: path @@ -118219,7 +118450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *70 + - *71 - name: attestation_id description: Attestation ID in: path @@ -118255,9 +118486,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 - name: subject_digest description: Subject Digest in: path @@ -118294,12 +118525,12 @@ paths: initiator: type: string examples: - default: *399 + default: *400 '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -118327,7 +118558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *70 + - *71 - name: per_page description: The number of results per page (max 100). in: query @@ -118361,7 +118592,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *196 + items: *197 examples: default: summary: Example response for listing user copilot spaces @@ -118460,7 +118691,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -118482,7 +118713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *70 + - *71 requestBody: required: true content: @@ -118576,9 +118807,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &740 + default: &741 summary: Example response for a user copilot space value: id: 42 @@ -118665,7 +118896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118677,9 +118908,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 x-github: @@ -118701,7 +118932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118803,9 +119034,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 '422': *15 @@ -118828,7 +119059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118862,7 +119093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -118882,7 +119113,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *198 + items: *199 examples: default: value: @@ -118978,7 +119209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119025,7 +119256,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -119085,7 +119316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119136,7 +119367,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -119198,7 +119429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119246,7 +119477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119266,7 +119497,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *199 + items: *200 examples: default: value: @@ -119304,7 +119535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119358,7 +119589,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119374,7 +119605,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119409,7 +119640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119427,7 +119658,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119459,7 +119690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119494,7 +119725,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -119527,7 +119758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -119563,7 +119794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -119571,9 +119802,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *721 + default: *722 '403': *27 '401': *23 x-github: @@ -119596,7 +119827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -119606,7 +119837,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -119668,8 +119899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *70 - - *74 + - *71 + - *75 - *17 - *19 responses: @@ -119679,7 +119910,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -119756,7 +119987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -119766,7 +119997,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -119824,7 +120055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -119836,9 +120067,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119855,7 +120086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *70 + - *71 - *17 - *19 responses: @@ -119867,9 +120098,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119886,7 +120117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *70 + - *71 - name: target_user in: path required: true @@ -119913,8 +120144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *70 - - *87 + - *71 + - *88 - *17 - *19 responses: @@ -119924,11 +120155,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -119947,7 +120178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -119957,11 +120188,11 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: - default: *741 + default: *742 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119983,7 +120214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *70 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120055,7 +120286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *70 + - *71 responses: '200': description: Response @@ -120063,7 +120294,7 @@ paths: application/json: schema: *20 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120081,7 +120312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120117,7 +120348,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120137,7 +120368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120147,11 +120378,11 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120188,8 +120419,8 @@ paths: - docker - nuget - container - - *720 - - *70 + - *721 + - *71 - *19 - *17 responses: @@ -120199,12 +120430,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *721 + default: *722 '403': *27 '401': *23 - '400': *722 + '400': *723 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120224,17 +120455,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *742 + default: *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120255,9 +120486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '204': description: Response @@ -120289,9 +120520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 - name: token description: package token schema: @@ -120323,9 +120554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response @@ -120333,7 +120564,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -120391,16 +120622,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *264 - *265 - - *267 - - *70 + - *266 + - *268 + - *71 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -120435,10 +120666,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -120470,10 +120701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -120497,15 +120728,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *70 + - *71 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -120514,12 +120745,12 @@ paths: application/json: schema: type: array - items: *278 + items: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120538,19 +120769,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *280 - - *70 + - *281 + - *71 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120569,11 +120800,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *280 - - *70 + - *281 + - *71 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -120581,12 +120812,12 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *743 + default: *744 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120604,8 +120835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true content: @@ -120643,7 +120874,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *744 + items: *745 required: - name - data_type @@ -120659,7 +120890,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *745 + iteration_configuration: *746 required: - name - data_type @@ -120681,21 +120912,21 @@ paths: value: name: Due date data_type: date - single_select_field: *746 - iteration_field: *747 + single_select_field: *747 + iteration_field: *748 responses: '201': description: Response content: application/json: - schema: *283 + schema: *284 examples: - text_field: *748 - number_field: *749 - date_field: *750 - single_select_field: *751 - iteration_field: *752 - '304': *35 + text_field: *749 + number_field: *750 + date_field: *751 + single_select_field: *752 + iteration_field: *753 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -120715,20 +120946,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *280 - - *753 - - *70 + - *281 + - *754 + - *71 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *754 + default: *755 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120748,10 +120979,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *280 - - *70 - - *45 + - *281 + - *71 - *46 + - *47 - *17 - 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) @@ -120781,12 +121012,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120804,8 +121035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -120875,23 +121106,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -120910,9 +121141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120932,12 +121163,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -120955,9 +121186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121030,13 +121261,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -121056,9 +121287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 responses: '204': description: Response @@ -121080,9 +121311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *280 - - *70 - - *755 + - *281 + - *71 + - *756 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -121098,8 +121329,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -121108,12 +121339,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -121138,7 +121369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121148,7 +121379,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121213,7 +121444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121223,7 +121454,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121286,7 +121517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *70 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -121329,11 +121560,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121353,12 +121584,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing AI credit usage report @@ -121465,8 +121696,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121486,12 +121717,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -121598,8 +121829,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121619,10 +121850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *70 - - *116 - - *756 - - *118 + - *71 + - *117 + - *757 + - *119 responses: '200': description: Response when getting a billing usage report @@ -121692,8 +121923,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121716,13 +121947,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *757 - - *121 + - *119 - *758 + - *122 + - *759 responses: '200': description: Response when getting a billing usage summary @@ -121827,8 +122058,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121846,7 +122077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121856,11 +122087,11 @@ paths: application/json: schema: type: array - items: *725 + items: *726 examples: - default: *726 + default: *727 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121878,7 +122109,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121888,11 +122119,11 @@ paths: application/json: schema: type: array - items: *727 + items: *728 examples: - default: *759 + default: *760 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121914,9 +122145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *70 - - *760 - - *60 + - *71 + - *761 + - *61 - *17 - *19 responses: @@ -121927,13 +122158,13 @@ paths: schema: anyOf: - type: array - items: *761 + items: *762 - type: array - items: *78 + items: *79 examples: - default-response: *730 + default-response: *731 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121950,7 +122181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121960,11 +122191,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *275 + default: *276 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122091,7 +122322,7 @@ webhooks: type: string enum: - disabled - enterprise: &762 + enterprise: &763 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122160,7 +122391,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &763 + installation: &764 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122181,7 +122412,7 @@ webhooks: required: - id - node_id - organization: &764 + organization: &765 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122254,7 +122485,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &765 + repository: &766 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122283,7 +122514,7 @@ webhooks: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' @@ -123169,10 +123400,10 @@ webhooks: type: string enum: - enabled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -123248,11 +123479,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: &766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: &767 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) @@ -123475,11 +123706,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -123667,11 +123898,11 @@ webhooks: - everyone required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -123755,7 +123986,7 @@ webhooks: type: string enum: - completed - check_run: &768 + check_run: &769 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123820,8 +124051,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *85 - repository: *155 + items: *86 + repository: *156 status: type: string enum: @@ -123865,7 +124096,7 @@ webhooks: - examples: - neutral - deployment: *767 + deployment: *768 details_url: type: string examples: @@ -123925,7 +124156,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *85 + items: *86 started_at: type: string format: date-time @@ -123963,10 +124194,10 @@ webhooks: - output - app - pull_requests - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -124357,11 +124588,11 @@ webhooks: type: string enum: - created - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -124755,11 +124986,11 @@ webhooks: type: string enum: - requested_action - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 requested_action: description: The action requested by the user. type: object @@ -125162,11 +125393,11 @@ webhooks: type: string enum: - rerequested - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -126151,10 +126382,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -126868,10 +127099,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -127579,10 +127810,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -127751,7 +127982,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127903,20 +128134,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &769 + commit_oid: &770 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: *762 - installation: *763 - organization: *764 - ref: &770 + enterprise: *763 + installation: *764 + organization: *765 + ref: &771 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: *765 + repository: *766 sender: *4 required: - action @@ -128083,7 +128314,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128324,12 +128555,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -128427,7 +128658,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128612,12 +128843,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -128786,7 +129017,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128963,12 +129194,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -129069,7 +129300,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129258,9 +129489,9 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -129268,7 +129499,7 @@ webhooks: type: - string - 'null' - repository: *765 + repository: *766 sender: *4 required: - action @@ -129367,7 +129598,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129514,12 +129745,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -129688,7 +129919,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129840,10 +130071,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130103,10 +130334,10 @@ webhooks: - updated_at - author_association - body - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130187,18 +130418,18 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *764 - pusher_type: &771 + organization: *765 + pusher_type: &772 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &772 + ref: &773 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -130208,7 +130439,7 @@ webhooks: enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -130290,10 +130521,10 @@ webhooks: type: string enum: - created - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130378,9 +130609,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130457,10 +130688,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130537,10 +130768,10 @@ webhooks: type: string enum: - updated - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -130617,19 +130848,19 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - repository: *765 - organization: *764 + enterprise: *763 + installation: *764 + repository: *766 + organization: *765 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *295 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *295 + items: *296 required: - action - repository @@ -130705,18 +130936,18 @@ webhooks: title: delete event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - pusher_type: *771 - ref: *772 + enterprise: *763 + installation: *764 + organization: *765 + pusher_type: *772 + ref: *773 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -130796,11 +131027,11 @@ webhooks: type: string enum: - assignees_changed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -130880,11 +131111,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -130965,11 +131196,11 @@ webhooks: type: string enum: - auto_reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131050,11 +131281,11 @@ webhooks: type: string enum: - created - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131133,11 +131364,11 @@ webhooks: type: string enum: - dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131216,11 +131447,11 @@ webhooks: type: string enum: - fixed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131300,11 +131531,11 @@ webhooks: type: string enum: - reintroduced - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131383,11 +131614,11 @@ webhooks: type: string enum: - reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -131464,9 +131695,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - key: &773 + enterprise: *763 + installation: *764 + key: &774 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131504,8 +131735,8 @@ webhooks: - verified - created_at - read_only - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131582,11 +131813,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - key: *773 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + key: *774 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132153,12 +132384,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: &777 + workflow: &778 title: Workflow type: - object @@ -132909,13 +133140,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *499 + - *500 pull_requests: type: array - items: *598 - repository: *765 - organization: *764 - installation: *763 + items: *599 + repository: *766 + organization: *765 + installation: *764 sender: *4 responses: '200': @@ -132986,7 +133217,7 @@ webhooks: type: string enum: - approved - approver: &774 + approver: &775 type: object properties: avatar_url: @@ -133029,11 +133260,11 @@ webhooks: type: string comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: &775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: &776 type: array items: type: object @@ -133114,7 +133345,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &776 + workflow_job_run: &777 type: object properties: conclusion: @@ -133860,18 +134091,18 @@ webhooks: type: string enum: - rejected - approver: *774 + approver: *775 comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: *775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: *776 sender: *4 since: type: string - workflow_job_run: *776 + workflow_job_run: *777 workflow_job_runs: type: array items: @@ -134588,13 +134819,13 @@ webhooks: type: string enum: - requested - enterprise: *762 + enterprise: *763 environment: type: string - installation: *763 - organization: *764 - repository: *765 - requestor: &782 + installation: *764 + organization: *765 + repository: *766 + requestor: &783 title: User type: - object @@ -136527,12 +136758,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Deployment Workflow Run type: @@ -137223,7 +137454,7 @@ webhooks: type: string enum: - answered - answer: &780 + answer: &781 type: object properties: author_association: @@ -137383,11 +137614,11 @@ webhooks: - created_at - updated_at - body - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137514,11 +137745,11 @@ webhooks: - from required: - category - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137601,11 +137832,11 @@ webhooks: type: string enum: - closed - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137687,7 +137918,7 @@ webhooks: type: string enum: - created - comment: &779 + comment: &780 type: object properties: author_association: @@ -137847,11 +138078,11 @@ webhooks: - updated_at - body - reactions - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137934,12 +138165,12 @@ webhooks: type: string enum: - deleted - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138034,12 +138265,12 @@ webhooks: - from required: - body - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138123,11 +138354,11 @@ webhooks: type: string enum: - created - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138209,11 +138440,11 @@ webhooks: type: string enum: - deleted - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138313,11 +138544,11 @@ webhooks: type: string required: - from - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138399,10 +138630,10 @@ webhooks: type: string enum: - labeled - discussion: *778 - enterprise: *762 - installation: *763 - label: &781 + discussion: *779 + enterprise: *763 + installation: *764 + label: &782 title: Label type: object properties: @@ -138435,8 +138666,8 @@ webhooks: - color - default - description - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138519,11 +138750,11 @@ webhooks: type: string enum: - locked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138605,11 +138836,11 @@ webhooks: type: string enum: - pinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138691,11 +138922,11 @@ webhooks: type: string enum: - reopened - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138780,16 +139011,16 @@ webhooks: changes: type: object properties: - new_discussion: *778 - new_repository: *765 + new_discussion: *779 + new_repository: *766 required: - new_discussion - new_repository - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138872,10 +139103,10 @@ webhooks: type: string enum: - unanswered - discussion: *778 - old_answer: *780 - organization: *764 - repository: *765 + discussion: *779 + old_answer: *781 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138957,12 +139188,12 @@ webhooks: type: string enum: - unlabeled - discussion: *778 - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139045,11 +139276,11 @@ webhooks: type: string enum: - unlocked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139131,11 +139362,11 @@ webhooks: type: string enum: - unpinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139208,7 +139439,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *762 + enterprise: *763 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -139886,9 +140117,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - forkee @@ -140034,9 +140265,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pages: description: The pages that were updated. type: array @@ -140074,7 +140305,7 @@ webhooks: - action - sha - html_url - repository: *765 + repository: *766 sender: *4 required: - pages @@ -140150,10 +140381,10 @@ webhooks: type: string enum: - created - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: &783 + organization: *765 + repositories: &784 description: An array of repository objects that the installation can access. type: array @@ -140179,8 +140410,8 @@ webhooks: - name - full_name - private - repository: *765 - requester: *782 + repository: *766 + requester: *783 sender: *4 required: - action @@ -140255,11 +140486,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -140336,11 +140567,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -140417,10 +140648,10 @@ webhooks: type: string enum: - added - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: &784 + organization: *765 + repositories_added: &785 description: An array of repository objects, which were added to the installation. type: array @@ -140466,15 +140697,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *765 - repository_selection: &785 + repository: *766 + repository_selection: &786 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *782 + requester: *783 sender: *4 required: - action @@ -140553,10 +140784,10 @@ webhooks: type: string enum: - removed - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: *784 + organization: *765 + repositories_added: *785 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140583,9 +140814,9 @@ webhooks: - name - full_name - private - repository: *765 - repository_selection: *785 - requester: *782 + repository: *766 + repository_selection: *786 + requester: *783 sender: *4 required: - action @@ -140664,11 +140895,11 @@ webhooks: type: string enum: - suspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -140850,10 +141081,10 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 target_type: type: string @@ -140932,11 +141163,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -141192,8 +141423,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142005,8 +142236,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142023,7 +142254,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -142367,8 +142598,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -142448,7 +142679,7 @@ webhooks: type: string enum: - deleted - comment: &786 + comment: &787 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -142623,8 +142854,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143432,8 +143663,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143450,7 +143681,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -143796,8 +144027,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -143877,7 +144108,7 @@ webhooks: type: string enum: - edited - changes: &810 + changes: &811 description: The changes to the comment. type: object properties: @@ -143889,9 +144120,9 @@ webhooks: type: string required: - from - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144702,8 +144933,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144720,7 +144951,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -145064,8 +145295,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -145146,9 +145377,9 @@ webhooks: type: string enum: - pinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145961,8 +146192,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145979,7 +146210,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -146325,8 +146556,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -146406,9 +146637,9 @@ webhooks: type: string enum: - unpinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147221,8 +147452,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147239,7 +147470,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -147585,8 +147816,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -147669,15 +147900,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -147760,15 +147991,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -147850,15 +148081,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -147941,15 +148172,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148029,10 +148260,10 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - issue: &787 + assignee: *783 + enterprise: *763 + installation: *764 + issue: &788 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -148842,9 +149073,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -148864,7 +149095,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -148967,8 +149198,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149048,8 +149279,8 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -149864,9 +150095,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -149886,7 +150117,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -150132,8 +150363,8 @@ webhooks: required: - state - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -150212,8 +150443,8 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151019,9 +151250,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -151041,7 +151272,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -151143,8 +151374,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -151223,8 +151454,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152053,9 +152284,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -152075,7 +152306,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -152156,7 +152387,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &788 + milestone: &789 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152299,8 +152530,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -152399,8 +152630,8 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153210,9 +153441,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -153229,7 +153460,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -153335,9 +153566,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153417,9 +153648,9 @@ webhooks: type: string enum: - field_added - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was set or updated on the @@ -153585,8 +153816,8 @@ webhooks: - id required: - from - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153666,9 +153897,9 @@ webhooks: type: string enum: - field_removed - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -153755,8 +153986,8 @@ webhooks: - 'null' required: - id - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153836,8 +154067,8 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154646,9 +154877,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -154665,7 +154896,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -154771,9 +155002,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154853,8 +155084,8 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155688,9 +155919,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -155707,7 +155938,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -155790,8 +156021,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155870,8 +156101,8 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156699,9 +156930,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -156721,7 +156952,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -156801,9 +157032,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *788 - organization: *764 - repository: *765 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157690,8 +157921,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -157721,7 +157952,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -157794,7 +158025,7 @@ webhooks: required: - login - id - type: *245 + type: *246 required: - id - number @@ -158286,8 +158517,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159094,8 +159325,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -159115,7 +159346,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -159126,7 +159357,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -159221,8 +159452,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -159302,9 +159533,9 @@ webhooks: type: string enum: - pinned - enterprise: *762 - installation: *763 - issue: &789 + enterprise: *763 + installation: *764 + issue: &790 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -160108,9 +160339,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -160130,7 +160361,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -160232,8 +160463,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -160312,8 +160543,8 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161145,9 +161376,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -161247,9 +161478,9 @@ webhooks: format: uri user_view_type: type: string - type: *245 - organization: *764 - repository: *765 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -162136,9 +162367,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -162158,7 +162389,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -162751,11 +162982,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -162835,12 +163066,12 @@ webhooks: type: string enum: - typed - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -162921,7 +163152,7 @@ webhooks: type: string enum: - unassigned - assignee: &813 + assignee: &814 title: User type: - object @@ -162993,11 +163224,11 @@ webhooks: required: - login - id - enterprise: *762 - installation: *763 - issue: *787 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163076,12 +163307,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - issue: *787 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163161,8 +163392,8 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163994,9 +164225,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -164016,7 +164247,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -164096,8 +164327,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164177,11 +164408,11 @@ webhooks: type: string enum: - unpinned - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164260,12 +164491,12 @@ webhooks: type: string enum: - untyped - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164345,11 +164576,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164427,11 +164658,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164541,11 +164772,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164627,9 +164858,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: &790 + enterprise: *763 + installation: *764 + marketplace_purchase: &791 title: Marketplace Purchase type: object required: @@ -164717,8 +164948,8 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: &791 + organization: *765 + previous_marketplace_purchase: &792 title: Marketplace Purchase type: object properties: @@ -164802,7 +165033,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -164882,10 +165113,10 @@ webhooks: - changed effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -164973,7 +165204,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -165055,10 +165286,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165144,7 +165375,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -165225,8 +165456,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 marketplace_purchase: title: Marketplace Purchase type: object @@ -165312,9 +165543,9 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -165394,12 +165625,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -165501,11 +165732,11 @@ webhooks: type: string required: - to - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165607,11 +165838,11 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165690,11 +165921,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165772,11 +166003,11 @@ webhooks: type: string enum: - added - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165854,7 +166085,7 @@ webhooks: required: - login - id - team: &792 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166084,11 +166315,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166167,7 +166398,7 @@ webhooks: required: - login - id - team: *792 + team: *793 required: - action - scope @@ -166249,8 +166480,8 @@ webhooks: type: string enum: - checks_requested - installation: *763 - merge_group: &793 + installation: *764 + merge_group: &794 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166269,15 +166500,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *419 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166363,10 +166594,10 @@ webhooks: - merged - invalidated - dequeued - installation: *763 - merge_group: *793 - organization: *764 - repository: *765 + installation: *764 + merge_group: *794 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166439,7 +166670,7 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166548,12 +166779,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *763 - organization: *764 + installation: *764 + organization: *765 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -166633,11 +166864,11 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166716,9 +166947,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - milestone: &794 + enterprise: *763 + installation: *764 + milestone: &795 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166860,8 +167091,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166940,11 +167171,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167054,11 +167285,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167138,11 +167369,11 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - milestone: *794 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167221,11 +167452,11 @@ webhooks: type: string enum: - blocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167304,11 +167535,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167387,9 +167618,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - membership: &795 + enterprise: *763 + installation: *764 + membership: &796 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167499,8 +167730,8 @@ webhooks: - role - organization_url - user - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167578,11 +167809,11 @@ webhooks: type: string enum: - member_added - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167661,8 +167892,8 @@ webhooks: type: string enum: - member_invited - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -167784,10 +168015,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 - user: *782 + user: *783 required: - action - invitation @@ -167865,11 +168096,11 @@ webhooks: type: string enum: - member_removed - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167956,11 +168187,11 @@ webhooks: properties: from: type: string - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168037,9 +168268,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -168562,7 +168793,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &797 title: Ruby Gems metadata type: object properties: @@ -168659,7 +168890,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -168735,9 +168966,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -169099,7 +169330,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 source_url: type: string format: uri @@ -169170,7 +169401,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -169350,12 +169581,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *762 + enterprise: *763 id: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - id @@ -169432,7 +169663,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &798 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -169582,10 +169813,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *762 - organization: *764 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -169662,11 +169893,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -169742,11 +169973,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -169821,11 +170052,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *764 - enterprise: *762 + personal_access_token_request: *798 + organization: *765 + enterprise: *763 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -169930,7 +170161,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *799 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -169962,8 +170193,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 zen: description: Random string of GitHub zen. @@ -170208,10 +170439,10 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: &799 + enterprise: *763 + installation: *764 + organization: *765 + project_card: &800 title: Project Card type: object properties: @@ -170334,7 +170565,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -170415,11 +170646,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -170499,9 +170730,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: title: Project Card type: object @@ -170631,7 +170862,7 @@ webhooks: repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -170725,11 +170956,11 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -170823,9 +171054,9 @@ webhooks: - from required: - column_id - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: allOf: - title: Project Card @@ -171022,7 +171253,7 @@ webhooks: type: string required: - after_id - repository: *765 + repository: *766 sender: *4 required: - action @@ -171102,10 +171333,10 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - organization: *764 - project: &801 + enterprise: *763 + installation: *764 + organization: *765 + project: &802 title: Project type: object properties: @@ -171232,7 +171463,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -171312,10 +171543,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_column: &800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: &801 title: Project Column type: object properties: @@ -171355,7 +171586,7 @@ webhooks: - name - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -171434,14 +171665,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -171530,11 +171761,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -171614,11 +171845,11 @@ webhooks: type: string enum: - moved - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -171698,11 +171929,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -171782,14 +172013,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project: *801 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -171890,11 +172121,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -171973,11 +172204,11 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -172058,9 +172289,9 @@ webhooks: type: string enum: - closed - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172141,9 +172372,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172224,9 +172455,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172347,9 +172578,9 @@ webhooks: type: string to: type: string - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -172432,7 +172663,7 @@ webhooks: type: string enum: - archived - changes: &805 + changes: &806 type: object properties: archived_at: @@ -172448,9 +172679,9 @@ webhooks: - string - 'null' format: date-time - installation: *763 - organization: *764 - projects_v2_item: &802 + installation: *764 + organization: *765 + projects_v2_item: &803 title: Projects v2 Item description: An item belonging to a project type: object @@ -172468,7 +172699,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *284 + content_type: *285 creator: *4 created_at: type: string @@ -172590,9 +172821,9 @@ webhooks: - 'null' to: type: string - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -172674,9 +172905,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -172757,9 +172988,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -172864,7 +173095,7 @@ webhooks: oneOf: - type: string - type: integer - - &803 + - &804 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -172888,7 +173119,7 @@ webhooks: required: - id - name - - &804 + - &805 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -172928,8 +173159,8 @@ webhooks: oneOf: - type: string - type: integer - - *803 - *804 + - *805 type: - 'null' - string @@ -172952,9 +173183,9 @@ webhooks: - 'null' required: - body - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173051,9 +173282,9 @@ webhooks: type: - string - 'null' - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173136,10 +173367,10 @@ webhooks: type: string enum: - restored - changes: *805 - installation: *763 - organization: *764 - projects_v2_item: *802 + changes: *806 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -173221,9 +173452,9 @@ webhooks: type: string enum: - reopened - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173304,9 +173535,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -173387,9 +173618,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -173535,9 +173766,9 @@ webhooks: - string - 'null' format: date - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -173608,10 +173839,10 @@ webhooks: title: public event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - repository @@ -173688,13 +173919,13 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - number: &807 + assignee: *783 + enterprise: *763 + installation: *764 + number: &808 description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -175919,6 +176150,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -176046,7 +176278,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -176128,11 +176360,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -178348,6 +178580,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -178477,7 +178710,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -178559,11 +178792,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -180779,6 +181012,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -180908,7 +181142,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -180990,13 +181224,13 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: &808 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: &809 allOf: - - *598 + - *599 - type: object properties: allow_auto_merge: @@ -181058,7 +181292,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *765 + repository: *766 sender: *4 required: - action @@ -181139,12 +181373,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -181224,11 +181458,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: &809 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: &810 title: Pull Request type: object properties: @@ -183445,6 +183679,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -183572,7 +183807,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -183651,11 +183886,11 @@ webhooks: type: string enum: - dequeued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -185876,6 +186111,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -186018,7 +186254,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *765 + repository: *766 sender: *4 required: - action @@ -186142,12 +186378,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -186227,11 +186463,11 @@ webhooks: type: string enum: - enqueued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -188452,6 +188688,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -188579,7 +188816,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -188659,11 +188896,11 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -190887,6 +191124,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191014,7 +191252,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -191095,10 +191333,10 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -193320,6 +193558,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193447,7 +193686,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -193527,12 +193766,12 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: *809 - repository: *765 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: *810 + repository: *766 sender: *4 required: - action @@ -193611,12 +193850,12 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -193697,12 +193936,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -193782,12 +194021,12 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -194162,9 +194401,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -196275,6 +196514,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -196397,7 +196637,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -196477,7 +196717,7 @@ webhooks: type: string enum: - deleted - comment: &811 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -196770,9 +197010,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -198871,6 +199111,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -198993,7 +199234,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -199073,11 +199314,11 @@ webhooks: type: string enum: - edited - changes: *810 - comment: *811 - enterprise: *762 - installation: *763 - organization: *764 + changes: *811 + comment: *812 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -201179,6 +201420,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -201301,7 +201543,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -201382,9 +201624,9 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -203496,6 +203738,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -203620,7 +203863,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 review: description: The review that was affected. type: object @@ -203871,9 +204114,9 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -205982,8 +206225,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: &812 + repository: *766 + review: &813 description: The review that was affected. type: object properties: @@ -206221,12 +206464,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -208449,6 +208692,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -208576,7 +208820,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -208662,12 +208906,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -210897,6 +211141,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -211024,7 +211269,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211219,12 +211464,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -213448,6 +213693,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -213576,7 +213822,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -213663,12 +213909,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -215883,6 +216129,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -216011,7 +216258,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216195,9 +216442,9 @@ webhooks: type: string enum: - submitted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -218312,6 +218559,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -218436,8 +218684,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: *812 + repository: *766 + review: *813 sender: *4 required: - action @@ -218517,9 +218765,9 @@ webhooks: type: string enum: - resolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -220543,6 +220791,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -220667,7 +220916,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -221064,9 +221313,9 @@ webhooks: type: string enum: - unresolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -223074,6 +223323,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -223197,7 +223447,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -223590,10 +223840,11 @@ webhooks: type: string enum: - stacked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + stack: *596 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -225817,6 +226068,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -225944,7 +226196,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -226030,10 +226282,10 @@ webhooks: type: string before: type: string - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -228244,6 +228496,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -228371,7 +228624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -228453,11 +228706,11 @@ webhooks: type: string enum: - unassigned - assignee: *813 - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + assignee: *814 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -230683,6 +230936,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -230810,7 +231064,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -230889,11 +231143,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -233108,6 +233362,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -233235,7 +233490,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -233316,10 +233571,10 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -235525,6 +235780,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -235651,7 +235907,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -235854,7 +236110,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *762 + enterprise: *763 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235949,8 +236205,8 @@ webhooks: - url - author - committer - installation: *763 - organization: *764 + installation: *764 + organization: *765 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -236549,9 +236805,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -237028,7 +237284,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -237084,7 +237340,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -237162,9 +237418,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -237476,7 +237732,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -237526,7 +237782,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -237603,10 +237859,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - release: &814 + enterprise: *763 + installation: *764 + organization: *765 + release: &815 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -237937,7 +238193,7 @@ webhooks: - updated_at - zipball_url - body - repository: *765 + repository: *766 sender: *4 required: - action @@ -238014,11 +238270,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -238135,11 +238391,11 @@ webhooks: type: boolean required: - to - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -238217,9 +238473,9 @@ webhooks: type: string enum: - prereleased - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -238555,7 +238811,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -238631,10 +238887,10 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - release: &815 + enterprise: *763 + installation: *764 + organization: *765 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -238967,7 +239223,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -239043,11 +239299,11 @@ webhooks: type: string enum: - released - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -239123,11 +239379,11 @@ webhooks: type: string enum: - unpublished - enterprise: *762 - installation: *763 - organization: *764 - release: *815 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *816 + repository: *766 sender: *4 required: - action @@ -239203,11 +239459,11 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -239283,11 +239539,11 @@ webhooks: type: string enum: - reported - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -239363,10 +239619,10 @@ webhooks: type: string enum: - archived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239443,10 +239699,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239524,10 +239780,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239612,10 +239868,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239730,10 +239986,10 @@ webhooks: - 'null' items: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239805,10 +240061,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 status: type: string @@ -239889,10 +240145,10 @@ webhooks: type: string enum: - privatized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -239969,10 +240225,10 @@ webhooks: type: string enum: - publicized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240066,10 +240322,10 @@ webhooks: - name required: - repository - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240149,11 +240405,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -240231,11 +240487,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -240313,11 +240569,11 @@ webhooks: type: string enum: - edited - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 changes: type: object properties: @@ -240336,16 +240592,16 @@ webhooks: properties: added: type: array - items: *297 + items: *298 deleted: type: array - items: *297 + items: *298 updated: type: array items: type: object properties: - condition: *297 + condition: *298 changes: type: object properties: @@ -240378,16 +240634,16 @@ webhooks: properties: added: type: array - items: *619 + items: *620 deleted: type: array - items: *619 + items: *620 updated: type: array items: type: object properties: - rule: *619 + rule: *620 changes: type: object properties: @@ -240624,10 +240880,10 @@ webhooks: - from required: - owner - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240705,10 +240961,10 @@ webhooks: type: string enum: - unarchived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -240786,7 +241042,7 @@ webhooks: type: string enum: - create - alert: &816 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240911,10 +241167,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241124,10 +241380,10 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241205,11 +241461,11 @@ webhooks: type: string enum: - reopen - alert: *816 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *817 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241411,10 +241667,10 @@ webhooks: enum: - fixed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241492,17 +241748,17 @@ webhooks: type: string enum: - assigned - alert: &818 + alert: &819 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri @@ -241556,6 +241812,14 @@ webhooks: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` + covers specific provider patterns and custom patterns; `generic` + covers non-specific patterns and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -241631,12 +241895,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *817 + metadata: *818 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241714,11 +241978,11 @@ webhooks: type: string enum: - created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241799,11 +242063,11 @@ webhooks: type: string enum: - created - alert: *818 - installation: *763 - location: *819 - organization: *764 - repository: *765 + alert: *819 + installation: *764 + location: *820 + organization: *765 + repository: *766 sender: *4 required: - location @@ -242041,11 +242305,11 @@ webhooks: type: string enum: - metadata_created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242122,11 +242386,11 @@ webhooks: type: string enum: - metadata_removed - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242203,11 +242467,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242285,11 +242549,11 @@ webhooks: type: string enum: - reopened - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242367,11 +242631,11 @@ webhooks: type: string enum: - resolved - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242449,12 +242713,12 @@ webhooks: type: string enum: - unassigned - alert: *818 + alert: *819 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242532,11 +242796,11 @@ webhooks: type: string enum: - validated - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242666,10 +242930,10 @@ webhooks: - organization - enterprise - - repository: *765 - enterprise: *762 - installation: *763 - organization: *764 + repository: *766 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -242747,16 +243011,16 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: &820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -242924,11 +243188,11 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: *820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: *821 sender: *4 required: - action @@ -243001,16 +243265,16 @@ webhooks: type: string enum: - withdrawn - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 security_advisory: description: The details of the security advisory, including summary, description, and severity. type: object properties: - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -243177,11 +243441,11 @@ webhooks: from: type: object properties: - security_and_analysis: *296 - enterprise: *762 - installation: *763 - organization: *764 - repository: *342 + security_and_analysis: *297 + enterprise: *763 + installation: *764 + organization: *765 + repository: *343 sender: *4 required: - changes @@ -243259,12 +243523,12 @@ webhooks: type: string enum: - cancelled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: &821 + sponsorship: &822 type: object properties: created_at: @@ -243569,12 +243833,12 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -243662,12 +243926,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -243744,17 +244008,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &822 + effective_date: &823 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: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -243828,7 +244092,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &823 + changes: &824 type: object properties: tier: @@ -243872,13 +244136,13 @@ webhooks: - from required: - tier - effective_date: *822 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + effective_date: *823 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -243955,13 +244219,13 @@ webhooks: type: string enum: - tier_changed - changes: *823 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + changes: *824 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -244035,10 +244299,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -244122,10 +244386,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -244559,15 +244823,15 @@ webhooks: type: - string - 'null' - enterprise: *762 + enterprise: *763 id: description: The unique identifier of the status. type: integer - installation: *763 + installation: *764 name: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 sha: description: The Commit SHA. @@ -244677,15 +244941,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244768,15 +245032,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244859,15 +245123,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244950,15 +245214,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -245034,12 +245298,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - team: &824 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -245269,9 +245533,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -245741,7 +246005,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -245817,9 +246081,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -246289,7 +246553,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -246366,9 +246630,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -246838,7 +247102,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -246982,9 +247246,9 @@ webhooks: - from required: - permissions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -247454,7 +247718,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - changes @@ -247532,9 +247796,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -248004,7 +248268,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -248080,10 +248344,10 @@ webhooks: type: string enum: - started - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -248156,17 +248420,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *762 + enterprise: *763 inputs: type: - object - 'null' additionalProperties: true - installation: *763 - organization: *764 + installation: *764 + organization: *765 ref: type: string - repository: *765 + repository: *766 sender: *4 workflow: type: string @@ -248248,10 +248512,10 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -248507,7 +248771,7 @@ webhooks: type: string required: - conclusion - deployment: *499 + deployment: *500 required: - action - repository @@ -248586,10 +248850,10 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -248871,7 +249135,7 @@ webhooks: required: - status - steps - deployment: *499 + deployment: *500 required: - action - repository @@ -248950,10 +249214,10 @@ webhooks: type: string enum: - queued - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -249099,7 +249363,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -249178,10 +249442,10 @@ webhooks: type: string enum: - waiting - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -249328,7 +249592,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -249408,12 +249672,12 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -250432,12 +250696,12 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -251441,12 +251705,12 @@ webhooks: type: string enum: - requested - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 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 2f0de09510..3efed7c19b 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 @@ -18637,6 +18637,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19099,6 +19125,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19265,6 +19317,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19370,6 +19448,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19553,6 +19657,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19844,6 +19974,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -27944,17 +28100,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { "get": { - "summary": "Get Copilot enterprise user-teams report for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", + "operationId": "copilot/copilot-enterprise-repos-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" }, "parameters": [ { @@ -28023,6 +28179,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -28110,17 +28269,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { - "summary": "Get Copilot users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise user-teams report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-one-day-usage-metrics", + "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" }, "parameters": [ { @@ -28276,17 +28435,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { "get": { - "summary": "Get Copilot users usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-usage-metrics", + "operationId": "copilot/copilot-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -28297,6 +28456,19 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } } ], "responses": { @@ -28306,8 +28478,8 @@ "application/json": { "schema": { "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", "properties": { "download_links": { "type": "array", @@ -28315,23 +28487,17 @@ "type": "string", "format": "uri" }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." }, - "report_end_day": { + "report_day": { "type": "string", "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." + "description": "The day of the report in `YYYY-MM-DD` format." } }, "required": [ "download_links", - "report_start_day", - "report_end_day" + "report_day" ] }, "examples": { @@ -28341,8 +28507,7 @@ "https://example.com/copilot-usage-report-1.ndjson", "https://example.com/copilot-usage-report-2.ndjson" ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" + "report_day": "2025-07-01" } } } @@ -28436,17 +28601,17 @@ } } }, - "/enterprises/{enterprise}/copilot/policies/coding_agent": { - "put": { - "summary": "Set the coding agent policy for an enterprise", - "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/set-enterprise-coding-agent-policy", + "operationId": "copilot/copilot-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" }, "parameters": [ { @@ -28459,46 +28624,206 @@ } } ], - "requestBody": { - "description": "The coding agent policy configuration", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policy_state": { - "type": "string", - "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", - "enum": [ - "enabled_for_all_orgs", - "disabled_for_all_orgs", - "enabled_for_selected_orgs", - "configured_by_org_admins" - ] - } + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] }, - "required": [ - "policy_state" - ] - }, - "examples": { - "default": { - "summary": "Enable coding agent for all organizations", - "value": { - "policy_state": "enabled_for_all_orgs" + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } } } } } - } - }, - "responses": { - "204": { - "description": "A header with no content is returned." }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -118317,6 +118642,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -118459,6 +118789,199 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -147600,6 +148123,175 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "204": { + "description": "A header with no content is returned." + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -222242,6 +222934,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -234347,6 +235085,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -397310,6 +398094,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -630248,6 +631078,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -635320,6 +636196,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -643908,6 +644830,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -649299,6 +650267,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -663095,6 +664109,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -668279,6 +669339,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -827905,6 +829011,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -900718,6 +901870,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1047004,6 +1048202,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1429189,6 +1430433,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1434341,6 +1435631,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1439496,6 +1440832,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1445943,6 +1447325,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1452655,6 +1454083,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1458355,6 +1459829,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1463514,6 +1465034,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1470023,6 +1471589,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1475433,6 +1477045,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1480624,6 +1482282,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1485784,6 +1487488,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1491216,6 +1492966,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1497677,6 +1499473,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1504389,6 +1506231,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1511101,6 +1512989,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1516751,6 +1518685,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1522113,6 +1524093,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1527497,6 +1529523,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1532499,6 +1534571,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1542972,6 +1545090,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1548113,6 +1550277,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1553434,6 +1555644,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1558562,6 +1560818,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1563726,6 +1566028,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1568864,6 +1571212,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1574156,6 +1576550,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1576650,6 +1579090,52 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1579695,6 +1582181,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1584856,6 +1587388,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1590123,6 +1592701,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1595326,6 +1597950,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1600468,6 +1603138,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1679626,6 +1682342,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1682883,6 +1685607,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1685972,6 +1688704,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1689567,6 +1692307,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1692655,6 +1695403,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1695743,6 +1698499,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1698832,6 +1701596,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1701921,6 +1704693,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1705010,6 +1707790,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1708267,6 +1711055,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", 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 a5e7a7649d..75565b64f3 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 @@ -471,7 +471,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &45 + - &46 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 results before this cursor. For @@ -480,7 +480,7 @@ paths: required: false schema: type: string - - &46 + - &47 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 results after this cursor. For @@ -489,7 +489,7 @@ paths: required: false schema: type: string - - &60 + - &61 name: direction description: The direction to sort the results by. in: query @@ -728,7 +728,7 @@ paths: required: - vector_string - score - cvss_severities: &62 + cvss_severities: &63 type: - object - 'null' @@ -775,7 +775,7 @@ paths: required: - vector_string - score - epss: &63 + epss: &64 type: - object - 'null' @@ -938,7 +938,7 @@ paths: - subscriptions_url - type - url - type: &331 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1098,7 +1098,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &125 + schema: &126 title: Validation Error Simple description: Validation Error Simple type: object @@ -1131,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &685 + - &686 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4253,7 +4253,7 @@ paths: schema: type: integer default: 30 - - &219 + - &220 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 @@ -4262,7 +4262,7 @@ paths: required: false schema: type: string - - &220 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4282,7 +4282,7 @@ paths: application/json: schema: type: array - items: &221 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4378,7 +4378,7 @@ paths: - installation_id - repository_id examples: - default: &222 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4441,7 +4441,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &124 + schema: &125 title: Validation Error description: Validation Error type: object @@ -4513,7 +4513,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4648,7 +4648,7 @@ paths: - request - response examples: - default: &224 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4708,7 +4708,7 @@ paths: parameters: - *16 responses: - '202': &37 + '202': &38 description: Accepted content: application/json: @@ -4824,7 +4824,7 @@ paths: type: User site_admin: false created_at: '2022-07-08T16:18:44-04:00' - '304': &35 + '304': &36 description: Not modified '401': &23 description: Requires authentication @@ -4852,7 +4852,7 @@ paths: parameters: - *17 - *19 - - &87 + - &88 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) @@ -5457,7 +5457,7 @@ paths: suspended_at: suspended_by: headers: - Link: &66 + Link: &67 example: ; rel="next", ; rel="last" schema: @@ -5658,7 +5658,7 @@ paths: - selected repositories: type: array - items: &78 + items: &79 title: Repository description: A repository on GitHub. type: object @@ -5685,7 +5685,7 @@ paths: license: anyOf: - type: 'null' - - &84 + - &85 title: License Simple description: License Simple type: object @@ -7271,7 +7271,7 @@ paths: - node_id - private - default_branch - classroom: &32 + classroom: &33 title: Classroom description: A GitHub Classroom classroom type: object @@ -7394,6 +7394,11 @@ paths: archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': &31 + description: Gone + content: + application/json: + schema: *3 x-github: enabledForGitHubApps: true category: classroom @@ -7488,7 +7493,7 @@ paths: - avatar_url - html_url repository: *30 - assignment: &34 + assignment: &35 title: Simple Classroom Assignment description: A GitHub Classroom assignment type: object @@ -7597,7 +7602,7 @@ paths: format: date-time examples: - '2011-01-26T19:06:43Z' - classroom: &31 + classroom: &32 title: Simple Classroom description: A GitHub Classroom classroom type: object @@ -7696,6 +7701,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7803,6 +7809,7 @@ paths: points_available: 15 group_name: monalisa-and-friends '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7835,7 +7842,7 @@ paths: application/json: schema: type: array - items: *31 + items: *32 examples: default: value: @@ -7843,6 +7850,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7866,7 +7874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom parameters: - - &33 + - &34 name: classroom_id description: The unique identifier of the classroom. in: path @@ -7878,7 +7886,7 @@ paths: description: Response content: application/json: - schema: *32 + schema: *33 examples: default: value: @@ -7894,6 +7902,7 @@ paths: avatar_url: https://avatars.githubusercontent.com/u/9919?v=4 url: https://classroom.github.com/classrooms/1-programming-elixir '404': *6 + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7917,7 +7926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom parameters: - - *33 + - *34 - *19 - *17 responses: @@ -7927,7 +7936,7 @@ paths: application/json: schema: type: array - items: *34 + items: *35 examples: default: value: @@ -7953,6 +7962,7 @@ paths: name: Programming Elixir archived: false, url: https://classroom.github.com/classrooms/1-programming-elixir + '410': *31 x-github: enabledForGitHubApps: true category: classroom @@ -7978,7 +7988,7 @@ paths: application/json: schema: type: array - items: &36 + items: &37 title: Code Of Conduct description: Code Of Conduct type: object @@ -8066,7 +8076,7 @@ paths: name: Contributor Covenant url: https://api.github.com/codes_of_conduct/contributor_covenant html_url: https://www.contributor-covenant.org/version/2/0/code_of_conduct/ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8093,7 +8103,7 @@ paths: description: Response content: application/json: - schema: *36 + schema: *37 examples: default: value: @@ -8148,7 +8158,7 @@ paths: This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/). html_url: http://contributor-covenant.org/version/1/4/ '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -8208,9 +8218,9 @@ paths: - ghu_1234567890abcdef1234567890abcdef12345678 - ghr_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab responses: - '202': *37 + '202': *38 '422': *7 - '500': &53 + '500': &54 description: Internal Error content: application/json: @@ -10119,7 +10129,7 @@ paths: zombie_woman: https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8 zzz: https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8 description: Response - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -10140,7 +10150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise parameters: - - &38 + - &39 name: enterprise description: The slug version of the enterprise name. in: path @@ -10152,7 +10162,7 @@ paths: description: Response content: application/json: - schema: &39 + schema: &40 title: Actions cache retention limit for an enterprise description: GitHub Actions cache retention policy for an enterprise. type: object @@ -10165,7 +10175,7 @@ paths: examples: - 14 examples: - default: &40 + default: &41 value: max_cache_retention_days: 80 '403': *27 @@ -10189,14 +10199,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *39 + schema: *40 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -10223,13 +10233,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &41 + schema: &42 title: Actions cache storage limit for an enterprise description: GitHub Actions cache storage policy for an enterprise. type: object @@ -10242,7 +10252,7 @@ paths: examples: - 10 examples: - default: &42 + default: &43 value: max_cache_size_gb: 150 '403': *27 @@ -10266,14 +10276,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: *41 + schema: *42 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -10299,7 +10309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -10307,7 +10317,7 @@ paths: application/json: schema: type: array - items: &43 + items: &44 title: Actions OIDC Custom Property Inclusion description: An OIDC custom property inclusion for repository properties type: object @@ -10355,12 +10365,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: application/json: - schema: &137 + schema: &138 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -10372,7 +10382,7 @@ paths: required: - custom_property_name examples: - default: &44 + default: &45 value: custom_property_name: environment responses: @@ -10380,9 +10390,9 @@ paths: description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -10407,7 +10417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise parameters: - - *38 + - *39 - name: custom_property_name in: path required: true @@ -10443,7 +10453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 - name: per_page in: query description: The number of results per page (max 100). For more information, @@ -10452,8 +10462,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -10461,7 +10471,7 @@ paths: application/json: schema: type: array - items: &47 + items: &48 type: object description: A code security configuration properties: @@ -10790,7 +10800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -10868,7 +10878,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &51 + code_scanning_options: &52 type: - object - 'null' @@ -10887,7 +10897,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &50 + code_scanning_default_setup_options: &51 type: - object - 'null' @@ -11013,9 +11023,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: &48 + default: &49 value: id: 1325 target_type: enterprise @@ -11067,13 +11077,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &191 + schema: &192 type: array description: A list of default code security configurations items: @@ -11087,9 +11097,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *47 + configuration: *48 examples: - default: &192 + default: &193 value: - default_for_new_repos: public configuration: @@ -11172,8 +11182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - - *38 - - &49 + - *39 + - &50 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -11185,10 +11195,10 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 x-github: @@ -11211,8 +11221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11291,8 +11301,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -11388,13 +11398,13 @@ paths: description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *48 - '304': *35 + default: *49 + '304': *36 '403': *27 '404': *6 - '409': &52 + '409': &53 description: Conflict content: application/json: @@ -11421,15 +11431,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 responses: - '204': &59 + '204': &58 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11453,8 +11463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11478,10 +11488,10 @@ paths: value: scope: all responses: - '202': *37 + '202': *38 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11505,8 +11515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - - *38 - - *49 + - *39 + - *50 requestBody: required: true content: @@ -11546,12 +11556,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: &190 + configuration: &191 value: id: 1325 target_type: organization @@ -11612,8 +11622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - - *38 - - *49 + - *39 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -11622,8 +11632,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -11641,7 +11651,7 @@ paths: application/json: schema: type: array - items: &193 + items: &194 type: object description: Repositories associated with a code security configuration and attachment status @@ -11659,7 +11669,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &65 + repository: &66 title: Simple Repository description: A GitHub repository. type: object @@ -11986,7 +11996,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &194 + repository: &195 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12079,8 +12089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day parameters: - - *38 - - &54 + - *39 + - &55 name: day description: The day to request data for, in `YYYY-MM-DD` format. in: query @@ -12095,7 +12105,7 @@ paths: description: Response content: application/json: - schema: &55 + schema: &56 type: object title: Copilot Metrics 1 Day Report description: Links to download the Copilot usage metrics report for @@ -12116,13 +12126,13 @@ paths: - download_links - report_day examples: - default: &56 + default: &57 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_day: '2025-07-01' - '500': *53 + '500': *54 '403': *27 '404': *6 x-github: @@ -12148,13 +12158,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: &57 + schema: &59 type: object title: Copilot Metrics 28 Day Report description: Links to download the latest Copilot usage metrics report @@ -12182,14 +12192,51 @@ paths: - report_start_day - report_end_day examples: - default: &58 + default: &60 value: download_links: - https://example.com/copilot-usage-report-1.ndjson - https://example.com/copilot-usage-report-2.ndjson report_start_day: '2025-07-01' report_end_day: '2025-07-28' - '500': *53 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot enterprise repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Enterprise owners, billing managers, and authorized users with fine-grained "View Enterprise Copilot Metrics" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day + parameters: + - *39 + - *55 + responses: + '200': + description: Response + content: + application/json: + schema: *56 + examples: + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -12215,17 +12262,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12251,17 +12298,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day parameters: - - *38 - - *54 + - *39 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '500': *53 + default: *57 + '500': *54 '403': *27 '404': *6 x-github: @@ -12287,16 +12334,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics parameters: - - *38 + - *39 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -12324,7 +12371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise parameters: - - *38 + - *39 requestBody: description: The coding agent policy configuration required: true @@ -12351,7 +12398,7 @@ paths: value: policy_state: enabled_for_all_orgs responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12378,7 +12425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to enable Copilot cloud agent for required: true @@ -12427,7 +12474,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12453,7 +12500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy parameters: - - *38 + - *39 requestBody: description: The organizations to disable Copilot cloud agent for required: true @@ -12503,7 +12550,7 @@ paths: - engineering - security responses: - '204': *59 + '204': *58 '400': *14 x-github: enabledForGitHubApps: false @@ -12527,8 +12574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - - *38 - - &202 + - *39 + - &203 name: classification in: query description: |- @@ -12537,7 +12584,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &203 + - &204 name: state in: query description: |- @@ -12546,7 +12593,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &204 + - &205 name: severity in: query description: |- @@ -12555,7 +12602,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &205 + - &206 name: ecosystem in: query description: |- @@ -12564,14 +12611,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &206 + - &207 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 - - &207 + - &208 name: epss_percentage in: query description: |- @@ -12583,7 +12630,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 - - &488 + - &489 name: has in: query description: |- @@ -12597,7 +12644,7 @@ paths: type: string enum: - patch - - &208 + - &209 name: assignee in: query description: |- @@ -12606,7 +12653,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &209 + - &210 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12616,7 +12663,7 @@ paths: enum: - development - runtime - - &210 + - &211 name: sort in: query description: |- @@ -12631,9 +12678,9 @@ paths: - updated - epss_percentage default: created - - *60 - - *45 + - *61 - *46 + - *47 - *17 responses: '200': @@ -12642,11 +12689,11 @@ paths: application/json: schema: type: array - items: &211 + items: &212 type: object description: A Dependabot alert. properties: - number: &180 + number: &181 type: integer description: The security alert number. readOnly: true @@ -12664,7 +12711,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &61 + package: &62 type: object description: Details for the vulnerable package. readOnly: true @@ -12713,7 +12760,7 @@ paths: - transitive - inconclusive - - security_advisory: &489 + security_advisory: &490 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12744,13 +12791,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &64 + items: &65 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *61 + package: *62 severity: type: string description: The severity of the vulnerability. @@ -12825,8 +12872,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *62 - epss: *63 + cvss_severities: *63 + epss: *64 cwes: type: array description: Details for the advisory pertaining to Common @@ -12945,30 +12992,30 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *64 - url: &183 + security_vulnerability: *65 + url: &184 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &184 + html_url: &185 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &181 + created_at: &182 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: &182 + updated_at: &183 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: &186 + dismissed_at: &187 type: - string - 'null' @@ -12999,7 +13046,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &185 + fixed_at: &186 type: - string - 'null' @@ -13007,7 +13054,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &490 + auto_dismissed_at: &491 type: - string - 'null' @@ -13015,7 +13062,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &491 + dismissal_request: &492 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -13059,7 +13106,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *65 + repository: *66 required: - number - state @@ -13078,7 +13125,7 @@ paths: - repository additionalProperties: false examples: - default: &212 + default: &213 value: - number: 2 state: dismissed @@ -13416,7 +13463,7 @@ paths: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - '304': *35 + '304': *36 '403': *27 '404': *6 '422': *7 @@ -13440,7 +13487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise parameters: - - *38 + - *39 - name: page in: query description: The page number of results to fetch. @@ -13463,7 +13510,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13486,10 +13533,10 @@ paths: items: anyOf: - type: 'null' - - *65 + - *66 additionalProperties: false examples: - default: &214 + default: &215 value: default_level: public accessible_repositories: @@ -13589,7 +13636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13653,7 +13700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise parameters: - - *38 + - *39 requestBody: required: true content: @@ -13698,7 +13745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams parameters: - - *38 + - *39 - *17 - *19 responses: @@ -13708,7 +13755,7 @@ paths: application/json: schema: type: array - items: &67 + items: &68 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -13795,7 +13842,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -13813,7 +13860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team parameters: - - *38 + - *39 requestBody: required: true content: @@ -13882,9 +13929,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: &75 + default: &76 value: id: 1 name: Justice League @@ -13912,8 +13959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - - *38 - - &68 + - *39 + - &69 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -13932,7 +13979,7 @@ paths: type: array items: *4 examples: - default: &69 + default: &70 value: - login: octocat id: 1 @@ -13953,7 +14000,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13970,8 +14017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14002,7 +14049,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14019,8 +14066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14051,7 +14098,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14068,9 +14115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - - *38 - - *68 - - &70 + - *39 + - *69 + - &71 name: username description: The handle for the GitHub user account. in: path @@ -14084,7 +14131,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &71 + exampleKey1: &72 value: login: octocat id: 1 @@ -14119,9 +14166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '201': description: Successfully added team member @@ -14129,7 +14176,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *71 + exampleKey1: *72 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14146,9 +14193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - - *38 - - *68 - - *70 + - *39 + - *69 + - *71 responses: '204': description: Response @@ -14169,8 +14216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 - *17 - *19 responses: @@ -14180,7 +14227,7 @@ paths: application/json: schema: type: array - items: &72 + items: &73 title: Organization Simple description: A GitHub organization. type: object @@ -14252,7 +14299,7 @@ paths: - avatar_url - description examples: - default: &73 + default: &74 value: login: github id: 1 @@ -14282,8 +14329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14311,9 +14358,9 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: &111 + default: &112 value: - login: github id: 1 @@ -14343,8 +14390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - - *38 - - *68 + - *39 + - *69 requestBody: required: true content: @@ -14384,9 +14431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - - *38 - - *68 - - &74 + - *39 + - *69 + - &75 name: org description: The organization name. The name is not case sensitive. in: path @@ -14398,9 +14445,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 '404': description: The team is not assigned to the organization x-github: @@ -14418,17 +14465,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *72 + schema: *73 examples: - default: *73 + default: *74 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14444,9 +14491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - - *38 - - *68 - - *74 + - *39 + - *69 + - *75 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -14469,8 +14516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - - *38 - - &76 + - *39 + - &77 name: team_slug description: The slug of the team name. in: path @@ -14482,11 +14529,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14503,8 +14550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 requestBody: required: true content: @@ -14572,11 +14619,11 @@ paths: description: Response content: application/json: - schema: *67 + schema: *68 examples: - default: *75 + default: *76 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -14596,8 +14643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - - *38 - - *76 + - *39 + - *77 responses: '204': description: Response @@ -14635,7 +14682,7 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Event description: Event type: object @@ -14646,7 +14693,7 @@ paths: type: - string - 'null' - actor: &77 + actor: &78 title: Actor description: Actor type: object @@ -14687,7 +14734,7 @@ paths: - id - name - url - org: *77 + org: *78 payload: oneOf: - title: CreateEvent @@ -14734,7 +14781,7 @@ paths: properties: action: type: string - discussion: &778 + discussion: &779 title: Discussion description: A Discussion in a repository. type: object @@ -15031,7 +15078,7 @@ paths: - id labels: type: array - items: &81 + items: &82 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -15114,7 +15161,7 @@ paths: properties: action: type: string - issue: &82 + issue: &83 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -15235,7 +15282,7 @@ paths: milestone: anyOf: - type: 'null' - - &281 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -15407,7 +15454,7 @@ paths: timeline_url: type: string format: uri - type: &245 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -15463,12 +15510,12 @@ paths: - node_id - name - description - repository: *78 + repository: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &79 + author_association: &80 title: author_association type: string description: How the author is associated with the @@ -15484,7 +15531,7 @@ paths: - OWNER examples: - OWNER - reactions: &80 + reactions: &81 title: Reaction Rollup type: object properties: @@ -15520,7 +15567,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &696 + sub_issues_summary: &697 title: Sub-issues Summary type: object properties: @@ -15544,7 +15591,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &83 + - &84 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15595,12 +15642,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -15650,7 +15697,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &697 + issue_dependencies_summary: &698 title: Issue Dependencies Summary type: object properties: @@ -15848,10 +15895,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - issue @@ -15860,8 +15907,8 @@ paths: properties: action: type: string - issue: *82 - comment: *83 + issue: *83 + comment: *84 required: - action - issue @@ -16040,7 +16087,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 allow_forking: type: boolean is_template: @@ -16131,7 +16178,7 @@ paths: type: string number: type: integer - pull_request: &85 + pull_request: &86 title: Pull Request Minimal type: object properties: @@ -16202,10 +16249,10 @@ paths: assignees: type: array items: *4 - label: *81 + label: *82 labels: type: array - items: *81 + items: *82 required: - action - number @@ -16215,7 +16262,7 @@ paths: properties: action: type: string - pull_request: *85 + pull_request: *86 comment: type: object properties: @@ -16469,7 +16516,7 @@ paths: - pull_request updated_at: type: string - pull_request: *85 + pull_request: *86 required: - action - review @@ -16518,7 +16565,7 @@ paths: updated_at: type: string format: date-time - reactions: *80 + reactions: *81 required: - action - comment @@ -16529,7 +16576,7 @@ paths: type: string release: allOf: - - &609 + - &610 title: Release description: A release. type: object @@ -16611,7 +16658,7 @@ paths: author: *4 assets: type: array - items: &610 + items: &611 title: Release Asset description: Data related to a release. type: object @@ -16686,7 +16733,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *80 + reactions: *81 required: - assets_url - upload_url @@ -16777,9 +16824,9 @@ paths: before: 883efe034920928c47fe18598c01249d1a9fdabd public: true created_at: '2022-06-07T07:50:26Z' - '304': *35 + '304': *36 '403': *27 - '503': &114 + '503': &115 description: Service unavailable content: application/json: @@ -16881,7 +16928,7 @@ paths: _links: type: object properties: - timeline: &86 + timeline: &87 title: Link With Type description: Hypermedia Link with Type type: object @@ -16893,17 +16940,17 @@ paths: required: - href - type - user: *86 - security_advisories: *86 - current_user: *86 - current_user_public: *86 - current_user_actor: *86 - current_user_organization: *86 + user: *87 + security_advisories: *87 + current_user: *87 + current_user_public: *87 + current_user_actor: *87 + current_user_organization: *87 current_user_organizations: type: array - items: *86 - repository_discussions: *86 - repository_discussions_category: *86 + items: *87 + repository_discussions: *87 + repository_discussions_category: *87 required: - timeline - user @@ -16965,7 +17012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *87 + - *88 - *17 - *19 responses: @@ -16975,7 +17022,7 @@ paths: application/json: schema: type: array - items: &88 + items: &89 title: Base Gist description: Base Gist type: object @@ -17101,7 +17148,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &89 + default: &90 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -17146,8 +17193,8 @@ paths: site_admin: false truncated: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17225,7 +17272,7 @@ paths: description: Response content: application/json: - schema: &90 + schema: &91 title: Gist Simple description: Gist Simple type: object @@ -17243,7 +17290,7 @@ paths: url: type: string format: uri - user: &705 + user: &706 title: Public User description: Public User type: object @@ -17625,7 +17672,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &91 + default: &92 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -17707,7 +17754,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -17729,7 +17776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17739,13 +17786,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17763,7 +17810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *87 + - *88 - *17 - *19 responses: @@ -17773,13 +17820,13 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -17802,7 +17849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &92 + - &93 name: gist_id description: The unique identifier of the gist. in: path @@ -17814,10 +17861,10 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 - '403': &95 + default: *92 + '403': &96 description: Forbidden Gist content: application/json: @@ -17840,7 +17887,7 @@ paths: documentation_url: type: string '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17865,7 +17912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *92 + - *93 requestBody: required: true content: @@ -17929,9 +17976,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - updateGist: *91 + updateGist: *92 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -18089,12 +18136,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18117,7 +18164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *92 + - *93 - *17 - *19 responses: @@ -18127,7 +18174,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Gist Comment description: A comment made to a gist. type: object @@ -18165,7 +18212,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *79 + author_association: *80 required: - url - id @@ -18205,8 +18252,8 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -18229,7 +18276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *92 + - *93 requestBody: required: true content: @@ -18255,9 +18302,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: &94 + default: &95 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -18290,7 +18337,7 @@ paths: example: https://api.github.com/gists/a6db0bec360bb87e9418/comments/1 schema: type: string - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18314,8 +18361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *92 - - &96 + - *93 + - &97 name: comment_id description: The unique identifier of the comment. in: path @@ -18328,12 +18375,12 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 - '304': *35 + default: *95 + '304': *36 '404': *6 - '403': *95 + '403': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18354,8 +18401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 requestBody: required: true content: @@ -18381,9 +18428,9 @@ paths: description: Response content: application/json: - schema: *93 + schema: *94 examples: - default: *94 + default: *95 '404': *6 x-github: githubCloudOnly: false @@ -18400,12 +18447,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *92 - - *96 + - *93 + - *97 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18424,7 +18471,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *92 + - *93 - *17 - *19 responses: @@ -18507,7 +18554,7 @@ paths: schema: type: string '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18525,7 +18572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *92 + - *93 - *17 - *19 responses: @@ -18535,7 +18582,7 @@ paths: application/json: schema: type: array - items: *90 + items: *91 examples: default: value: @@ -18581,9 +18628,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18600,13 +18647,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *92 + - *93 responses: '201': description: Response content: application/json: - schema: *88 + schema: *89 examples: default: value: @@ -18665,7 +18712,7 @@ paths: type: string '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18683,7 +18730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *92 + - *93 responses: '204': description: Response if gist is starred @@ -18695,7 +18742,7 @@ paths: type: object properties: {} additionalProperties: false - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18713,12 +18760,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *92 + - *93 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -18735,11 +18782,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *92 + - *93 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 x-github: @@ -18763,7 +18810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *92 + - *93 - name: sha in: path required: true @@ -18774,9 +18821,9 @@ paths: description: Response content: application/json: - schema: *90 + schema: *91 examples: - default: *91 + default: *92 '422': *15 '404': *6 '403': *27 @@ -18816,7 +18863,7 @@ paths: - Bancha - C - C++ - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18903,7 +18950,7 @@ paths: *.exe *.out *.app - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18939,7 +18986,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -19075,9 +19122,9 @@ paths: environment: production service: web headers: - Link: *66 + Link: *67 '403': *27 - '304': *35 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -19159,7 +19206,7 @@ paths: - closed - all default: open - - &248 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -19177,8 +19224,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - name: collab in: query required: false @@ -19208,9 +19255,9 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: &249 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19455,9 +19502,9 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -19490,7 +19537,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -19529,7 +19576,7 @@ paths: spdx_id: GPL-3.0 url: https://api.github.com/licenses/gpl-3.0 node_id: MDc6TGljZW5zZW1pdA== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19726,7 +19773,7 @@ paths: featured: true '403': *27 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19788,7 +19835,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &97 + X-CommonMarker-Version: &98 example: 0.17.4 schema: type: string @@ -19800,7 +19847,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19843,7 +19890,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *97 + X-CommonMarker-Version: *98 content: text/html: schema: @@ -19852,7 +19899,7 @@ paths: default: summary: Example response value: "

Hello world

" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19872,7 +19919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &100 + - &101 name: account_id description: account_id parameter in: path @@ -19884,7 +19931,7 @@ paths: description: Response content: application/json: - schema: &99 + schema: &100 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -19918,7 +19965,7 @@ paths: - 'null' id: type: integer - plan: &98 + plan: &99 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -20021,7 +20068,7 @@ paths: - 'null' updated_at: type: string - plan: *98 + plan: *99 required: - url - id @@ -20029,7 +20076,7 @@ paths: - login - marketplace_purchase examples: - default: &101 + default: &102 value: url: https://api.github.com/orgs/github type: Organization @@ -20114,9 +20161,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &102 + default: &103 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -20134,7 +20181,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '401': *23 x-github: @@ -20156,14 +20203,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &103 + - &104 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &104 + - &105 name: sort description: The property to sort the results by. in: query @@ -20193,9 +20240,9 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: &105 + default: &106 value: - url: https://api.github.com/orgs/github type: Organization @@ -20246,7 +20293,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 + Link: *67 '404': *6 '422': *15 '401': *23 @@ -20269,15 +20316,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *100 + - *101 responses: '200': description: Response content: application/json: - schema: *99 + schema: *100 examples: - default: *101 + default: *102 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -20309,11 +20356,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *102 + default: *103 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -20334,8 +20381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *103 - *104 + - *105 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -20355,11 +20402,11 @@ paths: application/json: schema: type: array - items: *99 + items: *100 examples: - default: *105 + default: *106 headers: - Link: *66 + Link: *67 '401': *23 x-github: githubCloudOnly: false @@ -20603,7 +20650,7 @@ paths: - "*.example.com" packages: - "*.example.com" - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20622,14 +20669,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &339 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &340 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20646,7 +20693,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -20690,8 +20737,8 @@ paths: created_at: '2022-06-08T23:29:25Z' '404': *6 '403': *27 - '304': *35 - '301': &343 + '304': *36 + '301': &344 description: Moved permanently content: application/json: @@ -20730,7 +20777,7 @@ paths: schema: type: boolean default: false - - *87 + - *88 - &587 name: before description: 'Only show notifications updated before the given time. This @@ -20756,14 +20803,14 @@ paths: application/json: schema: type: array - items: &107 + items: &108 title: Thread description: Thread type: object properties: id: type: string - repository: &155 + repository: &156 title: Minimal Repository description: Minimal Repository type: object @@ -21077,7 +21124,7 @@ paths: type: integer network_count: type: integer - code_of_conduct: *36 + code_of_conduct: *37 license: type: - object @@ -21113,7 +21160,7 @@ paths: type: boolean examples: - false - security_and_analysis: &296 + security_and_analysis: &297 type: - object - 'null' @@ -21412,8 +21459,8 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -21477,7 +21524,7 @@ paths: Notifications are being marked as read in the background. '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21496,7 +21543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &108 + - &109 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 @@ -21510,7 +21557,7 @@ paths: description: Response content: application/json: - schema: *107 + schema: *108 examples: default: value: @@ -21593,7 +21640,7 @@ paths: last_read_at: '2014-11-07T22:01:45Z' url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21612,11 +21659,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *108 + - *109 responses: '205': description: Reset Content - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -21634,7 +21681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *108 + - *109 responses: '204': description: No content @@ -21657,13 +21704,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *108 + - *109 responses: '200': description: Response content: application/json: - schema: &109 + schema: &110 title: Thread Subscription description: Thread Subscription type: object @@ -21707,7 +21754,7 @@ paths: - url - subscribed examples: - default: &110 + default: &111 value: subscribed: true ignored: false @@ -21715,7 +21762,7 @@ paths: created_at: '2012-10-06T21:34:12Z' url: https://api.github.com/notifications/threads/1/subscription thread_url: https://api.github.com/notifications/threads/1 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21738,7 +21785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *108 + - *109 requestBody: required: false content: @@ -21759,10 +21806,10 @@ paths: description: Response content: application/json: - schema: *109 + schema: *110 examples: - default: *110 - '304': *35 + default: *111 + '304': *36 '403': *27 '401': *23 x-github: @@ -21784,11 +21831,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *108 + - *109 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -21879,15 +21926,15 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21908,13 +21955,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -21926,7 +21973,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -21948,14 +21995,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -21982,13 +22029,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &113 + schema: &114 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -22000,7 +22047,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -22022,14 +22069,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *113 + schema: *114 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -22055,8 +22102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization parameters: - - *74 - - &116 + - *75 + - &117 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, @@ -22065,7 +22112,7 @@ paths: required: false schema: type: integer - - &117 + - &118 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 @@ -22074,7 +22121,7 @@ paths: required: false schema: type: integer - - &118 + - &119 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 @@ -22083,21 +22130,21 @@ paths: required: false schema: type: integer - - &119 + - &120 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &120 + - &121 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &121 + - &122 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -22213,8 +22260,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22233,7 +22280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *74 + - *75 - name: page description: The page number of the results to fetch. in: query @@ -22473,7 +22520,7 @@ paths: total_count: 2 '404': *6 '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22491,7 +22538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -22727,8 +22774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *74 - - &115 + - *75 + - &116 name: budget_id description: The ID corresponding to the budget. in: path @@ -22839,8 +22886,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22857,8 +22904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 requestBody: required: true content: @@ -23096,8 +23143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *74 - - *115 + - *75 + - *116 responses: '200': description: Response when deleting a budget @@ -23123,8 +23170,8 @@ paths: '400': *14 '404': *6 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23144,13 +23191,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - *119 - *120 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -23260,8 +23307,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23281,9 +23328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *74 - - *116 - - &756 + - *75 + - *117 + - &757 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 @@ -23292,7 +23339,7 @@ paths: required: false schema: type: integer - - *118 + - *119 responses: '200': description: Billing usage report response for an organization @@ -23367,8 +23414,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23391,19 +23438,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *74 - - *116 + - *75 - *117 - *118 - - &757 + - *119 + - &758 name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - - *121 - - &758 + - *122 + - &759 name: sku description: The SKU to query for usage. in: query @@ -23513,8 +23560,8 @@ paths: netAmount: 8.0 '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23540,13 +23587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &122 + schema: &123 title: Organization Full description: Organization Full type: object @@ -23947,7 +23994,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &123 + default-response: &124 value: login: github id: 1 @@ -24053,7 +24100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *74 + - *75 requestBody: required: false content: @@ -24270,18 +24317,18 @@ paths: description: Response content: application/json: - schema: *122 + schema: *123 examples: - default: *123 + default: *124 '422': description: Validation failed content: application/json: schema: oneOf: - - *124 - *125 - '409': *52 + - *126 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24314,9 +24361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *74 + - *75 responses: - '202': *37 + '202': *38 '404': *6 '403': *27 x-github: @@ -24345,7 +24392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24371,7 +24418,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24392,7 +24439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -24410,7 +24457,7 @@ paths: type: integer repository_cache_usages: type: array - items: &350 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24448,7 +24495,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24468,7 +24515,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -24486,7 +24533,7 @@ paths: type: integer runners: type: array - items: &126 + items: &127 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -24549,7 +24596,7 @@ paths: - size_gb - display_name - source - machine_size_details: &134 + machine_size_details: &135 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -24658,7 +24705,7 @@ paths: - public_ip_enabled - platform examples: - default: &154 + default: &155 value: total_count: 2 runners: @@ -24700,7 +24747,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24718,7 +24765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -24796,9 +24843,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: &135 + default: &136 value: id: 5 name: My hosted ubuntu runner @@ -24839,7 +24886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -24855,7 +24902,7 @@ paths: type: integer images: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -24914,7 +24961,7 @@ paths: - latest_version - state examples: - default: &129 + default: &130 value: total_count: 2 image_versions: @@ -24945,8 +24992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *74 - - &128 + - *75 + - &129 name: image_definition_id description: Image definition ID of custom image in: path @@ -24958,7 +25005,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -24988,8 +25035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *74 - - *128 + - *75 + - *129 responses: '204': description: Response @@ -25012,8 +25059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *128 - - *74 + - *129 + - *75 responses: '200': description: Response @@ -25029,7 +25076,7 @@ paths: type: integer image_versions: type: array - items: &130 + items: &131 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -25067,7 +25114,7 @@ paths: - created_on - state_details examples: - default: *129 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25087,9 +25134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *74 - - *128 - - &131 + - *75 + - *129 + - &132 name: version description: Version of a custom image in: path @@ -25102,7 +25149,7 @@ paths: description: Response content: application/json: - schema: *130 + schema: *131 examples: default: value: @@ -25128,9 +25175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *74 - - *128 - - *131 + - *75 + - *129 + - *132 responses: '204': description: Response @@ -25151,7 +25198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25167,7 +25214,7 @@ paths: type: integer images: type: array - items: &132 + items: &133 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -25207,7 +25254,7 @@ paths: - display_name - source examples: - default: &133 + default: &134 value: id: ubuntu-20.04 platform: linux-x64 @@ -25231,7 +25278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25247,9 +25294,9 @@ paths: type: integer images: type: array - items: *132 + items: *133 examples: - default: *133 + default: *134 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25266,7 +25313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25321,7 +25368,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25337,7 +25384,7 @@ paths: type: integer machine_specs: type: array - items: *134 + items: *135 examples: default: value: @@ -25362,7 +25409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25406,8 +25453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *74 - - &136 + - *75 + - &137 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -25419,11 +25466,11 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25441,8 +25488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 requestBody: required: true content: @@ -25509,9 +25556,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -25527,16 +25574,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *74 - - *136 + - *75 + - *137 responses: '202': description: Response content: application/json: - schema: *126 + schema: *127 examples: - default: *135 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25556,7 +25603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -25564,7 +25611,7 @@ paths: application/json: schema: type: array - items: *43 + items: *44 examples: default: value: @@ -25589,22 +25636,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: *137 + schema: *138 examples: - default: *44 + default: *45 responses: '201': description: OIDC custom property inclusion created content: application/json: - schema: *43 + schema: *44 examples: - default: *44 + default: *45 '400': description: Invalid input '403': *27 @@ -25628,7 +25675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *74 + - *75 - name: custom_property_name in: path required: true @@ -25661,7 +25708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -25687,7 +25734,7 @@ paths: required: - include_claim_keys examples: - default: &138 + default: &139 value: include_claim_keys: - repo @@ -25709,7 +25756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -25732,13 +25779,13 @@ paths: format. type: boolean examples: - default: *138 + default: *139 responses: '201': description: Empty response content: application/json: - schema: &164 + schema: &165 title: Empty Object description: An object without any properties. type: object @@ -25768,7 +25815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -25777,7 +25824,7 @@ paths: schema: type: object properties: - enabled_repositories: &139 + enabled_repositories: &140 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -25790,7 +25837,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: &140 + allowed_actions: &141 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -25798,12 +25845,12 @@ paths: - all - local_only - selected - selected_actions_url: &355 + selected_actions_url: &356 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: &141 + sha_pinning_required: &142 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -25834,7 +25881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -25845,9 +25892,9 @@ paths: schema: type: object properties: - enabled_repositories: *139 - allowed_actions: *140 - sha_pinning_required: *141 + enabled_repositories: *140 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled_repositories examples: @@ -25875,13 +25922,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &359 + schema: &360 type: object properties: days: @@ -25918,12 +25965,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &360 + schema: &361 type: object properties: days: @@ -25940,7 +25987,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -25960,13 +26007,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: approval_policy: @@ -25980,7 +26027,7 @@ paths: required: - approval_policy examples: - default: &361 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -26001,7 +26048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -26011,7 +26058,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -26033,13 +26080,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &362 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -26065,7 +26112,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &143 + default: &144 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -26088,12 +26135,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &363 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -26116,7 +26163,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -26146,7 +26193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -26164,9 +26211,9 @@ paths: type: number repositories: type: array - items: *78 + items: *79 examples: - default: &147 + default: &148 value: total_count: 1 repositories: @@ -26306,7 +26353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -26350,8 +26397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - &144 + - *75 + - &145 name: repository_id description: The unique identifier of the repository. in: path @@ -26379,8 +26426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -26403,13 +26450,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &145 + schema: &146 type: object properties: github_owned_allowed: @@ -26431,7 +26478,7 @@ paths: items: type: string examples: - default: &146 + default: &147 value: github_owned_allowed: true verified_allowed: false @@ -26456,7 +26503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -26464,9 +26511,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -26486,7 +26533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -26534,7 +26581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26561,7 +26608,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26581,7 +26628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -26596,9 +26643,9 @@ paths: type: integer repositories: type: array - items: *78 + items: *79 examples: - default: *147 + default: *148 '403': *27 '404': *6 x-github: @@ -26618,7 +26665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -26666,14 +26713,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26693,14 +26740,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No content '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: enabledForGitHubApps: true @@ -26722,23 +26769,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &364 + schema: &365 type: object properties: - default_workflow_permissions: &148 + default_workflow_permissions: &149 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &149 + can_approve_pull_request_reviews: &150 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -26746,7 +26793,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &150 + default: &151 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -26771,7 +26818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Success response @@ -26779,13 +26826,13 @@ paths: required: false content: application/json: - schema: &365 + schema: &366 type: object properties: - default_workflow_permissions: *148 - can_approve_pull_request_reviews: *149 + default_workflow_permissions: *149 + can_approve_pull_request_reviews: *150 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26805,7 +26852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *74 + - *75 - *17 - *19 - name: visible_to_repository @@ -26830,7 +26877,7 @@ paths: type: number runner_groups: type: array - items: &151 + items: &152 type: object properties: id: @@ -26947,7 +26994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -27020,9 +27067,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: &153 + default: &154 value: id: 2 name: octo-runner-group @@ -27057,8 +27104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - &152 + - *75 + - &153 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -27070,7 +27117,7 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: default: value: @@ -27106,8 +27153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27163,9 +27210,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *152 examples: - default: *153 + default: *154 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27184,8 +27231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *74 - - *152 + - *75 + - *153 responses: '204': description: Response @@ -27208,8 +27255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -27227,11 +27274,11 @@ paths: type: number runners: type: array - items: *126 + items: *127 examples: - default: *154 + default: *155 headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27251,8 +27298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *19 - *17 responses: @@ -27270,9 +27317,9 @@ paths: type: number repositories: type: array - items: *155 + items: *156 examples: - default: &201 + default: &202 value: total_count: 1 repositories: @@ -27524,8 +27571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27569,9 +27616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -27593,9 +27640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *74 - - *152 - - *144 + - *75 + - *153 + - *145 responses: '204': description: Response @@ -27618,8 +27665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 - *17 - *19 responses: @@ -27637,7 +27684,7 @@ paths: type: number runners: type: array - items: &157 + items: &158 title: Self hosted runners description: A self hosted runner type: object @@ -27671,7 +27718,7 @@ paths: type: boolean labels: type: array - items: &160 + items: &161 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -27710,7 +27757,7 @@ paths: - busy - labels examples: - default: &158 + default: &159 value: total_count: 2 runners: @@ -27752,7 +27799,7 @@ paths: name: no-gpu type: custom headers: - Link: *66 + Link: *67 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27771,8 +27818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *74 - - *152 + - *75 + - *153 requestBody: required: true content: @@ -27816,9 +27863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *74 - - *152 - - &156 + - *75 + - *153 + - &157 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -27846,9 +27893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *74 - - *152 - - *156 + - *75 + - *153 + - *157 responses: '204': description: Response @@ -27878,7 +27925,7 @@ paths: in: query schema: type: string - - *74 + - *75 - *17 - *19 responses: @@ -27896,11 +27943,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27922,7 +27969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -27930,7 +27977,7 @@ paths: application/json: schema: type: array - items: &366 + items: &367 title: Runner Application description: Runner Application type: object @@ -27955,7 +28002,7 @@ paths: - download_url - filename examples: - default: &367 + default: &368 value: - os: osx architecture: x64 @@ -27998,7 +28045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -28041,7 +28088,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &368 + '201': &369 description: Response content: application/json: @@ -28051,7 +28098,7 @@ paths: - runner - encoded_jit_config properties: - runner: *157 + runner: *158 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -28080,7 +28127,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28108,13 +28155,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: &159 + schema: &160 title: Authentication Token description: Authentication Token type: object @@ -28138,7 +28185,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *78 + items: *79 single_file: type: - string @@ -28156,7 +28203,7 @@ paths: - token - expires_at examples: - default: &369 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -28187,15 +28234,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *74 + - *75 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: &370 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -28220,16 +28267,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: &371 + default: &372 value: id: 23 name: MBP @@ -28271,8 +28318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: '204': description: Response @@ -28298,10 +28345,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &161 + '200': &162 description: Response content: application/json: @@ -28315,7 +28362,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -28354,8 +28401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -28379,7 +28426,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28403,8 +28450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 requestBody: required: true content: @@ -28429,7 +28476,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28453,10 +28500,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 + - *75 + - *157 responses: - '200': &372 + '200': &373 description: Response content: application/json: @@ -28470,7 +28517,7 @@ paths: type: integer labels: type: array - items: *160 + items: *161 examples: default: value: @@ -28511,9 +28558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *74 - - *156 - - &373 + - *75 + - *157 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -28521,7 +28568,7 @@ paths: schema: type: string responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -28546,7 +28593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -28564,7 +28611,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &163 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28598,7 +28645,7 @@ paths: - updated_at - visibility examples: - default: &168 + default: &169 value: total_count: 3 secrets: @@ -28616,7 +28663,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28639,13 +28686,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &169 + schema: &170 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28680,7 +28727,7 @@ paths: - key_id - key examples: - default: &170 + default: &171 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28705,8 +28752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *74 - - &163 + - *75 + - &164 name: secret_name description: The name of the secret. in: path @@ -28718,9 +28765,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: &171 + default: &172 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28748,8 +28795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -28806,7 +28853,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -28832,8 +28879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -28859,8 +28906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -28878,9 +28925,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: &167 + default: &168 value: total_count: 1 repositories: @@ -28972,8 +29019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29025,8 +29072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29059,8 +29106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29092,8 +29139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *74 - - &172 + - *75 + - &173 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)." @@ -29117,7 +29164,7 @@ paths: type: integer variables: type: array - items: &165 + items: &166 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29165,7 +29212,7 @@ paths: - updated_at - visibility examples: - default: &173 + default: &174 value: total_count: 3 variables: @@ -29186,7 +29233,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29207,7 +29254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -29255,7 +29302,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29280,8 +29327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *74 - - &166 + - *75 + - &167 name: name description: The name of the variable. in: path @@ -29293,9 +29340,9 @@ paths: description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: &174 + default: &175 value: name: USERNAME value: octocat @@ -29323,8 +29370,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29386,8 +29433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -29413,8 +29460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -29432,9 +29479,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29460,8 +29507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -29510,8 +29557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29545,8 +29592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -29580,7 +29627,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -29598,11 +29645,11 @@ paths: type: integer secrets: type: array - items: *162 + items: *163 examples: - default: *168 + default: *169 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29625,15 +29672,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29655,16 +29702,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *162 + schema: *163 examples: - default: *171 + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29686,8 +29733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29744,7 +29791,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -29770,8 +29817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -29797,8 +29844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -29816,9 +29863,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29841,8 +29888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -29894,8 +29941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29928,8 +29975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -29962,8 +30009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - - *74 - - *172 + - *75 + - *173 - *19 responses: '200': @@ -29980,11 +30027,11 @@ paths: type: integer variables: type: array - items: *165 + items: *166 examples: - default: *173 + default: *174 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30005,7 +30052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - - *74 + - *75 requestBody: required: true content: @@ -30053,7 +30100,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -30078,16 +30125,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *174 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30108,8 +30155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -30171,8 +30218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 responses: '204': description: Response @@ -30198,8 +30245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - *19 - *17 responses: @@ -30217,9 +30264,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '409': description: Response when the visibility of the variable is not set to `selected` @@ -30245,8 +30292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 requestBody: required: true content: @@ -30295,8 +30342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -30330,8 +30377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - - *74 - - *166 + - *75 + - *167 - name: repository_id in: path required: true @@ -30372,7 +30419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -30498,7 +30545,7 @@ paths: type: integer deployment_records: type: array - items: &175 + items: &176 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -30545,7 +30592,7 @@ paths: required: - total_count examples: - default: &176 + default: &177 value: total_count: 1 deployment_records: @@ -30586,7 +30633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *74 + - *75 - name: cluster in: path description: The cluster name. @@ -30687,6 +30734,14 @@ paths: - name - deployment_name - digest + partial_success: + type: boolean + default: false + description: | + When enabled, deployments associated with repositories the actor can write to are processed + while deployments associated with repositories that cannot be resolved or written to by the actor + are skipped and reported in the `errors` array. When false (the default), the endpoint returns + an error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found. return_records: type: boolean default: true @@ -30727,11 +30782,111 @@ paths: type: integer deployment_records: type: array - items: *175 + items: *176 + required: + - total_count + examples: + default: *177 + '207': + description: | + This response format is only returned when `partial_success` is set to true in the request body. + Successfully processed deployments are included in the `deployment_records` field. Records that could + not be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are + included in the `errors` field. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created or updated. + type: integer + deployment_records: + type: array + items: *176 + errors: + type: array + description: A list of errors for deployments that could not be + processed. + items: + type: object + properties: + cause: + type: string + description: The reason the deployment failed processing. + enum: + - unauthorized + - not_found + deployment: + type: object + description: The deployment payload that could not be processed. + properties: + name: + type: string + description: The name of the artifact. + digest: + type: string + description: The digest of the artifact. + deployment_name: + type: string + description: The name of the deployment that failed + processing. + version: + type: + - string + - 'null' + description: The version of the deployment. + status: + type: string + description: The deployment status. + github_repository: + type: + - string + - 'null' + description: The repository associated with the deployment. + tags: + type: object + additionalProperties: + type: string + description: Custom metadata tags for the deployment. + runtime_risks: + type: array + items: + type: string + description: Runtime risk classifications for the deployment. required: - total_count examples: - default: *176 + partial_success: + value: + total_count: 1 + deployment_records: + - id: 42 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: us-east-1a + cluster: production-cluster + deployment_name: deployment-pod + tags: + owning-team: platform + runtime_risks: + - sensitive-data + created_at: '2024-01-01T12:00:00Z' + updated_at: '2024-01-01T12:30:00Z' + attestation_id: 777 + errors: + - cause: unauthorized + deployment: + name: my-image + digest: sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2 + deployment_name: restricted-deployment + version: 2.1.1 + status: deployed + github_repository: private-repo + tags: + owning-team: platform + runtime_risks: + - sensitive-data '403': description: Forbidden content: @@ -30778,7 +30933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *74 + - *75 requestBody: required: true content: @@ -30957,7 +31112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *74 + - *75 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -30983,9 +31138,9 @@ paths: - 3 deployment_records: type: array - items: *175 + items: *176 examples: - default: *176 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31005,7 +31160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *74 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -31089,9 +31244,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 requestBody: required: true content: @@ -31115,12 +31270,12 @@ paths: required: - subject_digests examples: - default: &737 + default: &738 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &738 + withPredicateType: &739 value: subject_digests: - sha256:abc123 @@ -31179,7 +31334,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &739 + default: &740 value: attestations_subject_digests: - sha256:abc: @@ -31303,7 +31458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *74 + - *75 requestBody: required: true content: @@ -31368,7 +31523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *74 + - *75 - name: subject_digest description: Subject Digest in: path @@ -31401,9 +31556,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -31451,7 +31606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *74 + - *75 - name: attestation_id description: Attestation ID in: path @@ -31487,9 +31642,9 @@ paths: url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *74 + - *47 + - *75 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -31545,7 +31700,7 @@ paths: initiator: type: string examples: - default: &399 + default: &400 value: attestations: - bundle: @@ -31666,7 +31821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -31678,7 +31833,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31697,8 +31852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: If the user is blocked @@ -31723,8 +31878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31744,8 +31899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -31770,15 +31925,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *74 + - *75 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &177 + schema: &178 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -31804,7 +31959,7 @@ paths: application/json: schema: type: array - items: &178 + items: &179 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -31835,7 +31990,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &200 + items: &201 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31924,7 +32079,7 @@ paths: parent: anyOf: - type: 'null' - - &260 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32060,7 +32215,7 @@ paths: - string - 'null' format: date-time - state: *177 + state: *178 contact_link: description: The contact link of the campaign. type: @@ -32156,9 +32311,9 @@ paths: closed_at: state: open headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32182,7 +32337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -32283,9 +32438,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: &179 + default: &180 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -32334,7 +32489,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32356,7 +32511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32368,16 +32523,16 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32398,7 +32553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32448,7 +32603,7 @@ paths: - string - 'null' format: uri - state: *177 + state: *178 examples: default: value: @@ -32458,9 +32613,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *179 examples: - default: *179 + default: *180 '400': description: Bad Request content: @@ -32472,7 +32627,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32493,7 +32648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *74 + - *75 - name: campaign_number description: The campaign number. in: path @@ -32504,7 +32659,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32526,18 +32681,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *74 - - &425 + - *75 + - &426 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: &187 + schema: &188 type: string description: The name of the tool used to generate the code scanning analysis. - - &426 + - &427 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 @@ -32545,23 +32700,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &188 + schema: &189 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *45 - *46 + - *47 - *19 - *17 - - *60 + - *61 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &428 + schema: &429 type: string description: State of a code scanning alert. enum: @@ -32584,7 +32739,7 @@ paths: be returned. in: query required: false - schema: &429 + schema: &430 type: string description: Severity of a code scanning alert. enum: @@ -32613,18 +32768,18 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: &430 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: &431 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &189 + state: &190 type: - string - 'null' @@ -32634,13 +32789,13 @@ paths: - dismissed - fixed - - fixed_at: *185 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: &431 + dismissed_at: *187 + dismissed_reason: &432 type: - string - 'null' @@ -32651,14 +32806,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &432 + dismissed_comment: &433 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &433 + rule: &434 type: object properties: id: @@ -32719,43 +32874,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &434 + tool: &435 type: object properties: - name: *187 + name: *188 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *188 - most_recent_instance: &435 + guid: *189 + most_recent_instance: &436 type: object properties: - ref: &427 + ref: &428 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &446 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &447 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &448 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: *189 + state: *190 commit_sha: type: string message: @@ -32769,7 +32924,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &449 type: object description: Describe a region within a file for the alert. properties: @@ -32790,7 +32945,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &450 type: - string - 'null' @@ -32802,7 +32957,7 @@ paths: - test - library - - repository: *65 + repository: *66 dismissal_approved_by: anyOf: - type: 'null' @@ -33054,9 +33209,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33078,7 +33233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *74 + - *75 - name: target_type in: query description: The target type of the code security configuration @@ -33097,8 +33252,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 responses: '200': description: Response @@ -33106,7 +33261,7 @@ paths: application/json: schema: type: array - items: *47 + items: *48 examples: default: value: @@ -33184,7 +33339,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *74 + - *75 requestBody: required: true content: @@ -33271,7 +33426,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *51 + code_scanning_options: *52 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -33280,7 +33435,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *50 + code_scanning_default_setup_options: *51 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33425,9 +33580,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *47 + schema: *48 examples: - default: *190 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33449,16 +33604,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *191 + schema: *192 examples: - default: *192 - '304': *35 + default: *193 + '304': *36 '403': *27 '404': *6 x-github: @@ -33483,7 +33638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -33511,11 +33666,11 @@ paths: - 32 - 91 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33537,17 +33692,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: '200': description: Response content: application/json: - schema: *47 + schema: *48 examples: - default: *190 - '304': *35 + default: *191 + '304': *36 '403': *27 '404': *6 x-github: @@ -33570,8 +33725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33658,8 +33813,8 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *50 - code_scanning_options: *51 + code_scanning_default_setup_options: *51 + code_scanning_options: *52 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -33791,7 +33946,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *47 + schema: *48 examples: default: value: @@ -33850,14 +34005,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 responses: - '204': *59 + '204': *58 '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33881,8 +34036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33921,7 +34076,7 @@ paths: - 32 - 91 responses: - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33945,8 +34100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *74 - - *49 + - *75 + - *50 requestBody: required: true content: @@ -33986,12 +34141,12 @@ paths: - none - private_and_internal - public - configuration: *47 + configuration: *48 examples: default: value: default_for_new_repos: all - configuration: *190 + configuration: *191 '403': *27 '404': *6 x-github: @@ -34015,8 +34170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *74 - - *49 + - *75 + - *50 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34025,8 +34180,8 @@ paths: schema: type: integer default: 30 - - *45 - *46 + - *47 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -34044,13 +34199,13 @@ paths: application/json: schema: type: array - items: *193 + items: *194 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *194 + repository: *195 '403': *27 '404': *6 x-github: @@ -34074,7 +34229,7 @@ paths: parameters: - *17 - *19 - - *74 + - *75 responses: '200': description: Response @@ -34090,7 +34245,7 @@ paths: type: integer codespaces: type: array - items: &250 + items: &251 type: object title: Codespace description: A codespace. @@ -34121,11 +34276,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *155 + repository: *156 machine: anyOf: - type: 'null' - - &461 + - &462 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34412,7 +34567,7 @@ paths: - pulls_url - recent_folders examples: - default: &251 + default: &252 value: total_count: 3 codespaces: @@ -34821,8 +34976,8 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -34844,7 +34999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34883,12 +35038,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34911,7 +35066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *74 + - *75 deprecated: true requestBody: required: true @@ -34938,12 +35093,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -34966,7 +35121,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *74 + - *75 requestBody: required: true content: @@ -34992,12 +35147,12 @@ paths: responses: '204': description: Response when successfully modifying permissions. - '304': *35 + '304': *36 '400': description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35018,7 +35173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -35036,7 +35191,7 @@ paths: type: integer secrets: type: array - items: &195 + items: &196 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35077,7 +35232,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &463 value: total_count: 2 secrets: @@ -35090,7 +35245,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35109,13 +35264,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35150,7 +35305,7 @@ paths: - key_id - key examples: - default: &464 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35173,23 +35328,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &466 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35209,8 +35364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -35265,7 +35420,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -35291,8 +35446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -35317,8 +35472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -35336,9 +35491,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 '404': *6 x-github: githubCloudOnly: false @@ -35360,8 +35515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -35411,8 +35566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -35445,8 +35600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -35482,7 +35637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces parameters: - - *74 + - *75 - name: per_page description: The number of results per page (max 100). in: query @@ -35516,7 +35671,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &196 + items: &197 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -35572,7 +35727,7 @@ paths: owner: anyOf: - *4 - - *72 + - *73 description: The user or organization that owns this space. creator: *4 created_at: @@ -35792,7 +35947,7 @@ paths: html_url: https://github.com/copilot/spaces/octo-org/4 api_url: https://api.github.com/organizations/1/copilot-spaces/4 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -35816,7 +35971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space parameters: - - *74 + - *75 requestBody: required: true content: @@ -35913,9 +36068,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &197 + default: &198 summary: Example response for an organization copilot space value: id: 84 @@ -36008,7 +36163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36020,9 +36175,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 x-github: @@ -36046,7 +36201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36151,9 +36306,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *197 + default: *198 '403': *27 '404': *6 '422': *15 @@ -36180,7 +36335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36216,7 +36371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36236,7 +36391,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &198 + items: &199 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -36410,7 +36565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36461,7 +36616,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -36541,7 +36696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36591,7 +36746,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: user: value: @@ -36673,7 +36828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36722,7 +36877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36742,7 +36897,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &199 + items: &200 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36832,7 +36987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36886,7 +37041,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36902,7 +37057,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36939,7 +37094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -36957,7 +37112,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -36991,7 +37146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -37026,7 +37181,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -37061,7 +37216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space parameters: - - *74 + - *75 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -37104,7 +37259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -37213,7 +37368,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37245,7 +37400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *74 + - *75 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -37268,7 +37423,7 @@ paths: currently being billed. seats: type: array - items: &253 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -37281,13 +37436,13 @@ paths: organization: anyOf: - type: 'null' - - *72 + - *73 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *200 - - *67 + - *201 + - *68 type: - 'null' - object @@ -37417,8 +37572,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37451,7 +37606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37493,7 +37648,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37529,7 +37684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37571,7 +37726,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37609,7 +37764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37650,7 +37805,7 @@ paths: default: value: seats_created: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37686,7 +37841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *74 + - *75 requestBody: content: application/json: @@ -37728,7 +37883,7 @@ paths: default: value: seats_cancelled: 5 - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37764,7 +37919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -37801,7 +37956,7 @@ paths: summary: No repositories enabled value: enabled_repositories: none - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37829,7 +37984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37854,7 +38009,7 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -37884,7 +38039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -37899,17 +38054,17 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 required: - total_count - repositories examples: - default: *201 - '500': *53 + default: *202 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37933,7 +38088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -37959,11 +38114,11 @@ paths: responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -37989,16 +38144,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 x-github: githubCloudOnly: false @@ -38023,16 +38178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: No Content - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38063,7 +38218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 responses: '200': description: OK @@ -38083,7 +38238,7 @@ paths: value: octo-repo: - "/src/some-dir/kernel.rs" - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -38116,7 +38271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *74 + - *75 requestBody: description: The content exclusion rules to set required: true @@ -38168,7 +38323,7 @@ paths: default: value: message: Content exclusion rules updated successfully. - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -38203,18 +38358,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -38242,16 +38397,55 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *74 + - *75 + responses: + '200': + description: Response + content: + application/json: + schema: *59 + examples: + default: *60 + '500': *54 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: copilot + subcategory: copilot-usage-metrics + "/orgs/{org}/copilot/metrics/reports/repos-1-day": + get: + summary: Get Copilot organization repository report for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository. + + The report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. + + Organization owners and authorized users with fine-grained "View Organization Copilot Metrics" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. + + For more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations). + tags: + - copilot + operationId: copilot/copilot-organization-repos-one-day-report + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day + parameters: + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *57 + schema: *56 examples: - default: *58 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -38279,18 +38473,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -38318,18 +38512,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *74 - - *54 + - *75 + - *55 responses: '200': description: Response content: application/json: - schema: *55 + schema: *56 examples: - default: *56 - '204': *59 - '500': *53 + default: *57 + '204': *58 + '500': *54 '403': *27 '404': *6 x-github: @@ -38357,16 +38551,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *57 + schema: *59 examples: - default: *58 - '500': *53 + default: *60 + '500': *54 '403': *27 '404': *6 x-github: @@ -38390,13 +38584,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *74 - - *202 + - *75 - *203 - *204 - *205 - *206 - *207 + - *208 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38426,7 +38620,7 @@ paths: enum: - patch - deployment - - *208 + - *209 - name: runtime_risk in: query description: |- @@ -38435,11 +38629,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -38448,10 +38642,10 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: - default: *212 - '304': *35 + default: *213 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -38476,7 +38670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *74 + - *75 - name: page in: query description: The page number of results to fetch. @@ -38499,9 +38693,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *214 examples: - default: *214 + default: *215 '403': *27 '404': *6 x-github: @@ -38532,7 +38726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -38598,7 +38792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *74 + - *75 requestBody: required: true content: @@ -38647,7 +38841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *74 + - *75 - *17 - *19 responses: @@ -38665,7 +38859,7 @@ paths: type: integer secrets: type: array - items: &215 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38717,7 +38911,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38738,13 +38932,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: &494 + schema: &495 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38763,7 +38957,7 @@ paths: - key_id - key examples: - default: &495 + default: &496 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38786,14 +38980,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: Response content: application/json: - schema: *215 + schema: *216 examples: default: value: @@ -38821,8 +39015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -38879,7 +39073,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -38911,8 +39105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -38936,8 +39130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - *19 - *17 responses: @@ -38955,9 +39149,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38978,8 +39172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -39029,8 +39223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -39061,8 +39255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *74 - - *163 + - *75 + - *164 - name: repository_id in: path required: true @@ -39092,7 +39286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -39100,7 +39294,7 @@ paths: application/json: schema: type: array - items: &262 + items: &263 title: Package description: A software package type: object @@ -39153,7 +39347,7 @@ paths: repository: anyOf: - type: 'null' - - *155 + - *156 created_at: type: string format: date-time @@ -39171,7 +39365,7 @@ paths: - created_at - updated_at examples: - default: &263 + default: &264 value: - id: 197 name: hello_docker @@ -39249,7 +39443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *74 + - *75 - *17 - *19 responses: @@ -39259,7 +39453,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -39331,7 +39525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *74 + - *75 - *17 - *19 responses: @@ -39341,7 +39535,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -39395,7 +39589,7 @@ paths: - invitation_teams_url - node_id examples: - default: &240 + default: &241 value: - id: 1 login: monalisa @@ -39428,7 +39622,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -39452,7 +39646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *74 + - *75 - *17 - *19 responses: @@ -39462,7 +39656,7 @@ paths: application/json: schema: type: array - items: &216 + items: &217 title: Org Hook description: Org Hook type: object @@ -39562,7 +39756,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -39585,7 +39779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *74 + - *75 requestBody: required: true content: @@ -39647,9 +39841,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: &217 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39696,8 +39890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *74 - - &218 + - *75 + - &219 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. @@ -39710,9 +39904,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: - default: *217 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39739,8 +39933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39786,7 +39980,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *217 examples: default: value: @@ -39827,8 +40021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -39855,8 +40049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 responses: '200': description: Response @@ -39886,8 +40080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *74 - - *218 + - *75 + - *219 requestBody: required: false content: @@ -39937,11 +40131,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *74 - - *218 - - *17 + - *75 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -39949,9 +40143,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -39976,17 +40170,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -40011,11 +40205,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -40041,8 +40235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *74 - - *218 + - *75 + - *219 responses: '204': description: Response @@ -40064,8 +40258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *74 - - &229 + - *75 + - &230 name: actor_type in: path description: The type of the actor @@ -40078,14 +40272,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &230 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &225 + - &226 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`.' @@ -40093,7 +40287,7 @@ paths: required: true schema: type: string - - &226 + - &227 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) @@ -40104,7 +40298,7 @@ paths: type: string - *19 - *17 - - *60 + - *61 - name: sort description: The property to sort the results by. in: query @@ -40187,13 +40381,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 - *19 - *17 - - *60 - - &235 + - *61 + - &236 name: sort description: The property to sort the results by. in: query @@ -40271,15 +40465,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *74 - - *225 + - *75 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &227 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40295,7 +40489,7 @@ paths: type: integer format: int64 examples: - default: &228 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40315,24 +40509,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *74 - - &231 + - *75 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *225 - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40350,19 +40544,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *74 - - *225 + - *75 - *226 - - *229 + - *227 - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *227 + schema: *228 examples: - default: *228 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40379,10 +40573,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *74 - - *225 + - *75 - *226 - - &232 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40395,7 +40589,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40411,7 +40605,7 @@ paths: type: integer format: int64 examples: - default: &234 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40447,19 +40641,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *74 - - *231 - - *225 - - *226 + - *75 - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40476,20 +40670,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *74 - - *229 + - *75 - *230 - - *225 + - *231 - *226 - - *232 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *233 + schema: *234 examples: - default: *234 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40506,14 +40700,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *74 - - *231 - - *225 + - *75 + - *232 - *226 + - *227 - *19 - *17 - - *60 - - *235 + - *61 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40589,7 +40783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *74 + - *75 responses: '200': description: Response @@ -40597,7 +40791,7 @@ paths: application/json: schema: *20 examples: - default: &532 + default: &533 value: id: 1 account: @@ -40666,7 +40860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -40736,7 +40930,7 @@ paths: suspended_at: suspended_by: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40755,7 +40949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -40763,12 +40957,12 @@ paths: application/json: schema: anyOf: - - &237 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &236 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40796,7 +40990,7 @@ paths: properties: {} additionalProperties: false examples: - default: &238 + default: &239 value: limit: collaborators_only origin: organization @@ -40820,18 +41014,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: application/json: - schema: &533 + schema: &534 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *236 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40856,9 +41050,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *238 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -40876,7 +41070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -40900,7 +41094,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *74 + - *75 - *17 - *19 - name: role @@ -40934,11 +41128,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -40959,7 +41153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *74 + - *75 requestBody: required: false content: @@ -41013,7 +41207,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: default: value: @@ -41067,8 +41261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *74 - - &241 + - *75 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41098,8 +41292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *74 - - *241 + - *75 + - *242 - *17 - *19 responses: @@ -41109,9 +41303,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &261 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41127,7 +41321,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -41146,7 +41340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -41154,7 +41348,7 @@ paths: application/json: schema: type: array - items: &242 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -41323,7 +41517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -41417,9 +41611,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: &243 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -41474,8 +41668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *74 - - &244 + - *75 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -41585,9 +41779,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *243 examples: - default: *243 + default: *244 '404': *6 '422': *7 x-github: @@ -41611,10 +41805,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *74 - - *244 + - *75 + - *245 responses: - '204': *59 + '204': *58 '404': *6 '422': *7 x-github: @@ -41634,7 +41828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -41642,9 +41836,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: &537 + default: &538 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41680,7 +41874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -41730,9 +41924,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: &246 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41764,8 +41958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *74 - - &247 + - *75 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41821,9 +42015,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *246 examples: - default: *246 + default: *247 '404': *6 '422': *7 x-github: @@ -41847,8 +42041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *74 - - *247 + - *75 + - *248 responses: '204': description: Response @@ -41881,7 +42075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *74 + - *75 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -41911,7 +42105,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -41929,8 +42123,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -41940,11 +42134,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -41964,7 +42158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *74 + - *75 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -42002,9 +42196,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -42022,8 +42216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if requester is an organization member and user is @@ -42057,8 +42251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -42090,8 +42284,8 @@ paths: parameters: - *17 - *19 - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response @@ -42107,11 +42301,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42134,9 +42328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *74 - - *70 - - &252 + - *75 + - *71 + - &253 name: codespace_name in: path required: true @@ -42144,9 +42338,9 @@ paths: schema: type: string responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42169,17 +42363,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *74 - - *70 - - *252 + - *75 + - *71 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: &460 + default: &461 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42320,8 +42514,8 @@ paths: pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls/1 recent_folders: [] template: - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42352,14 +42546,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *253 + schema: *254 examples: default: value: @@ -42403,7 +42597,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -42428,14 +42622,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '200': description: Response content: application/json: - schema: &254 + schema: &255 title: Org Membership description: Org Membership type: object @@ -42484,7 +42678,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *72 + organization: *73 user: anyOf: - type: 'null' @@ -42504,7 +42698,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &255 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42576,8 +42770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -42605,9 +42799,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *255 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 x-github: @@ -42637,8 +42831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -42663,7 +42857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *74 + - *75 - *17 - *19 - name: exclude @@ -42685,7 +42879,7 @@ paths: application/json: schema: type: array - items: &256 + items: &257 title: Migration description: A migration. type: object @@ -42727,7 +42921,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *78 + items: *79 url: type: string format: uri @@ -42783,7 +42977,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *65 + items: *66 version: '2026-03-10' examples: default: @@ -42937,7 +43131,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42953,7 +43147,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *74 + - *75 requestBody: required: true content: @@ -43034,7 +43228,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -43212,8 +43406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *74 - - &257 + - *75 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -43241,7 +43435,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -43410,8 +43604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '302': description: Response @@ -43432,8 +43626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *74 - - *257 + - *75 + - *258 responses: '204': description: Response @@ -43456,9 +43650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *74 - - *257 - - &720 + - *75 + - *258 + - &721 name: repo_name description: repo_name parameter in: path @@ -43485,8 +43679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *74 - - *257 + - *75 + - *258 - *17 - *19 responses: @@ -43496,9 +43690,9 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: &268 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43611,7 +43805,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -43626,7 +43820,7 @@ paths: content: application/json: schema: - items: *65 + items: *66 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -43655,7 +43849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response - list of organization roles @@ -43671,7 +43865,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &259 + items: &260 title: Organization Role description: Organization roles type: object @@ -43820,8 +44014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -43846,9 +44040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *74 - - *76 - - &258 + - *75 + - *77 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -43883,9 +44077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *74 - - *76 - - *258 + - *75 + - *77 + - *259 responses: '204': description: Response @@ -43910,8 +44104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -43936,9 +44130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43968,9 +44162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *74 - - *70 - - *258 + - *75 + - *71 + - *259 responses: '204': description: Response @@ -43998,14 +44192,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 responses: '200': description: Response content: application/json: - schema: *259 + schema: *260 examples: default: value: @@ -44055,8 +44249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -44135,7 +44329,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 type: description: The ownership type of the team type: string @@ -44168,9 +44362,9 @@ paths: - type - parent examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -44197,8 +44391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *74 - - *258 + - *75 + - *259 - *17 - *19 responses: @@ -44227,7 +44421,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *260 + items: *261 name: type: - string @@ -44344,9 +44538,9 @@ paths: - type - url examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': description: Response if the organization or role does not exist. '422': @@ -44368,7 +44562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *74 + - *75 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44395,9 +44589,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44420,8 +44614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *74 - - *70 + - *75 + - *71 requestBody: required: false content: @@ -44478,8 +44672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -44536,8 +44730,8 @@ paths: - docker - nuget - container - - *74 - - &721 + - *75 + - &722 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44573,12 +44767,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *263 + default: *264 '403': *27 '401': *23 - '400': &723 + '400': &724 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44600,7 +44794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &264 + - &265 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 @@ -44618,20 +44812,20 @@ paths: - docker - nuget - container - - &265 + - &266 name: package_name description: The name of the package. in: path required: true schema: type: string - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: default: value: @@ -44683,9 +44877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 responses: '204': description: Response @@ -44717,9 +44911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - name: token description: package token schema: @@ -44751,9 +44945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *264 - *265 - - *74 + - *266 + - *75 - *19 - *17 - name: state @@ -44773,7 +44967,7 @@ paths: application/json: schema: type: array - items: &266 + items: &267 title: Package Version description: A version of a software package type: object @@ -44908,10 +45102,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - &267 + - *266 + - *75 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -44923,7 +45117,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -44959,10 +45153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -44994,10 +45188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *264 - *265 - - *74 - - *267 + - *266 + - *75 + - *268 responses: '204': description: Response @@ -45024,10 +45218,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 - *17 - *19 - - &269 + - &270 name: sort description: The property by which to sort the results. in: query @@ -45037,8 +45231,8 @@ paths: enum: - created_at default: created_at - - *60 - - &270 + - *61 + - &271 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45050,7 +45244,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &271 + - &272 name: repository description: The name of the repository to use to filter the results. in: query @@ -45059,7 +45253,7 @@ paths: type: string examples: - Hello-World - - &272 + - &273 name: permission description: The permission to use to filter the results. in: query @@ -45068,7 +45262,7 @@ paths: type: string examples: - issues_read - - &273 + - &274 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) @@ -45078,7 +45272,7 @@ paths: schema: type: string format: date-time - - &274 + - &275 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) @@ -45088,7 +45282,7 @@ paths: schema: type: string format: date-time - - &275 + - &276 name: token_id description: The ID of the token in: query @@ -45101,7 +45295,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -45236,7 +45430,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45256,7 +45450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -45298,11 +45492,11 @@ paths: action: deny reason: Access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '202': *37 + '202': *38 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45323,7 +45517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45360,11 +45554,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45385,7 +45579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *74 + - *75 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -45396,7 +45590,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -45405,11 +45599,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45430,19 +45624,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *74 + - *75 - *17 - *19 - - *269 - - *60 - *270 + - *61 - *271 - *272 - *273 - *274 - *275 + - *276 responses: - '500': *53 + '500': *54 '422': *15 '404': *6 '403': *27 @@ -45571,7 +45765,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45591,7 +45785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *74 + - *75 requestBody: required: true content: @@ -45626,9 +45820,9 @@ paths: - 1296269 - 1296280 responses: - '500': *53 + '500': *54 '404': *6 - '202': *37 + '202': *38 '403': *27 '422': *15 x-github: @@ -45651,7 +45845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *74 + - *75 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -45679,9 +45873,9 @@ paths: value: action: revoke responses: - '500': *53 + '500': *54 '404': *6 - '204': *59 + '204': *58 '403': *27 '422': *15 x-github: @@ -45703,7 +45897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *74 + - *75 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -45713,7 +45907,7 @@ paths: - *17 - *19 responses: - '500': *53 + '500': *54 '404': *6 '403': *27 '200': @@ -45722,11 +45916,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45748,7 +45942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -45766,7 +45960,7 @@ paths: type: integer configurations: type: array - items: &276 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45908,7 +46102,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *66 + Link: *67 '400': *14 '404': *6 x-github: @@ -45931,7 +46125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -46283,7 +46477,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &277 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46324,7 +46518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -46352,7 +46546,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -46374,16 +46568,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *276 + schema: *277 examples: - default: *277 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -46405,8 +46599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 requestBody: required: true content: @@ -46594,8 +46788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *74 - - *163 + - *75 + - *164 responses: '204': description: Response @@ -46618,15 +46812,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *74 + - *75 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -46635,7 +46829,7 @@ paths: application/json: schema: type: array - items: &278 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -46709,7 +46903,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &806 + - &807 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46794,7 +46988,7 @@ paths: - deleted_at - deleted_by examples: - default: &279 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46877,8 +47071,8 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46897,25 +47091,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &280 + - &281 name: project_number description: The project's number. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -46934,8 +47128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -46969,7 +47163,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -46982,8 +47176,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *82 - - &475 + - *83 + - &476 title: Pull Request Simple description: Pull Request Simple type: object @@ -47103,7 +47297,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -47152,7 +47346,7 @@ paths: items: *4 requested_teams: type: array - items: *200 + items: *201 head: type: object properties: @@ -47160,7 +47354,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -47180,7 +47374,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: @@ -47196,7 +47390,7 @@ paths: _links: type: object properties: - comments: &282 + comments: &283 title: Link description: Hypermedia Link type: object @@ -47205,13 +47399,13 @@ paths: type: string required: - href - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -47221,7 +47415,7 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. @@ -47248,6 +47442,46 @@ paths: - merge_method - commit_title - commit_message + stack: &596 + title: Pull Request Stack + description: The stack information associated with a pull + request. + type: + - object + - 'null' + properties: + base: + type: object + properties: + ref: + type: string + description: The base ref of the stack this pull + request belongs to. + sha: + type: string + description: The base SHA of the stack this pull + request belongs to. + required: + - ref + - sha + size: + type: integer + description: The total number of pull requests in the + stack. + position: + type: integer + description: The one-based position of this pull request + within the stack, where 1 is the bottom of the stack. + id: + type: integer + description: The ID of the stack that this pull request + belongs to. + number: + type: integer + description: The number of the stack that this pull + request belongs to. + required: + - base draft: description: Indicates whether or not the pull request is a draft. @@ -47396,7 +47630,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &284 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47440,7 +47674,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &286 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47495,7 +47729,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 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -47514,11 +47748,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *280 - - *74 + - *281 + - *75 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -47526,7 +47760,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47679,7 +47913,7 @@ paths: - updated_at - project_url examples: - default: &743 + default: &744 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47790,8 +48024,8 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -47809,8 +48043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 requestBody: required: true content: @@ -47856,7 +48090,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &744 + items: &745 type: object properties: name: @@ -47893,7 +48127,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &745 + iteration_configuration: &746 type: object description: The configuration for iteration fields. properties: @@ -47943,7 +48177,7 @@ paths: value: name: Due date data_type: date - single_select_field: &746 + single_select_field: &747 summary: Create a single select field value: name: Priority @@ -47970,7 +48204,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &747 + iteration_field: &748 summary: Create an iteration field value: name: Sprint @@ -47994,9 +48228,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *283 + schema: *284 examples: - text_field: &748 + text_field: &749 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -48005,7 +48239,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &749 + number_field: &750 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -48014,7 +48248,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &750 + date_field: &751 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -48023,7 +48257,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &751 + single_select_field: &752 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48057,7 +48291,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &752 + iteration_field: &753 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48082,7 +48316,7 @@ paths: duration: 14 created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' - '304': *35 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -48102,23 +48336,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *280 - - &753 + - *281 + - &754 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: &754 + default: &755 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48153,8 +48387,8 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48174,8 +48408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *280 - - *74 + - *281 + - *75 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -48197,8 +48431,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -48207,7 +48441,7 @@ paths: application/json: schema: type: array - items: &287 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -48224,7 +48458,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: *284 + content_type: *285 content: type: - object @@ -48274,7 +48508,7 @@ paths: - updated_at - archived_at examples: - default: &288 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48951,8 +49185,8 @@ paths: data_type: sub_issues_progress value: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -48971,8 +49205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -49042,23 +49276,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -49077,9 +49311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *280 - - *74 - - &289 + - *281 + - *75 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -49105,12 +49339,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -49128,9 +49362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49203,13 +49437,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -49229,9 +49463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *280 - - *74 - - *289 + - *281 + - *75 + - *290 responses: '204': description: Response @@ -49254,8 +49488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *74 - - *280 + - *75 + - *281 requestBody: required: true content: @@ -49329,7 +49563,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &734 + schema: &735 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49433,7 +49667,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &290 + value: &291 value: id: 1 number: 1 @@ -49479,11 +49713,11 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -49510,9 +49744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *280 - - *74 - - &755 + - *281 + - *75 + - &756 name: view_number description: The number that identifies the project view. in: path @@ -49534,8 +49768,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -49544,12 +49778,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -49571,7 +49805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Response @@ -49579,7 +49813,7 @@ paths: application/json: schema: type: array - items: &291 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -49657,7 +49891,7 @@ paths: - property_name - value_type examples: - default: &292 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49706,7 +49940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -49717,7 +49951,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *291 + items: *292 minItems: 1 maxItems: 100 required: @@ -49747,9 +49981,9 @@ paths: application/json: schema: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 '403': *27 '404': *6 x-github: @@ -49770,8 +50004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *74 - - &293 + - *75 + - &294 name: custom_property_name description: The custom property name in: path @@ -49783,9 +50017,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &294 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49819,8 +50053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 requestBody: required: true content: @@ -49900,9 +50134,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *294 + default: *295 '403': *27 '404': *6 x-github: @@ -49925,10 +50159,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *74 - - *293 + - *75 + - *294 responses: - '204': *59 + '204': *58 '403': *27 '404': *6 x-github: @@ -49949,7 +50183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 - *17 - *19 - name: repository_query @@ -49990,7 +50224,7 @@ paths: - octocat/Hello-World properties: type: array - items: &295 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -50032,7 +50266,7 @@ paths: - property_name: team value: octocat headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -50060,7 +50294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *74 + - *75 requestBody: required: true content: @@ -50080,7 +50314,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - repository_names - properties @@ -50121,7 +50355,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *74 + - *75 - *17 - *19 responses: @@ -50133,9 +50367,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50152,8 +50386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response if user is a public member @@ -50177,8 +50411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -50199,8 +50433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *74 - - *70 + - *75 + - *71 responses: '204': description: Response @@ -50224,7 +50458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *74 + - *75 - name: type description: Specifies the types of repositories you want returned. in: query @@ -50270,11 +50504,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50293,7 +50527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *74 + - *75 requestBody: required: true content: @@ -50475,7 +50709,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &343 title: Full Repository description: Full Repository type: object @@ -50834,7 +51068,7 @@ paths: template_repository: anyOf: - type: 'null' - - *78 + - *79 temp_clone_token: type: - string @@ -50934,13 +51168,13 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' - *4 - parent: *78 - source: *78 + parent: *79 + source: *79 forks: type: integer master_branch: @@ -50953,7 +51187,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &480 + code_of_conduct: &481 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50983,7 +51217,7 @@ paths: - key - name - html_url - security_and_analysis: *296 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51078,7 +51312,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &344 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51608,10 +51842,10 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - *17 - *19 - - &618 + - &619 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51630,7 +51864,7 @@ paths: application/json: schema: type: array - items: &323 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -51665,7 +51899,7 @@ paths: source: type: string description: The name of the source - enforcement: &299 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -51678,7 +51912,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &300 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -51750,7 +51984,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &297 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -51774,7 +52008,7 @@ paths: match. items: type: string - - &301 + - &302 title: Organization ruleset conditions type: object description: |- @@ -51788,7 +52022,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -51822,7 +52056,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -51844,7 +52078,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *297 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -51857,7 +52091,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &298 + items: &299 title: Repository ruleset property targeting definition type: object @@ -51890,7 +52124,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *298 + items: *299 required: - repository_property type: @@ -51898,12 +52132,12 @@ paths: - object rules: type: array - items: &619 + items: &620 title: Repository Rule type: object description: A repository rule. oneOf: - - &302 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -51915,7 +52149,7 @@ paths: type: string enum: - creation - - &303 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -51936,7 +52170,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &304 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -51948,7 +52182,7 @@ paths: type: string enum: - deletion - - &305 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -51960,7 +52194,7 @@ paths: type: string enum: - required_linear_history - - &616 + - &617 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52038,7 +52272,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &306 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -52062,7 +52296,7 @@ paths: type: string required: - required_deployment_environments - - &307 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -52074,7 +52308,7 @@ paths: type: string enum: - required_signatures - - &308 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -52217,7 +52451,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &309 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -52265,7 +52499,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &310 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -52277,7 +52511,7 @@ paths: type: string enum: - non_fast_forward - - &311 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -52314,7 +52548,7 @@ paths: required: - operator - pattern - - &312 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -52351,7 +52585,7 @@ paths: required: - operator - pattern - - &313 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -52388,7 +52622,7 @@ paths: required: - operator - pattern - - &314 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -52425,7 +52659,7 @@ paths: required: - operator - pattern - - &315 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -52462,7 +52696,7 @@ paths: required: - operator - pattern - - &320 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -52512,7 +52746,7 @@ paths: - repository_id required: - workflows - - &321 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -52573,7 +52807,7 @@ paths: - tool required: - code_scanning_tools - - &322 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -52599,7 +52833,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &617 + - &618 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52611,7 +52845,7 @@ paths: type: string enum: - license_compliance_scanning - - &316 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -52636,7 +52870,7 @@ paths: type: string required: - restricted_file_paths - - &317 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -52660,7 +52894,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &318 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -52683,7 +52917,7 @@ paths: type: string required: - restricted_file_extensions - - &319 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -52744,7 +52978,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -52760,7 +52994,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 requestBody: description: Request body required: true @@ -52781,21 +53015,20 @@ paths: - push - repository default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &325 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *302 - *303 - *304 - *305 @@ -52816,6 +53049,7 @@ paths: - *320 - *321 - *322 + - *323 required: - name - enforcement @@ -52853,9 +53087,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &324 + default: &325 value: id: 21 name: super cool ruleset @@ -52896,7 +53130,7 @@ paths: updated_at: '2023-09-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -52910,8 +53144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *74 - - &620 + - *75 + - &621 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 @@ -52926,7 +53160,7 @@ paths: in: query schema: type: string - - &621 + - &622 name: time_period description: |- The time period to filter by. @@ -52942,14 +53176,14 @@ paths: - week - month default: day - - &622 + - &623 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 - - &623 + - &624 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52962,7 +53196,7 @@ paths: - bypass - all default: all - - &624 + - &625 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52985,7 +53219,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &626 title: Rule Suites description: Response type: array @@ -53041,7 +53275,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &626 + default: &627 value: - id: 21 actor_id: 12 @@ -53065,7 +53299,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53084,8 +53318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *74 - - &627 + - *75 + - &628 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53101,7 +53335,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &629 title: Rule Suite description: Response type: object @@ -53208,7 +53442,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &629 + default: &630 value: id: 21 actor_id: 12 @@ -53243,7 +53477,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53269,7 +53503,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53281,11 +53515,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 - '500': *53 + '500': *54 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -53301,7 +53535,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53327,16 +53561,16 @@ paths: - tag - push - repository - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *301 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *325 + items: *326 examples: default: value: @@ -53371,12 +53605,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *324 + default: *325 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -53392,7 +53626,7 @@ paths: category: orgs subcategory: rules parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53403,7 +53637,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -53415,7 +53649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *74 + - *75 - *17 - *19 - name: ruleset_id @@ -53431,7 +53665,7 @@ paths: application/json: schema: type: array - items: &326 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -53455,7 +53689,7 @@ paths: type: string format: date-time examples: - default: &631 + default: &632 value: - version_id: 3 actor: @@ -53473,7 +53707,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53490,7 +53724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *74 + - *75 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53508,9 +53742,9 @@ paths: description: Response content: application/json: - schema: &632 + schema: &633 allOf: - - *326 + - *327 - type: object required: - state @@ -53557,7 +53791,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53579,8 +53813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *74 - - &633 + - *75 + - &634 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53591,7 +53825,7 @@ paths: enum: - open - resolved - - &634 + - &635 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53601,7 +53835,7 @@ paths: required: false schema: type: string - - &635 + - &636 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53612,7 +53846,7 @@ paths: required: false schema: type: string - - &636 + - &637 name: exclude_providers in: query description: |- @@ -53623,7 +53857,7 @@ paths: required: false schema: type: string - - &637 + - &638 name: providers in: query description: |- @@ -53634,7 +53868,7 @@ paths: required: false schema: type: string - - &638 + - &639 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53643,7 +53877,7 @@ paths: required: false schema: type: string - - &639 + - &640 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53662,7 +53896,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &640 + - &641 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. @@ -53674,10 +53908,10 @@ paths: - created - updated default: created - - *60 + - *61 - *19 - *17 - - &641 + - &642 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 @@ -53687,7 +53921,7 @@ paths: required: false schema: type: string - - &642 + - &643 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 @@ -53697,7 +53931,7 @@ paths: required: false schema: type: string - - &643 + - &644 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53706,7 +53940,7 @@ paths: required: false schema: type: string - - &644 + - &645 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53715,7 +53949,7 @@ paths: schema: type: boolean default: false - - &645 + - &646 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53724,7 +53958,7 @@ paths: schema: type: boolean default: false - - &646 + - &647 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53733,7 +53967,7 @@ paths: schema: type: boolean default: false - - &647 + - &648 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53744,7 +53978,7 @@ paths: required: false schema: type: boolean - - &648 + - &649 name: included_metadata in: query description: |- @@ -53755,7 +53989,7 @@ paths: required: false schema: type: string - - &649 + - &650 name: owner_email_hash in: query description: |- @@ -53777,27 +54011,27 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &651 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: &651 + resolution: &652 type: - string - 'null' @@ -53843,7 +54077,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *65 + repository: *66 push_protection_bypassed: type: - boolean @@ -53916,14 +54150,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &652 + - &653 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &654 + - &655 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53987,7 +54221,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &656 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. @@ -54048,7 +54282,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &657 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -54070,7 +54304,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &657 + - &658 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -54092,7 +54326,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &658 + - &659 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -54114,7 +54348,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &659 + - &660 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54129,7 +54363,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &661 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54144,7 +54378,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &662 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54159,7 +54393,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &663 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. @@ -54181,7 +54415,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &663 + - &664 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. @@ -54203,7 +54437,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &664 + - &665 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. @@ -54225,7 +54459,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &665 + - &666 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. @@ -54247,7 +54481,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &666 + - &667 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 @@ -54469,9 +54703,9 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54496,8 +54730,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 - - &667 + - *75 + - &668 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54508,7 +54742,7 @@ paths: enum: - published - unpublished - - &668 + - &669 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54519,7 +54753,7 @@ paths: enum: - enabled - disabled - - &669 + - &670 name: sort description: The property to sort the results by. in: query @@ -54531,7 +54765,7 @@ paths: - updated - name default: created - - *60 + - *61 - *19 - *17 responses: @@ -54541,7 +54775,7 @@ paths: application/json: schema: type: array - items: &327 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -54593,7 +54827,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &328 + custom_pattern_version: &329 type: - string - 'null' @@ -54618,7 +54852,7 @@ paths: - state - push_protection_enabled examples: - default: &670 + default: &671 value: - id: 1 name: Example Custom Pattern @@ -54647,7 +54881,7 @@ paths: created_at: '2024-01-16T14:20:00Z' updated_at: '2024-01-17T09:15:00Z' headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -54668,7 +54902,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -54681,7 +54915,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &671 + items: &672 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54718,7 +54952,7 @@ paths: items: type: string examples: - default: &672 + default: &673 value: patterns: - name: Example Custom Pattern @@ -54742,9 +54976,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: &673 + default: &674 value: created_patterns: - id: 1 @@ -54796,7 +55030,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &674 + items: &675 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54839,7 +55073,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 requestBody: required: true content: @@ -54853,7 +55087,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &675 + items: &676 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54863,7 +55097,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *328 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -54876,7 +55110,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &676 + default: &677 value: patterns: - pattern_id: 2 @@ -54887,7 +55121,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &329 + '412': &330 description: Precondition Failed content: application/json: @@ -54911,7 +55145,7 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *74 + - *75 - name: pattern_id in: path required: true @@ -54922,7 +55156,7 @@ paths: required: true content: application/json: - schema: &677 + schema: &678 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54961,9 +55195,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *328 + custom_pattern_version: *329 examples: - default: &678 + default: &679 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54978,9 +55212,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: &679 + default: &680 value: id: 1 name: Example Custom Pattern @@ -55000,7 +55234,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -55021,7 +55255,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 responses: '200': description: Response @@ -55033,11 +55267,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &330 + items: &331 type: object properties: token_type: @@ -55106,7 +55340,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *330 + items: *331 examples: default: value: @@ -55155,7 +55389,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *74 + - *75 requestBody: required: true content: @@ -55163,7 +55397,7 @@ paths: schema: type: object properties: - pattern_config_version: *328 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -55189,7 +55423,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *328 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -55225,7 +55459,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *15 "/orgs/{org}/security-advisories": get: @@ -55243,8 +55477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *74 - - *60 + - *75 + - *61 - name: sort description: The property to sort the results by. in: query @@ -55256,8 +55490,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -55287,7 +55521,7 @@ paths: application/json: schema: type: array - items: &683 + items: &684 description: A repository security advisory. type: object properties: @@ -55495,7 +55729,7 @@ paths: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: - array @@ -55531,7 +55765,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 credits_detailed: type: - array @@ -55542,7 +55776,7 @@ paths: type: object properties: user: *4 - type: *331 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -55568,13 +55802,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *200 + items: *201 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *65 + - *66 type: - 'null' required: @@ -55638,7 +55872,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &684 + default: &685 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56017,7 +56251,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *74 + - *75 responses: '200': description: Response @@ -56025,7 +56259,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -56065,8 +56299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -56091,8 +56325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response @@ -56119,7 +56353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '200': description: Immutable releases settings response @@ -56169,7 +56403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *74 + - *75 responses: '204': description: Response @@ -56227,7 +56461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 - *19 - *17 responses: @@ -56245,9 +56479,9 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *167 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56266,7 +56500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *74 + - *75 requestBody: required: true content: @@ -56315,8 +56549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -56338,8 +56572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *74 - - *144 + - *75 + - *145 responses: '204': description: Response @@ -56362,7 +56596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *74 + - *75 - *17 - *19 responses: @@ -56380,7 +56614,7 @@ paths: type: integer network_configurations: type: array - items: &332 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -56458,7 +56692,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56477,7 +56711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 + - *75 requestBody: required: true content: @@ -56533,9 +56767,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: &333 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -56563,8 +56797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - &334 + - *75 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -56576,11 +56810,11 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56599,8 +56833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *74 - - *334 + - *75 + - *335 requestBody: required: true content: @@ -56653,9 +56887,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56674,8 +56908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *74 - - *334 + - *75 + - *335 responses: '204': description: Response @@ -56698,7 +56932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *74 + - *75 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -56757,7 +56991,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56775,7 +57009,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *74 + - *75 - *17 - *19 - name: team_type @@ -56797,11 +57031,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '403': *27 x-github: githubCloudOnly: false @@ -56821,7 +57055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *74 + - *75 requestBody: required: true content: @@ -56893,7 +57127,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56967,7 +57201,7 @@ paths: parent: anyOf: - type: 'null' - - *260 + - *261 members_count: type: integer examples: @@ -57292,7 +57526,7 @@ paths: - repos_count - organization examples: - default: &336 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57373,16 +57607,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *74 - - *76 + - *75 + - *77 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -57403,8 +57637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *74 - - *76 + - *75 + - *77 requestBody: required: false content: @@ -57467,16 +57701,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -57501,12 +57735,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *74 - - *76 + - *75 + - *77 responses: '204': description: Response - '422': &337 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -57529,8 +57763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57540,12 +57774,12 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 - '422': *337 + Link: *67 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57567,8 +57801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *74 - - *76 + - *75 + - *77 - name: role description: Filters members returned by their role in the team. in: query @@ -57589,7 +57823,7 @@ paths: application/json: schema: type: array - items: &699 + items: &700 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57732,7 +57966,7 @@ paths: - type - url examples: - default: &700 + default: &701 value: - login: octocat id: 1 @@ -57755,7 +57989,7 @@ paths: role: member inherited: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57783,15 +58017,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '200': description: Response content: application/json: - schema: &338 + schema: &339 title: Team Membership description: Team Membership type: object @@ -57819,7 +58053,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &701 + response-if-user-is-a-team-maintainer: &702 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57855,9 +58089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 requestBody: required: false content: @@ -57882,9 +58116,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &702 + response-if-users-membership-with-team-is-now-pending: &703 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57919,9 +58153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *74 - - *76 - - *70 + - *75 + - *77 + - *71 responses: '204': description: Response @@ -57947,8 +58181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -57958,11 +58192,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57989,16 +58223,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &703 + schema: &704 title: Team Repository description: A team's access to a repository. type: object @@ -58024,7 +58258,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 forks: type: integer permissions: @@ -58724,10 +58958,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 requestBody: required: false content: @@ -58772,10 +59006,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *74 - - *76 - - *339 + - *75 + - *77 - *340 + - *341 responses: '204': description: Response @@ -58799,8 +59033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *74 - - *76 + - *75 + - *77 - *17 - *19 responses: @@ -58810,9 +59044,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: &704 + response-if-child-teams-exist: &705 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58840,7 +59074,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58865,7 +59099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *74 + - *75 - name: security_product in: path description: The security feature to enable or disable. @@ -58965,7 +59199,7 @@ paths: resources: type: object properties: - core: &341 + core: &342 title: Rate Limit type: object properties: @@ -58982,21 +59216,21 @@ paths: - remaining - reset - used - graphql: *341 - search: *341 - code_search: *341 - source_import: *341 - integration_manifest: *341 - actions_runner_registration: *341 - scim: *341 - dependency_snapshots: *341 - dependency_sbom: *341 - code_scanning_autofix: *341 - copilot_usage_records: *341 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search - rate: *341 + rate: *342 required: - rate - resources @@ -59087,7 +59321,7 @@ paths: schema: type: integer format: timestamp - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -59110,14 +59344,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *342 + schema: *343 examples: default-response: summary: Default response @@ -59628,7 +59862,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *343 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59646,8 +59880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -59958,10 +60192,10 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 - '307': &345 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -59990,8 +60224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -60013,9 +60247,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *345 + '307': *346 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60037,11 +60271,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &377 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60064,7 +60298,7 @@ paths: type: integer artifacts: type: array - items: &346 + items: &347 title: Artifact description: An artifact type: object @@ -60159,7 +60393,7 @@ paths: - expires_at - updated_at examples: - default: &378 + default: &379 value: total_count: 2 artifacts: @@ -60198,7 +60432,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60220,9 +60454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *339 - *340 - - &347 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60234,7 +60468,7 @@ paths: description: Response content: application/json: - schema: *346 + schema: *347 examples: default: value: @@ -60272,9 +60506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 responses: '204': description: Response @@ -60298,9 +60532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *339 - *340 - - *347 + - *341 + - *348 - name: archive_format in: path required: true @@ -60310,15 +60544,11 @@ paths: '302': description: Response headers: - Location: &497 + Location: &498 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &538 - description: Gone - content: - application/json: - schema: *3 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60339,14 +60569,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -60358,7 +60588,7 @@ paths: examples: - 14 examples: - default: *40 + default: *41 '403': *27 '404': *6 x-github: @@ -60380,15 +60610,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *349 examples: - selected_actions: *40 + selected_actions: *41 responses: '204': description: Response @@ -60415,14 +60645,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &349 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -60434,7 +60664,7 @@ paths: examples: - 10 examples: - default: *42 + default: *43 '403': *27 '404': *6 x-github: @@ -60456,15 +60686,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: - selected_actions: *42 + selected_actions: *43 responses: '204': description: Response @@ -60493,14 +60723,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: value: @@ -60526,11 +60756,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 - - &351 + - &352 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 @@ -60558,13 +60788,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *60 + - *61 responses: '200': description: Response content: application/json: - schema: &352 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -60614,7 +60844,7 @@ paths: - total_count - actions_caches examples: - default: &353 + default: &354 value: total_count: 1 actions_caches: @@ -60626,7 +60856,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60646,23 +60876,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: - - *339 - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *351 + - *352 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60682,8 +60912,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: - - *339 - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60712,10 +60942,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *46 + - *47 responses: '200': description: Response @@ -60764,7 +60994,7 @@ paths: group_url: https://api.github.com/repos/octocat/Hello-World/actions/concurrency_groups/ci-build last_acquired_at: '2026-01-15T16:13:55Z' headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -60796,8 +61026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *339 - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60953,9 +61183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *339 - *340 - - &354 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -60967,7 +61197,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -61314,9 +61544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 responses: '302': description: Response @@ -61344,9 +61574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *339 - *340 - - *354 + - *341 + - *355 requestBody: required: false content: @@ -61373,7 +61603,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -61397,8 +61627,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: - - *339 - *340 + - *341 responses: '200': description: Status response @@ -61457,8 +61687,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -61497,7 +61727,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -61526,8 +61756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -61545,7 +61775,7 @@ paths: type: integer secrets: type: array - items: &383 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61566,7 +61796,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &385 value: total_count: 2 secrets: @@ -61577,7 +61807,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61599,9 +61829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -61618,7 +61848,7 @@ paths: type: integer variables: type: array - items: &385 + items: &386 title: Actions Variable type: object properties: @@ -61652,7 +61882,7 @@ paths: - created_at - updated_at examples: - default: &386 + default: &387 value: total_count: 2 variables: @@ -61665,7 +61895,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61685,8 +61915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -61695,12 +61925,12 @@ paths: schema: type: object properties: - enabled: &356 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *140 - selected_actions_url: *355 - sha_pinning_required: *141 + allowed_actions: *141 + selected_actions_url: *356 + sha_pinning_required: *142 required: - enabled examples: @@ -61728,8 +61958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61740,9 +61970,9 @@ paths: schema: type: object properties: - enabled: *356 - allowed_actions: *140 - sha_pinning_required: *141 + enabled: *357 + allowed_actions: *141 + sha_pinning_required: *142 required: - enabled examples: @@ -61772,14 +62002,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &357 + schema: &358 type: object properties: access_level: @@ -61796,7 +62026,7 @@ paths: required: - access_level examples: - default: &358 + default: &359 value: access_level: organization x-github: @@ -61820,15 +62050,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *357 + schema: *358 examples: - default: *358 + default: *359 responses: '204': description: Response @@ -61852,14 +62082,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -61883,8 +62113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -61894,7 +62124,7 @@ paths: required: true content: application/json: - schema: *360 + schema: *361 examples: default: summary: Set retention days @@ -61918,16 +62148,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *361 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -61946,8 +62176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -61957,7 +62187,7 @@ paths: required: true content: application/json: - schema: *142 + schema: *143 examples: default: summary: Set approval policy to first time contributors @@ -61981,16 +62211,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: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *143 + default: *144 '403': *27 '404': *6 x-github: @@ -62010,15 +62240,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: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *363 + schema: *364 examples: - default: *143 + default: *144 responses: '204': description: Empty response for successful settings update @@ -62042,16 +62272,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *145 + schema: *146 examples: - default: *146 + default: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62070,8 +62300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -62079,9 +62309,9 @@ paths: required: false content: application/json: - schema: *145 + schema: *146 examples: - selected_actions: *146 + selected_actions: *147 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62103,16 +62333,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *364 + schema: *365 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62133,8 +62363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Success response @@ -62145,9 +62375,9 @@ paths: required: true content: application/json: - schema: *365 + schema: *366 examples: - default: *150 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62174,8 +62404,8 @@ paths: in: query schema: type: string - - *339 - *340 + - *341 - *17 - *19 responses: @@ -62193,11 +62423,11 @@ paths: type: integer runners: type: array - items: *157 + items: *158 examples: - default: *158 + default: *159 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62219,8 +62449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -62228,9 +62458,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: *367 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62252,8 +62482,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -62296,10 +62526,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *368 + '201': *369 '404': *6 '422': *7 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62327,16 +62557,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62364,16 +62594,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response content: application/json: - schema: *159 + schema: *160 examples: - default: *370 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62395,17 +62625,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *371 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62426,9 +62656,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: '204': description: Response @@ -62454,11 +62684,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *161 + '200': *162 '404': *6 x-github: githubCloudOnly: false @@ -62480,9 +62710,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -62506,7 +62736,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -62530,9 +62760,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: - - *339 - *340 - - *156 + - *341 + - *157 requestBody: required: true content: @@ -62557,7 +62787,7 @@ paths: - gpu - accelerated responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -62581,11 +62811,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: - - *339 - *340 - - *156 + - *341 + - *157 responses: - '200': *372 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -62612,12 +62842,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: - - *339 - *340 - - *156 - - *373 + - *341 + - *157 + - *374 responses: - '200': *161 + '200': *162 '404': *6 '422': *7 x-github: @@ -62643,9 +62873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *339 - *340 - - &389 + - *341 + - &390 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. @@ -62653,7 +62883,7 @@ paths: required: false schema: type: string - - &390 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62661,7 +62891,7 @@ paths: required: false schema: type: string - - &391 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62670,7 +62900,7 @@ paths: required: false schema: type: string - - &392 + - &393 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 @@ -62697,7 +62927,7 @@ paths: - pending - *17 - *19 - - &393 + - &394 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)." @@ -62706,7 +62936,7 @@ paths: schema: type: string format: date-time - - &374 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62715,13 +62945,13 @@ paths: schema: type: boolean default: false - - &394 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &395 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62744,7 +62974,7 @@ paths: type: integer workflow_runs: type: array - items: &375 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -62861,7 +63091,7 @@ paths: type: - array - 'null' - items: *85 + items: *86 created_at: type: string format: date-time @@ -62922,7 +63152,7 @@ paths: head_commit: anyOf: - type: 'null' - - &419 + - &420 title: Simple Commit description: A commit. type: object @@ -62996,8 +63226,8 @@ paths: - timestamp - author - committer - repository: *155 - head_repository: *155 + repository: *156 + head_repository: *156 head_repository_id: type: integer examples: @@ -63037,7 +63267,7 @@ paths: - workflow_url - pull_requests examples: - default: &396 + default: &397 value: total_count: 1 workflow_runs: @@ -63251,7 +63481,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63273,24 +63503,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *339 - *340 - - &376 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: &379 + default: &380 value: id: 30433642 name: Build @@ -63531,9 +63761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response @@ -63556,9 +63786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -63686,15 +63916,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: - - *339 - *340 - - *376 + - *341 + - *377 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -63721,13 +63951,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - *19 - - *377 - - *60 + - *378 + - *61 responses: '200': description: Response @@ -63743,11 +63973,11 @@ paths: type: integer artifacts: type: array - items: *346 + items: *347 examples: - default: *378 + default: *379 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63769,25 +63999,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - &380 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *374 + - *375 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *379 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63810,10 +64040,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -63831,9 +64061,9 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: &382 + default: &383 value: total_count: 1 jobs: @@ -63922,7 +64152,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -63946,10 +64176,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *339 - *340 - - *376 - - *380 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -63977,19 +64207,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64025,12 +64255,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -64179,7 +64409,7 @@ paths: job_url: https://api.github.com/repos/octocat/Hello-World/actions/jobs/798245260 job_html_url: https://github.com/octocat/Hello-World/actions/runs/30433642/job/798245260 headers: - Link: *66 + Link: *67 '404': *6 '422': *15 x-github: @@ -64204,9 +64434,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: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -64273,19 +64503,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '202': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64308,9 +64538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 - 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 @@ -64340,11 +64570,11 @@ paths: type: integer jobs: type: array - items: *381 + items: *382 examples: - default: *382 + default: *383 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64367,9 +64597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '302': description: Response @@ -64396,14 +64626,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '204': description: Response '403': *27 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64425,9 +64655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -64496,7 +64726,7 @@ paths: items: type: object properties: - type: &504 + type: &505 type: string description: The type of reviewer. enum: @@ -64507,7 +64737,7 @@ paths: reviewer: anyOf: - *4 - - *200 + - *201 required: - environment - wait_timer @@ -64582,9 +64812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: true content: @@ -64634,7 +64864,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64746,7 +64976,7 @@ paths: - created_at - updated_at examples: - default: &500 + default: &501 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64802,9 +65032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -64826,7 +65056,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64849,9 +65079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *339 - *340 - - *376 + - *341 + - *377 requestBody: required: false content: @@ -64873,7 +65103,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -64905,9 +65135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *339 - *340 - - *376 + - *341 + - *377 responses: '200': description: Response @@ -65044,8 +65274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65063,11 +65293,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65090,16 +65320,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65121,17 +65351,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: &397 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65157,9 +65387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -65190,7 +65420,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65216,9 +65446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -65243,9 +65473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -65262,11 +65492,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65287,8 +65517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -65315,7 +65545,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -65340,17 +65570,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &398 + default: &399 value: name: USERNAME value: octocat @@ -65376,9 +65606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -65420,9 +65650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -65447,8 +65677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -65466,7 +65696,7 @@ paths: type: integer workflows: type: array - items: &387 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -65561,7 +65791,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65584,9 +65814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *339 - *340 - - &388 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65601,7 +65831,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: default: value: @@ -65634,9 +65864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -65661,9 +65891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -65761,9 +65991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '204': description: Response @@ -65790,19 +66020,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *339 - *340 - - *388 + - *341 - *389 - *390 - *391 - *392 + - *393 - *17 - *19 - - *393 - - *374 - *394 + - *375 - *395 + - *396 responses: '200': description: Response @@ -65818,11 +66048,11 @@ paths: type: integer workflow_runs: type: array - items: *375 + items: *376 examples: - default: *396 + default: *397 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65852,9 +66082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *339 - *340 - - *388 + - *341 + - *389 responses: '200': description: Response @@ -65915,12 +66145,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *339 - *340 - - *60 + - *341 + - *61 - *17 - - *45 - *46 + - *47 - name: ref description: |- The Git reference for the activities you want to list. @@ -66065,7 +66295,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *7 x-github: githubCloudOnly: false @@ -66089,8 +66319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -66108,11 +66338,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66134,9 +66364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -66153,11 +66383,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66180,8 +66410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -66199,11 +66429,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66226,16 +66456,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66257,17 +66487,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66289,9 +66519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -66322,7 +66552,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -66348,9 +66578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -66375,9 +66605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *339 - *340 - - *172 + - *341 + - *173 - *19 responses: '200': @@ -66394,11 +66624,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66419,8 +66649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -66447,7 +66677,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -66472,17 +66702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66503,9 +66733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 requestBody: required: true content: @@ -66547,9 +66777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *339 - *340 - - *166 + - *341 + - *167 responses: '204': description: Response @@ -66570,8 +66800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -66583,9 +66813,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -66608,8 +66838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *339 - *340 + - *341 - name: assignee in: path required: true @@ -66645,8 +66875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -66756,11 +66986,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *339 - *340 + - *341 - *17 - - *45 - *46 + - *47 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -66814,7 +67044,7 @@ paths: initiator: type: string examples: - default: *399 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66848,8 +67078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -66857,7 +67087,7 @@ paths: application/json: schema: type: array - items: &400 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -66916,8 +67146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -66956,9 +67186,9 @@ paths: description: response content: application/json: - schema: *400 + schema: *401 examples: - default: &401 + default: &402 value: id: 1 key_prefix: TICKET- @@ -66989,9 +67219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *339 - *340 - - &402 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67003,9 +67233,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -67025,9 +67255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *339 - *340 - - *402 + - *341 + - *403 responses: '204': description: Response @@ -67051,8 +67281,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: - - *339 - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -67102,8 +67332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -67124,8 +67354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -67145,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *339 - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67184,7 +67414,7 @@ paths: - url protected: type: boolean - protection: &404 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -67227,7 +67457,7 @@ paths: required: - contexts - checks - enforce_admins: &407 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67244,7 +67474,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &409 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67266,7 +67496,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *200 + items: *201 apps: description: The list of apps with review dismissal access. @@ -67298,7 +67528,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *200 + items: *201 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67328,7 +67558,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &406 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67391,7 +67621,7 @@ paths: type: string teams: type: array - items: *200 + items: *201 apps: type: array items: @@ -67603,7 +67833,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -67621,9 +67851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *339 - *340 - - &405 + - *341 + - &406 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). @@ -67637,14 +67867,14 @@ paths: description: Response content: application/json: - schema: &415 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &472 title: Commit description: Commit type: object @@ -67683,7 +67913,7 @@ paths: author: anyOf: - type: 'null' - - &403 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -67705,7 +67935,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 message: type: string examples: @@ -67729,7 +67959,7 @@ paths: required: - sha - url - verification: &522 + verification: &523 title: Verification type: object properties: @@ -67765,14 +67995,14 @@ paths: author: oneOf: - *4 - - *164 + - *165 type: - 'null' - object committer: oneOf: - *4 - - *164 + - *165 type: - 'null' - object @@ -67809,7 +68039,7 @@ paths: type: integer files: type: array - items: &482 + items: &483 title: Diff Entry description: Diff Entry type: object @@ -67905,7 +68135,7 @@ paths: - self protected: type: boolean - protection: *404 + protection: *405 protection_url: type: string format: uri @@ -68014,7 +68244,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *343 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -68036,15 +68266,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *404 + schema: *405 examples: default: value: @@ -68238,9 +68468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -68500,7 +68730,7 @@ paths: url: type: string format: uri - required_status_checks: &412 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -68581,7 +68811,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -68599,7 +68829,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 apps: type: array items: *5 @@ -68659,7 +68889,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *406 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -68771,9 +69001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68798,17 +69028,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &408 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68830,17 +69060,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68859,9 +69089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -68886,17 +69116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: &410 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68992,9 +69222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69092,9 +69322,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: - default: *410 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -69115,9 +69345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -69144,17 +69374,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: &411 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69177,17 +69407,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *411 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -69207,9 +69437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -69234,17 +69464,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: &413 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69270,9 +69500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69324,9 +69554,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *413 + default: *414 '404': *6 '422': *15 x-github: @@ -69348,9 +69578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -69374,9 +69604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69410,9 +69640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69479,9 +69709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -69545,9 +69775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -69613,15 +69843,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -69712,9 +69942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '204': description: Response @@ -69737,9 +69967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69749,7 +69979,7 @@ paths: type: array items: *5 examples: - default: &414 + default: &415 value: - id: 1 slug: octoapp @@ -69806,9 +70036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69842,7 +70072,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69863,9 +70093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69899,7 +70129,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69920,9 +70150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -69956,7 +70186,7 @@ paths: type: array items: *5 examples: - default: *414 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69978,9 +70208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -69988,9 +70218,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -70010,9 +70240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -70048,9 +70278,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70071,9 +70301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: false content: @@ -70109,9 +70339,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70132,9 +70362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: content: application/json: @@ -70169,9 +70399,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70193,9 +70423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 responses: '200': description: Response @@ -70205,7 +70435,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '404': *6 x-github: githubCloudOnly: false @@ -70229,9 +70459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -70264,7 +70494,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -70289,9 +70519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -70324,7 +70554,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -70349,9 +70579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -70384,7 +70614,7 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 '422': *15 x-github: githubCloudOnly: false @@ -70411,9 +70641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 requestBody: required: true content: @@ -70435,7 +70665,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: default: value: @@ -70551,8 +70781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -70831,7 +71061,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70966,8 +71196,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *85 - deployment: &767 + items: *86 + deployment: &768 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71254,9 +71484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *339 - *340 - - &417 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -71268,9 +71498,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: &418 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71370,9 +71600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 requestBody: required: true content: @@ -71612,9 +71842,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *418 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71634,9 +71864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *339 - *340 - - *417 + - *341 + - *418 - *17 - *19 responses: @@ -71726,7 +71956,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71746,15 +71976,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *339 - *340 - - *417 + - *341 + - *418 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -71792,8 +72022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -71815,7 +72045,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &420 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71897,12 +72127,12 @@ paths: type: - array - 'null' - items: *85 + items: *86 app: anyOf: - type: 'null' - *5 - repository: *155 + repository: *156 created_at: type: - string @@ -71913,7 +72143,7 @@ paths: - string - 'null' format: date-time - head_commit: *419 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -71941,7 +72171,7 @@ paths: - check_runs_url - pull_requests examples: - default: &421 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72232,9 +72462,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72253,8 +72483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -72315,7 +72545,7 @@ paths: required: - app_id - setting - repository: *155 + repository: *156 examples: default: value: @@ -72563,9 +72793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *339 - *340 - - &422 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72577,9 +72807,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72602,17 +72832,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *339 - *340 - - *422 - - &477 + - *341 + - *423 + - &478 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &478 + - &479 name: status description: Returns check runs with the specified `status`. in: query @@ -72651,9 +72881,9 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: &479 + default: &480 value: total_count: 1 check_runs: @@ -72735,7 +72965,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72755,15 +72985,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *339 - *340 - - *422 + - *341 + - *423 responses: '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -72786,12 +73016,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - - *60 - - *45 + - *61 - *46 + - *47 - name: state description: If specified, only code quality findings with this state will be returned. @@ -72809,7 +73039,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 description: Code quality finding type: object properties: @@ -72939,14 +73169,14 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &424 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72966,8 +73196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *339 - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -72979,7 +73209,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -73008,9 +73238,9 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73030,8 +73260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -73103,9 +73333,9 @@ paths: runner_label: updated_at: '2023-01-01T00:00:00Z' schedule: weekly - '403': *424 + '403': *425 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73124,8 +73354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -73188,7 +73418,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -73231,7 +73461,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73255,30 +73485,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - &443 + - &444 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: *427 - - &444 + schema: *428 + - &445 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *60 - - *45 + - *61 - *46 + - *47 - name: sort description: The property by which to sort the results. in: query @@ -73294,13 +73524,13 @@ paths: be returned. in: query required: false - schema: *428 + schema: *429 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *429 + schema: *430 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73319,24 +73549,24 @@ paths: items: type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 - rule: *433 - tool: *434 - most_recent_instance: *435 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 + rule: *434 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -73458,15 +73688,15 @@ paths: end_column: 18 classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances - '304': *35 - '403': &436 + '304': *36 + '403': &437 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73486,9 +73716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *339 - *340 - - &437 + - *341 + - &438 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73496,30 +73726,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: &438 + schema: &439 type: object properties: - number: *180 - created_at: *181 - updated_at: *182 - url: *183 - html_url: *184 - instances_url: *430 - state: *189 - fixed_at: *185 + number: *181 + created_at: *182 + updated_at: *183 + url: *184 + html_url: *185 + instances_url: *431 + state: *190 + fixed_at: *186 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *186 - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_at: *187 + dismissed_reason: *432 + dismissed_comment: *433 rule: type: object properties: @@ -73581,8 +73811,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *434 - most_recent_instance: *435 + tool: *435 + most_recent_instance: *436 dismissal_approved_by: anyOf: - type: 'null' @@ -73677,10 +73907,10 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '304': *35 - '403': *436 + '304': *36 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73698,9 +73928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -73715,8 +73945,8 @@ paths: enum: - open - dismissed - dismissed_reason: *431 - dismissed_comment: *432 + dismissed_reason: *432 + dismissed_comment: *433 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73744,7 +73974,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: default: value: @@ -73820,14 +74050,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 + '403': &443 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73847,15 +74077,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: Response content: application/json: - schema: &439 + schema: &440 type: object properties: status: @@ -73882,13 +74112,13 @@ paths: - description - started_at examples: - default: &440 + default: &441 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &442 description: Bad Request content: application/json: @@ -73899,9 +74129,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *437 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73924,29 +74154,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: - - *339 - *340 - - *437 + - *341 + - *438 responses: '200': description: OK content: application/json: - schema: *439 + schema: *440 examples: - default: *440 + default: *441 '202': description: Accepted content: application/json: - schema: *439 + schema: *440 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *442 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73956,7 +74186,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73978,9 +74208,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: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: false content: @@ -74026,12 +74256,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *442 + '403': *443 '404': *6 '422': description: Unprocessable Entity - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74051,13 +74281,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 - - *443 - *444 + - *445 responses: '200': description: Response @@ -74068,10 +74298,10 @@ paths: items: type: object properties: - ref: *427 - analysis_key: *445 - environment: *446 - category: *447 + ref: *428 + analysis_key: *446 + environment: *447 + category: *448 state: type: - string @@ -74088,7 +74318,7 @@ paths: properties: text: type: string - location: *448 + location: *449 html_url: type: string classifications: @@ -74096,7 +74326,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *450 examples: default: value: @@ -74133,9 +74363,9 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74167,30 +74397,30 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *339 - *340 - - *425 + - *341 - *426 + - *427 - *19 - *17 - - *444 + - *445 - 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: *427 + schema: *428 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &451 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *60 + - *61 - name: sort description: The property by which to sort the results. in: query @@ -74207,23 +74437,23 @@ paths: application/json: schema: type: array - items: &451 + items: &452 type: object properties: - ref: *427 - commit_sha: &459 + ref: *428 + commit_sha: &460 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *446 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *448 error: type: string examples: @@ -74248,8 +74478,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *434 + sarif_id: *451 + tool: *435 deletable: type: boolean warning: @@ -74311,9 +74541,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74347,8 +74577,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74361,7 +74591,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: response: summary: application/json response @@ -74415,14 +74645,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *437 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74502,8 +74732,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: - - *339 - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74559,9 +74789,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74581,8 +74811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -74590,7 +74820,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: CodeQL Database description: A CodeQL database. type: object @@ -74702,9 +74932,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74731,8 +74961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74744,7 +74974,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -74776,11 +75006,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &486 + '302': &487 description: Found - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74800,8 +75030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *339 - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74811,9 +75041,9 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74839,8 +75069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -74849,7 +75079,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &454 type: string description: The language targeted by the CodeQL query enum: @@ -74929,7 +75159,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &458 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74937,9 +75167,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *65 + controller_repo: *66 actor: *4 - query_language: *453 + query_language: *454 query_pack_url: type: string description: The download url for the query pack. @@ -74987,7 +75217,7 @@ paths: items: type: object properties: - repository: &454 + repository: &455 title: Repository Identifier description: Repository Identifier type: object @@ -75029,7 +75259,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &459 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75061,7 +75291,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &456 type: object properties: repository_count: @@ -75076,7 +75306,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: *454 + items: *455 required: - repository_count - repositories @@ -75099,8 +75329,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *456 + over_limit_repos: *456 required: - access_mismatch_repos - not_found_repos @@ -75116,7 +75346,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &457 summary: Default response value: id: 1 @@ -75262,17 +75492,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *457 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *457 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75293,8 +75523,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: - - *339 - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75306,11 +75536,11 @@ paths: description: Response content: application/json: - schema: *457 + schema: *458 examples: - default: *456 + default: *457 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75331,7 +75561,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: - - *339 + - *340 - name: repo in: path description: The name of the controller repository. @@ -75365,8 +75595,8 @@ paths: schema: type: object properties: - repository: *65 - analysis_status: *458 + repository: *66 + analysis_status: *459 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75470,7 +75700,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75491,8 +75721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -75602,9 +75832,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *437 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75623,8 +75853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75693,7 +75923,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -75718,7 +75948,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75732,7 +75962,7 @@ paths: content: application/json: schema: *3 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75789,8 +76019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -75798,7 +76028,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *460 ref: type: string description: |- @@ -75858,7 +76088,7 @@ paths: schema: type: object properties: - id: *450 + id: *451 url: type: string description: The REST API URL for checking the status of the upload. @@ -75872,11 +76102,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75895,8 +76125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *339 - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75944,10 +76174,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *437 '404': description: Not Found if the sarif id does not match any upload - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75969,8 +76199,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -75994,7 +76224,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *47 + configuration: *48 examples: default: value: @@ -76026,8 +76256,8 @@ 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': *59 - '304': *35 + '204': *58 + '304': *36 '403': *27 '404': *6 x-github: @@ -76051,8 +76281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *339 - *340 + - *341 - 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 @@ -76180,8 +76410,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -76197,7 +76427,7 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: default: value: @@ -76473,7 +76703,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -76495,8 +76725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -76560,22 +76790,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76599,8 +76829,8 @@ paths: parameters: - *17 - *19 - - *339 - *340 + - *341 responses: '200': description: Response @@ -76640,7 +76870,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *53 + '500': *54 '400': *14 '401': *23 '403': *27 @@ -76664,8 +76894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *339 - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76702,9 +76932,9 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: &710 + default: &711 value: total_count: 2 machines: @@ -76720,8 +76950,8 @@ paths: storage_in_bytes: 68719476736 memory_in_bytes: 34359738368 cpus: 8 - '304': *35 - '500': *53 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -76744,8 +76974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *339 - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76832,8 +77062,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: - - *339 - *340 + - *341 - 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 @@ -76881,7 +77111,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76902,8 +77132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -76921,7 +77151,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &466 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76942,9 +77172,9 @@ paths: - created_at - updated_at examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76965,16 +77195,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76994,17 +77224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77024,9 +77254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -77054,7 +77284,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -77078,9 +77308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -77108,8 +77338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *339 - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77147,7 +77377,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Collaborator description: Collaborator type: object @@ -77315,7 +77545,7 @@ paths: admin: false role_name: write headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -77340,9 +77570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: Response if user is a collaborator @@ -77388,9 +77618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 requestBody: required: false content: @@ -77416,7 +77646,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &536 + schema: &537 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77428,7 +77658,7 @@ paths: format: int64 examples: - 42 - repository: *155 + repository: *156 invitee: anyOf: - type: 'null' @@ -77604,7 +77834,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *124 + schema: *125 '403': *27 x-github: triggersNotification: true @@ -77644,9 +77874,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77677,9 +77907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *339 - *340 - - *70 + - *341 + - *71 responses: '200': description: if user has admin permissions @@ -77699,7 +77929,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *468 required: - permission - role_name @@ -77753,8 +77983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -77764,7 +77994,7 @@ paths: application/json: schema: type: array - items: &468 + items: &469 title: Commit Comment description: Commit Comment type: object @@ -77805,8 +78035,8 @@ paths: updated_at: type: string format: date-time - author_association: *79 - reactions: *80 + author_association: *80 + reactions: *81 required: - url - html_url @@ -77822,7 +78052,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &474 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77856,7 +78086,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77881,17 +78111,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: &474 + default: &475 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77948,9 +78178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -77972,7 +78202,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: default: value: @@ -78023,9 +78253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -78046,9 +78276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -78074,7 +78304,7 @@ paths: application/json: schema: type: array - items: &469 + items: &470 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -78144,7 +78374,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -78163,9 +78393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -78197,9 +78427,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: &470 + default: &471 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78228,9 +78458,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -78252,9 +78482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - &541 name: reaction_id description: The unique identifier of the reaction. @@ -78310,8 +78540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *339 - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78367,9 +78597,9 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: &602 + default: &603 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78439,11 +78669,11 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *66 - '500': *53 + Link: *67 + '500': *54 '400': *14 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78463,9 +78693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *339 - *340 - - &472 + - *341 + - &473 name: commit_sha description: The SHA of the commit. in: path @@ -78512,7 +78742,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78537,9 +78767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -78549,11 +78779,11 @@ paths: application/json: schema: type: array - items: *468 + items: *469 examples: - default: *473 + default: *474 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78579,9 +78809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *339 - *340 - - *472 + - *341 + - *473 requestBody: required: true content: @@ -78616,9 +78846,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *469 examples: - default: *474 + default: *475 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78646,9 +78876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *339 - *340 - - *472 + - *341 + - *473 - *17 - *19 responses: @@ -78658,7 +78888,7 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: &594 value: @@ -79139,8 +79369,8 @@ paths: auto_merge: draft: false headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79197,11 +79427,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *339 - *340 + - *341 - *19 - *17 - - &476 + - &477 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)" @@ -79216,7 +79446,7 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: default: &582 value: @@ -79306,7 +79536,7 @@ paths: schema: type: string examples: - default: &483 + default: &484 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -79319,7 +79549,7 @@ paths: schema: type: string examples: - default: &484 + default: &485 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -79345,9 +79575,9 @@ paths: value: ac3282a2725be3b1d4979169a7a311c89066af1c '422': *15 '404': *6 - '500': *53 - '503': *114 - '409': *52 + '500': *54 + '503': *115 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79372,11 +79602,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 - *477 - *478 + - *479 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79410,11 +79640,11 @@ paths: type: integer check_runs: type: array - items: *416 + items: *417 examples: - default: *479 + default: *480 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79437,9 +79667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79447,7 +79677,7 @@ paths: schema: type: integer example: 1 - - *477 + - *478 - *17 - *19 responses: @@ -79465,7 +79695,7 @@ paths: type: integer check_suites: type: array - items: *420 + items: *421 examples: default: value: @@ -79640,7 +79870,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79665,9 +79895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -79738,7 +79968,7 @@ paths: type: string total_count: type: integer - repository: *155 + repository: *156 commit_url: type: string format: uri @@ -79869,9 +80099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *339 - *340 - - *476 + - *341 + - *477 - *17 - *19 responses: @@ -79881,7 +80111,7 @@ paths: application/json: schema: type: array - items: &688 + items: &689 title: Status description: The status of a commit. type: object @@ -79961,8 +80191,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79990,8 +80220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -80024,11 +80254,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *480 + - *481 code_of_conduct_file: anyOf: - type: 'null' - - &481 + - &482 title: Community Health File type: object properties: @@ -80044,23 +80274,23 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 contributing: anyOf: - type: 'null' - - *481 + - *482 readme: anyOf: - type: 'null' - - *481 + - *482 issue_template: anyOf: - type: 'null' - - *481 + - *482 pull_request_template: anyOf: - type: 'null' - - *481 + - *482 required: - code_of_conduct - code_of_conduct_file @@ -80189,8 +80419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *339 - *340 + - *341 - *19 - *17 - name: basehead @@ -80238,8 +80468,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *472 + merge_base_commit: *472 status: type: string enum: @@ -80263,10 +80493,10 @@ paths: - 6 commits: type: array - items: *471 + items: *472 files: type: array - items: *482 + items: *483 required: - url - html_url @@ -80512,15 +80742,15 @@ paths: schema: type: string examples: - default: *483 + default: *484 application/vnd.github.patch: schema: type: string examples: - default: *484 + default: *485 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80562,8 +80792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -80733,7 +80963,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &485 + response-if-content-is-a-file-github-object: &486 summary: Response if content is a file value: type: file @@ -80870,7 +81100,7 @@ paths: - size - type - url - - &607 + - &608 title: Content File description: Content File type: object @@ -81088,7 +81318,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *485 + response-if-content-is-a-file: *486 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81157,8 +81387,8 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *486 - '304': *35 + '302': *487 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81210,8 +81440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -81306,7 +81536,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &488 title: File Commit description: File Commit type: object @@ -81462,7 +81692,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: example-for-creating-a-file: value: @@ -81516,7 +81746,7 @@ paths: schema: oneOf: - *3 - - &517 + - &518 description: Repository rule violation was detected type: object properties: @@ -81537,7 +81767,7 @@ paths: items: type: object properties: - placeholder_id: &680 + placeholder_id: &681 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81569,8 +81799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *339 - *340 + - *341 - name: path description: path parameter in: path @@ -81631,7 +81861,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: default: value: @@ -81665,8 +81895,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *52 - '503': *114 + '409': *53 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81686,8 +81916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *339 - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81788,7 +82018,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *66 + Link: *67 '204': description: Response if repository is empty '403': *27 @@ -81817,8 +82047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -81929,7 +82159,7 @@ paths: custom_allowlist: - sentry.io - https://api.example.com - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -81951,27 +82181,27 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *339 - *340 - - *202 + - *341 - *203 - *204 - *205 - *206 + - *207 - 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 - - *207 - - *488 - *208 + - *489 - *209 - *210 - - *60 - - *45 + - *211 + - *61 - *46 + - *47 - *17 responses: '200': @@ -81980,11 +82210,11 @@ paths: application/json: schema: type: array - items: &492 + items: &493 type: object description: A Dependabot alert. properties: - number: *180 + number: *181 state: type: string description: The state of the Dependabot alert. @@ -81999,7 +82229,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *61 + package: *62 manifest_path: type: string description: The full path to the dependency manifest file, @@ -82031,13 +82261,13 @@ paths: - transitive - inconclusive - - security_advisory: *489 - security_vulnerability: *64 - url: *183 - html_url: *184 - created_at: *181 - updated_at: *182 - dismissed_at: *186 + security_advisory: *490 + security_vulnerability: *65 + url: *184 + html_url: *185 + created_at: *182 + updated_at: *183 + dismissed_at: *187 dismissed_by: anyOf: - type: 'null' @@ -82061,9 +82291,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *185 - auto_dismissed_at: *490 - dismissal_request: *491 + fixed_at: *186 + auto_dismissed_at: *491 + dismissal_request: *492 assignees: type: array description: The users assigned to this alert. @@ -82294,7 +82524,7 @@ paths: dismissed_comment: fixed_at: assignees: [] - '304': *35 + '304': *36 '400': *14 '403': *27 '404': *6 @@ -82318,9 +82548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *339 - *340 - - &493 + - *341 + - &494 name: alert_number in: path description: |- @@ -82329,13 +82559,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *180 + schema: *181 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -82445,7 +82675,7 @@ paths: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false - '304': *35 + '304': *36 '403': *27 '404': *6 x-github: @@ -82467,9 +82697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *339 - *340 - - *493 + - *341 + - *494 requestBody: required: true content: @@ -82542,7 +82772,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -82649,7 +82879,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *52 + '409': *53 '422': *7 x-github: githubCloudOnly: false @@ -82672,8 +82902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -82691,7 +82921,7 @@ paths: type: integer secrets: type: array - items: &496 + items: &497 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82723,7 +82953,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82745,16 +82975,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82774,15 +83004,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: default: value: @@ -82808,9 +83038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 requestBody: required: true content: @@ -82838,7 +83068,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -82862,9 +83092,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *339 - *340 - - *163 + - *341 + - *164 responses: '204': description: Response @@ -82886,8 +83116,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: - - *339 - *340 + - *341 - 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 @@ -83037,7 +83267,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *66 + Link: *67 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -83046,8 +83276,8 @@ paths: application/json: schema: *3 '400': *14 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false category: dependency-graph @@ -83064,8 +83294,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: - - *339 - *340 + - *341 responses: '200': description: Response @@ -83302,7 +83532,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *66 + Link: *67 '404': *6 '403': *27 x-github: @@ -83324,8 +83554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 - name: sbom_uuid in: path required: true @@ -83336,7 +83566,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *497 + Location: *498 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -83357,8 +83587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -83396,8 +83626,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -83480,7 +83710,7 @@ paths: - version - url additionalProperties: false - metadata: &498 + metadata: &499 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83519,7 +83749,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *498 + metadata: *499 resolved: type: object description: A collection of resolved package dependencies. @@ -83533,7 +83763,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *498 + metadata: *499 relationship: type: string description: A notation of whether a dependency is requested @@ -83666,8 +83896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *339 - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -83708,11 +83938,11 @@ paths: application/json: schema: type: array - items: *499 + items: *500 examples: - default: *500 + default: *501 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83776,8 +84006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -83859,7 +84089,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: simple-example: summary: Simple example @@ -83932,9 +84162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *339 - *340 - - &501 + - *341 + - &502 name: deployment_id description: deployment_id parameter in: path @@ -83946,7 +84176,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -84011,9 +84241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *339 - *340 - - *501 + - *341 + - *502 responses: '204': description: Response @@ -84035,9 +84265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *339 - *340 - - *501 + - *341 + - *502 - *17 - *19 responses: @@ -84047,7 +84277,7 @@ paths: application/json: schema: type: array - items: &502 + items: &503 title: Deployment Status description: The status of a deployment. type: object @@ -84191,7 +84421,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -84211,9 +84441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 requestBody: required: true content: @@ -84288,9 +84518,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &503 + default: &504 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84346,9 +84576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *339 - *340 - - *501 + - *341 + - *502 - name: status_id in: path required: true @@ -84359,9 +84589,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *503 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -84386,8 +84616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -84444,8 +84674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -84463,7 +84693,7 @@ paths: - 5 environments: type: array - items: &505 + items: &506 title: Environment description: Details of a deployment environment type: object @@ -84525,7 +84755,7 @@ paths: type: string examples: - wait_timer - wait_timer: &507 + wait_timer: &508 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84567,11 +84797,11 @@ paths: items: type: object properties: - type: *504 + type: *505 reviewer: anyOf: - *4 - - *200 + - *201 required: - id - node_id @@ -84594,7 +84824,7 @@ paths: - id - node_id - type - deployment_branch_policy: &508 + deployment_branch_policy: &509 type: - object - 'null' @@ -84711,9 +84941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *339 - *340 - - &506 + - *341 + - &507 name: environment_name in: path required: true @@ -84726,9 +84956,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84812,9 +85042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: false content: @@ -84824,7 +85054,7 @@ paths: - object - 'null' properties: - wait_timer: *507 + wait_timer: *508 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84843,14 +85073,14 @@ paths: items: type: object properties: - type: *504 + type: *505 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *508 + deployment_branch_policy: *509 additionalProperties: false examples: default: @@ -84870,9 +85100,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84896,9 +85126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '204': description: Default response @@ -84923,9 +85153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -84944,7 +85174,7 @@ paths: - 2 branch_policies: type: array - items: &510 + items: &511 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85005,9 +85235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -85055,9 +85285,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - example-wildcard: &511 + example-wildcard: &512 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85099,10 +85329,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - &512 + - *341 + - *507 + - &513 name: branch_policy_id in: path required: true @@ -85114,9 +85344,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85135,10 +85365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 requestBody: required: true content: @@ -85167,9 +85397,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85188,10 +85418,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *339 - *340 - - *506 - - *512 + - *341 + - *507 + - *513 responses: '204': description: Response @@ -85216,9 +85446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 responses: '200': description: List of deployment protection rules @@ -85235,7 +85465,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &513 + items: &514 title: Deployment protection rule description: Deployment protection rule type: object @@ -85257,7 +85487,7 @@ paths: for the environment. examples: - true - app: &514 + app: &515 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85360,9 +85590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 requestBody: content: application/json: @@ -85383,9 +85613,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *513 + schema: *514 examples: - default: &515 + default: &516 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85420,9 +85650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - *19 - *17 responses: @@ -85442,7 +85672,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *514 + items: *515 examples: default: value: @@ -85477,10 +85707,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *339 - *340 - - *506 - - &516 + - *341 + - *507 + - &517 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85492,9 +85722,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *515 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85515,10 +85745,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *506 + - *507 + - *341 - *340 - - *339 - - *516 + - *517 responses: '204': description: Response @@ -85544,9 +85774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *339 - *340 - - *506 + - *341 + - *507 - *17 - *19 responses: @@ -85564,11 +85794,11 @@ paths: type: integer secrets: type: array - items: *383 + items: *384 examples: - default: *384 + default: *385 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85591,17 +85821,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *339 - *340 - - *506 + - *341 + - *507 responses: '200': description: Response content: application/json: - schema: *169 + schema: *170 examples: - default: *170 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85623,18 +85853,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '200': description: Response content: application/json: - schema: *383 + schema: *384 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85656,10 +85886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 requestBody: required: true content: @@ -85690,7 +85920,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -85716,10 +85946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *339 - *340 - - *506 - - *163 + - *341 + - *507 + - *164 responses: '204': description: Default response @@ -85744,10 +85974,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *339 - *340 - - *506 - - *172 + - *341 + - *507 + - *173 - *19 responses: '200': @@ -85764,11 +85994,11 @@ paths: type: integer variables: type: array - items: *385 + items: *386 examples: - default: *386 + default: *387 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85789,9 +86019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *339 - *340 - - *506 + - *341 + - *507 requestBody: required: true content: @@ -85818,7 +86048,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -85843,18 +86073,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *339 - *340 - - *506 - - *166 + - *341 + - *507 + - *167 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *398 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85875,10 +86105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 requestBody: required: true content: @@ -85920,10 +86150,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *339 - *340 - - *166 - - *506 + - *341 + - *167 + - *507 responses: '204': description: Response @@ -85945,8 +86175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -85956,7 +86186,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: 200-response: value: @@ -86014,8 +86244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *339 - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86037,7 +86267,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -86150,7 +86380,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *66 + Link: *67 '400': *14 x-github: githubCloudOnly: false @@ -86174,8 +86404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -86208,9 +86438,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -86231,8 +86461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86283,7 +86513,7 @@ paths: schema: type: string '404': *6 - '409': *52 + '409': *53 '403': *27 '422': description: Validation failed @@ -86291,8 +86521,8 @@ paths: application/json: schema: oneOf: - - *124 - - *517 + - *125 + - *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86317,8 +86547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *339 - *340 + - *341 - name: file_sha in: path required: true @@ -86370,7 +86600,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86418,8 +86648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86528,7 +86758,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &519 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86705,7 +86935,7 @@ paths: type: string '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86755,15 +86985,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *339 - *340 - - *472 + - *341 + - *473 responses: '200': description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -86794,7 +87024,7 @@ paths: payload: verified_at: '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86819,9 +87049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *339 - *340 - - &519 + - *341 + - &520 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. @@ -86838,7 +87068,7 @@ paths: application/json: schema: type: array - items: &520 + items: &521 title: Git Reference description: Git references within a repository type: object @@ -86892,8 +87122,8 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *66 - '409': *52 + Link: *67 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86914,17 +87144,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '200': description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &521 + default: &522 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86934,7 +87164,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86953,8 +87183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -86983,16 +87213,16 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87011,9 +87241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 requestBody: required: true content: @@ -87042,11 +87272,11 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87062,16 +87292,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *339 - *340 - - *519 + - *341 + - *520 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87119,8 +87349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -87187,7 +87417,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &524 title: Git Tag description: Metadata for a Git tag type: object @@ -87243,7 +87473,7 @@ paths: - sha - type - url - verification: *522 + verification: *523 required: - sha - url @@ -87253,7 +87483,7 @@ paths: - tag - message examples: - default: &524 + default: &525 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87280,7 +87510,7 @@ paths: schema: type: string '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87326,8 +87556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *339 - *340 + - *341 - name: tag_sha in: path required: true @@ -87338,11 +87568,11 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: - default: *524 + default: *525 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87364,8 +87594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -87439,7 +87669,7 @@ paths: description: Response content: application/json: - schema: &525 + schema: &526 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87518,7 +87748,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87541,8 +87771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *339 - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87565,7 +87795,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default-response: summary: Default response @@ -87606,7 +87836,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87623,8 +87853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -87668,8 +87898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -87679,7 +87909,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 title: Webhook description: Webhooks for repositories. type: object @@ -87742,7 +87972,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &798 + last_response: &799 title: Hook Response type: object properties: @@ -87800,7 +88030,7 @@ paths: status: unused message: headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -87819,8 +88049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -87873,9 +88103,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &527 + default: &528 value: type: Repository id: 12345678 @@ -87923,17 +88153,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -87953,9 +88183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: true content: @@ -88000,9 +88230,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *527 + default: *528 '422': *15 '404': *6 x-github: @@ -88023,9 +88253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -88049,9 +88279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '200': description: Response @@ -88078,9 +88308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *339 - *340 - - *218 + - *341 + - *219 requestBody: required: false content: @@ -88124,12 +88354,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *339 - *340 - - *218 - - *17 + - *341 - *219 + - *17 - *220 + - *221 responses: '200': description: Response @@ -88137,9 +88367,9 @@ paths: application/json: schema: type: array - items: *221 + items: *222 examples: - default: *222 + default: *223 '400': *14 '422': *15 x-github: @@ -88158,18 +88388,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *223 + schema: *224 examples: - default: *224 + default: *225 '400': *14 '422': *15 x-github: @@ -88188,12 +88418,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 - *16 responses: - '202': *37 + '202': *38 '400': *14 '422': *15 x-github: @@ -88213,9 +88443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -88240,9 +88470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *339 - *340 - - *218 + - *341 + - *219 responses: '204': description: Response @@ -88265,8 +88495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -88314,11 +88544,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88335,11 +88565,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *339 - *340 + - *341 responses: - '204': *59 - '409': *52 + '204': *58 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88393,14 +88623,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &528 + schema: &529 title: Import description: A repository import from an external source. type: object @@ -88507,7 +88737,7 @@ paths: - html_url - authors_url examples: - default: &531 + default: &532 value: vcs: subversion use_lfs: true @@ -88523,7 +88753,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &529 + '503': &530 description: Unavailable due to service under maintenance. content: application/json: @@ -88552,8 +88782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -88601,7 +88831,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -88626,7 +88856,7 @@ paths: type: string '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88654,8 +88884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -88707,7 +88937,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: example-1: summary: Example 1 @@ -88755,7 +88985,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88778,12 +89008,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *339 - *340 + - *341 responses: '204': description: Response - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88809,9 +89039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *339 - *340 - - &732 + - *341 + - &733 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88825,7 +89055,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Porter Author description: Porter Author type: object @@ -88879,7 +89109,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88904,8 +89134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *339 - *340 + - *341 - name: author_id in: path required: true @@ -88935,7 +89165,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: default: value: @@ -88948,7 +89178,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88972,8 +89202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89014,7 +89244,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89042,8 +89272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -89070,11 +89300,11 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *531 + default: *532 '422': *15 - '503': *529 + '503': *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89097,8 +89327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89106,8 +89336,8 @@ paths: application/json: schema: *20 examples: - default: *532 - '301': *343 + default: *533 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -89127,8 +89357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89136,12 +89366,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &534 + default: &535 value: limit: collaborators_only origin: repository @@ -89166,13 +89396,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *533 + schema: *534 examples: default: summary: Example request body @@ -89184,9 +89414,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: - default: *534 + default: *535 '409': description: Response x-github: @@ -89208,8 +89438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -89236,8 +89466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89291,13 +89521,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: &535 + schema: &536 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -89347,13 +89577,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: application/json: - schema: *535 + schema: *536 examples: default: summary: Example request body @@ -89386,8 +89616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89440,8 +89670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -89517,8 +89747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -89528,9 +89758,9 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: &725 + default: &726 value: - id: 1 repository: @@ -89644,7 +89874,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89661,9 +89891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 requestBody: required: false content: @@ -89692,7 +89922,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *537 examples: default: value: @@ -89823,9 +90053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *339 - *340 - - *241 + - *341 + - *242 responses: '204': description: Response @@ -89848,8 +90078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -89857,9 +90087,9 @@ paths: application/json: schema: type: array - items: *245 + items: *246 examples: - default: *537 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -89888,8 +90118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *339 - *340 + - *341 - 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 @@ -89951,7 +90181,7 @@ paths: required: false schema: type: string - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -89963,8 +90193,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -89974,7 +90204,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &548 value: @@ -90124,8 +90354,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '422': *15 '404': *6 x-github: @@ -90154,8 +90384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -90270,7 +90500,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &545 value: @@ -90433,9 +90663,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *114 + '503': *115 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -90473,9 +90703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *339 - *340 - - *104 + - *341 + - *105 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -90485,7 +90715,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -90495,7 +90725,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: &547 value: @@ -90529,7 +90759,7 @@ paths: author_association: COLLABORATOR minimized: headers: - Link: *66 + Link: *67 '422': *15 '404': *6 x-github: @@ -90556,15 +90786,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: &539 value: @@ -90622,9 +90852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -90646,7 +90876,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 '422': *15 @@ -90666,9 +90896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -90696,15 +90926,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *83 + schema: *84 examples: default: value: @@ -90760,7 +90990,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -90777,17 +91007,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response '401': *23 '403': *27 '404': *6 - '410': *538 - '503': *114 + '410': *31 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90804,9 +91034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -90832,11 +91062,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -90855,9 +91085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -90889,16 +91119,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -90920,9 +91150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -90943,8 +91173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -91001,7 +91231,7 @@ paths: issue: anyOf: - type: 'null' - - *82 + - *83 label: title: Issue Event Label description: Issue Event Label @@ -91034,7 +91264,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *200 + requested_team: *201 dismissed_review: title: Issue Event Dismissed Review type: object @@ -91159,7 +91389,7 @@ paths: - string - 'null' description: The reason for the referenced issue's state. - repository: *65 + repository: *66 issue_type: title: Issue Type description: The type of the referenced issue. @@ -91203,7 +91433,7 @@ paths: anyOf: - type: 'null' - *543 - author_association: *79 + author_association: *80 lock_reason: type: - string @@ -91378,7 +91608,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -91396,8 +91626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *339 - *340 + - *341 - name: event_id in: path required: true @@ -91601,7 +91831,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *538 + '410': *31 '403': *27 x-github: githubCloudOnly: false @@ -91635,8 +91865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *339 - *340 + - *341 - &546 name: issue_number description: The number that identifies the issue. @@ -91649,7 +91879,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: summary: Issue @@ -91858,10 +92088,10 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *343 + '301': *344 '404': *6 - '410': *538 - '304': *35 + '410': *31 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91885,8 +92115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -92043,17 +92273,17 @@ paths: application/json: schema: allOf: - - *82 + - *83 - type: object properties: {} examples: default: *545 '422': *15 - '503': *114 + '503': *115 '403': *27 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92081,8 +92311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -92109,7 +92339,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -92127,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: content: @@ -92154,7 +92384,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 x-github: @@ -92178,8 +92408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *339 - *340 + - *341 - *546 - name: assignee in: path @@ -92220,10 +92450,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *339 - *340 + - *341 - *546 - - *87 + - *88 - *17 - *19 responses: @@ -92233,13 +92463,13 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: *547 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92268,8 +92498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -92292,7 +92522,7 @@ paths: description: Response content: application/json: - schema: *83 + schema: *84 examples: default: *539 headers: @@ -92301,7 +92531,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -92329,8 +92559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92341,14 +92571,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92376,8 +92606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -92400,7 +92630,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -92408,9 +92638,9 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *343 + '301': *344 '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -92441,8 +92671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *339 - *340 + - *341 - *546 - name: issue_id in: path @@ -92455,15 +92685,15 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *538 + '410': *31 x-github: triggersNotification: true githubCloudOnly: false @@ -92489,8 +92719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92501,14 +92731,14 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92525,8 +92755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -92888,7 +93118,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -92930,7 +93160,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *200 + requested_team: *201 requested_reviewer: *4 required: - review_requester @@ -93785,8 +94015,8 @@ paths: name: label color: red headers: - Link: *66 - '410': *538 + Link: *67 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93803,8 +94033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -93856,10 +94086,10 @@ paths: name: Backend color: green headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93888,8 +94118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -93969,7 +94199,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -94000,8 +94230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94076,7 +94306,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -94102,17 +94332,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - - *244 + - *245 responses: '204': description: Issue field value deleted successfully '403': *27 '404': *6 '422': *15 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -94130,8 +94360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -94142,7 +94372,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &551 value: @@ -94161,10 +94391,10 @@ paths: color: a2eeef default: false headers: - Link: *66 - '301': *343 + Link: *67 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94180,8 +94410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -94225,12 +94455,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -94247,8 +94477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -94309,12 +94539,12 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 '422': *15 x-github: githubCloudOnly: false @@ -94331,15 +94561,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': description: Response - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94358,8 +94588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: name in: path @@ -94373,7 +94603,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: value: @@ -94384,9 +94614,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94406,8 +94636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: false @@ -94437,7 +94667,7 @@ paths: '204': description: Response '403': *27 - '410': *538 + '410': *31 '404': *6 '422': *15 x-github: @@ -94455,8 +94685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *339 - *340 + - *341 - *546 responses: '204': @@ -94487,20 +94717,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *339 - *340 + - *341 - *546 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 - '301': *343 + '301': *344 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94517,8 +94747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94545,13 +94775,13 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94569,8 +94799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94603,16 +94833,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -94634,8 +94864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *339 - *340 + - *341 - *546 - *541 responses: @@ -94666,8 +94896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94690,7 +94920,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -94725,8 +94955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -94737,13 +94967,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *548 headers: - Link: *66 + Link: *67 '404': *6 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94771,8 +95001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94800,7 +95030,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 headers: @@ -94809,7 +95039,7 @@ paths: schema: type: string '403': *27 - '410': *538 + '410': *31 '422': *15 '404': *6 x-github: @@ -94829,8 +95059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *339 - *340 + - *341 - *546 requestBody: required: true @@ -94862,13 +95092,13 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *545 '403': *27 '404': *6 '422': *7 - '503': *114 + '503': *115 x-github: triggersNotification: true githubCloudOnly: false @@ -94886,8 +95116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *339 - *340 + - *341 - *546 - *17 - *19 @@ -94963,12 +95193,12 @@ paths: issue_url: type: string format: uri - author_association: *79 + author_association: *80 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *80 + reactions: *81 pin: anyOf: - type: 'null' @@ -95007,7 +95237,7 @@ paths: properties: type: type: string - issue: *82 + issue: *83 required: - event - created_at @@ -95229,7 +95459,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - event - id @@ -95252,7 +95482,7 @@ paths: type: string comments: type: array - items: &596 + items: &597 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95360,7 +95590,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: @@ -95455,7 +95685,7 @@ paths: enum: - line - file - reactions: *80 + reactions: *81 body_html: type: string examples: @@ -95493,7 +95723,7 @@ paths: type: string comments: type: array - items: *468 + items: *469 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95777,10 +96007,10 @@ paths: type: User site_admin: true headers: - Link: *66 + Link: *67 '404': *6 '400': *14 - '410': *538 + '410': *31 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95797,8 +96027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -95860,7 +96090,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95876,8 +96106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -95949,8 +96179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *339 - *340 + - *341 - &580 name: key_id description: The unique identifier of the key. @@ -95983,8 +96213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *339 - *340 + - *341 - *580 responses: '204': @@ -96005,8 +96235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -96016,11 +96246,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -96039,8 +96269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96076,7 +96306,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &581 value: @@ -96110,8 +96340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -96122,7 +96352,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *581 '404': *6 @@ -96141,8 +96371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -96181,7 +96411,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: value: @@ -96207,8 +96437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *339 - *340 + - *341 - name: name in: path required: true @@ -96234,8 +96464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -96274,9 +96504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *339 - *340 - - *443 + - *341 + - *444 responses: '200': description: Response @@ -96342,7 +96572,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 required: - _links - git_url @@ -96423,8 +96653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96489,8 +96719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96524,7 +96754,7 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *472 examples: default: *582 '204': @@ -96551,8 +96781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *339 - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96593,7 +96823,7 @@ paths: application/json: schema: type: array - items: *281 + items: *282 examples: default: value: @@ -96632,7 +96862,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -96649,8 +96879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -96690,7 +96920,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: &583 value: @@ -96751,8 +96981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *339 - *340 + - *341 - &584 name: milestone_number description: The number that identifies the milestone. @@ -96765,7 +96995,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 '404': *6 @@ -96784,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *339 - *340 + - *341 - *584 requestBody: required: false @@ -96824,7 +97054,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *583 x-github: @@ -96842,8 +97072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *339 - *340 + - *341 - *584 responses: '204': @@ -96865,8 +97095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *339 - *340 + - *341 - *584 - *17 - *19 @@ -96877,11 +97107,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *551 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96898,11 +97128,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *339 - *340 + - *341 - *585 - *586 - - *87 + - *88 - *587 - *17 - *19 @@ -96913,11 +97143,11 @@ paths: application/json: schema: type: array - items: *107 + items: *108 examples: default: *588 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96939,8 +97169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -96998,8 +97228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -97190,8 +97420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97250,7 +97480,7 @@ paths: examples: default: *590 '422': *15 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97271,8 +97501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97351,7 +97581,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97372,14 +97602,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *339 - *340 + - *341 responses: '204': description: Response '422': *15 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97399,8 +97629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -97483,7 +97713,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97502,8 +97732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *339 - *340 + - *341 responses: '201': description: Response @@ -97550,8 +97780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -97607,8 +97837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *339 - *340 + - *341 - name: build_id in: path required: true @@ -97641,8 +97871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -97750,8 +97980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - &593 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit @@ -97810,11 +98040,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *339 - *340 + - *341 - *593 responses: - '204': *59 + '204': *58 '404': *6 x-github: githubCloudOnly: false @@ -97839,8 +98069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -98108,7 +98338,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -98135,8 +98365,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: - - *339 - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -98173,10 +98403,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -98195,10 +98425,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *339 - *340 + - *341 responses: - '204': *59 + '204': *58 '422': *14 x-github: githubCloudOnly: false @@ -98218,8 +98448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -98227,7 +98457,7 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: default: value: @@ -98258,8 +98488,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: - - *339 - *340 + - *341 requestBody: required: true content: @@ -98271,7 +98501,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *295 + items: *296 required: - properties examples: @@ -98321,8 +98551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *339 - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98382,12 +98612,12 @@ paths: application/json: schema: type: array - items: *475 + items: *476 examples: default: *594 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '422': *15 x-github: githubCloudOnly: false @@ -98416,8 +98646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -98484,7 +98714,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &599 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98613,7 +98843,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 active_lock_reason: type: - string @@ -98662,7 +98892,7 @@ paths: items: *4 requested_teams: type: array - items: *260 + items: *261 head: type: object properties: @@ -98670,7 +98900,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -98687,7 +98917,7 @@ paths: type: string ref: type: string - repo: *78 + repo: *79 sha: type: string user: *4 @@ -98700,14 +98930,14 @@ paths: _links: type: object properties: - comments: *282 - commits: *282 - statuses: *282 - html: *282 - issue: *282 - review_comments: *282 - review_comment: *282 - self: *282 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -98717,8 +98947,9 @@ paths: - review_comments - review_comment - self - author_association: *79 + author_association: *80 auto_merge: *595 + stack: *596 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98914,7 +99145,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &599 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99452,8 +99683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *339 - *340 + - *341 - name: sort in: query required: false @@ -99472,7 +99703,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -99482,9 +99713,9 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99536,7 +99767,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99561,17 +99792,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: &597 + default: &598 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99646,9 +99877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -99670,9 +99901,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99688,9 +99919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *96 + - *341 + - *97 responses: '204': description: Response @@ -99711,9 +99942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -99739,11 +99970,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -99762,9 +99993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *339 - *340 - - *96 + - *341 + - *97 requestBody: required: true content: @@ -99796,16 +100027,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -99827,9 +100058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *339 - *340 - - *96 + - *341 + - *97 - *541 responses: '204': @@ -99873,9 +100104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *339 - *340 - - &600 + - *341 + - &601 name: pull_number description: The number that identifies the pull request. in: path @@ -99888,18 +100119,18 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *598 + schema: *599 examples: - default: *599 - '304': *35 + default: *600 + '304': *36 '404': *6 '406': description: Unacceptable content: application/json: schema: *3 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99925,9 +100156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -99969,9 +100200,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 '422': *15 '403': *27 x-github: @@ -99993,9 +100224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -100056,21 +100287,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100096,10 +100327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *339 - *340 - - *600 - - *104 + - *341 + - *601 + - *105 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -100109,7 +100340,7 @@ paths: enum: - asc - desc - - *87 + - *88 - *17 - *19 responses: @@ -100119,11 +100350,11 @@ paths: application/json: schema: type: array - items: *596 + items: *597 examples: - default: *601 + default: *602 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100154,9 +100385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -100262,7 +100493,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: example-for-a-multi-line-comment: value: @@ -100350,10 +100581,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *339 - *340 - - *600 - - *96 + - *341 + - *601 + - *97 requestBody: required: true content: @@ -100375,7 +100606,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: default: value: @@ -100461,9 +100692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -100473,11 +100704,11 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: - default: *602 + default: *603 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100505,9 +100736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -100517,7 +100748,7 @@ paths: application/json: schema: type: array - items: *482 + items: *483 examples: default: value: @@ -100533,10 +100764,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *66 + Link: *67 '422': *15 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100555,9 +100786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '204': description: Response if pull request has been merged @@ -100580,9 +100811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -100694,9 +100925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 responses: '200': description: Response @@ -100712,7 +100943,7 @@ paths: items: *4 teams: type: array - items: *200 + items: *201 required: - users - teams @@ -100753,7 +100984,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100771,9 +101002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -100810,7 +101041,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -101346,9 +101577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: true content: @@ -101382,7 +101613,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -101898,9 +102129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 - *17 - *19 responses: @@ -101910,7 +102141,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101984,7 +102215,7 @@ paths: type: string body_text: type: string - author_association: *79 + author_association: *80 required: - id - node_id @@ -102033,7 +102264,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102066,9 +102297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -102158,9 +102389,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &605 + default: &606 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102223,10 +102454,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - &604 + - *341 + - *601 + - &605 name: review_id description: The unique identifier of the review. in: path @@ -102238,9 +102469,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &606 + default: &607 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102299,10 +102530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -102325,7 +102556,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -102387,18 +102618,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 responses: '200': description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *605 + default: *606 '422': *7 '404': *6 x-github: @@ -102425,10 +102656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 - *17 - *19 responses: @@ -102522,13 +102753,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *79 + author_association: *80 _links: type: object properties: - self: *282 - html: *282 - pull_request: *282 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -102537,7 +102768,7 @@ paths: type: string body_html: type: string - reactions: *80 + reactions: *81 side: description: The side of the first line of the range for a multi-line comment. @@ -102657,7 +102888,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -102686,10 +102917,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -102718,7 +102949,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -102781,10 +103012,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *339 - *340 - - *600 - - *604 + - *341 + - *601 + - *605 requestBody: required: true content: @@ -102819,9 +103050,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *606 + default: *607 '404': *6 '422': *7 '403': *27 @@ -102843,9 +103074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *339 - *340 - - *600 + - *341 + - *601 requestBody: required: false content: @@ -102909,8 +103140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *339 - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102923,9 +103154,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: &608 + default: &609 value: type: file encoding: base64 @@ -102942,7 +103173,7 @@ paths: git: https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1 self: https://api.github.com/repos/octokit/octokit.rb/contents/README.md html: https://github.com/octokit/octokit.rb/blob/master/README.md - '304': *35 + '304': *36 '404': *6 '422': *15 x-github: @@ -102967,8 +103198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *339 - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -102988,9 +103219,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *608 examples: - default: *608 + default: *609 '404': *6 '422': *15 x-github: @@ -103012,8 +103243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -103023,7 +103254,7 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: default: value: @@ -103097,7 +103328,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -103117,8 +103348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -103194,9 +103425,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: &613 + default: &614 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103301,9 +103532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *339 - *340 - - &611 + - *341 + - &612 name: asset_id description: The unique identifier of the asset. in: path @@ -103315,9 +103546,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &612 + default: &613 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 @@ -103352,7 +103583,7 @@ paths: type: User site_admin: false '404': *6 - '302': *486 + '302': *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103368,9 +103599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 requestBody: required: false content: @@ -103399,9 +103630,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *612 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103417,9 +103648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *339 - *340 - - *611 + - *341 + - *612 responses: '204': description: Response @@ -103444,8 +103675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -103531,16 +103762,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *339 - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -103558,8 +103789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *339 - *340 + - *341 - name: tag description: tag parameter in: path @@ -103572,9 +103803,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': *6 x-github: githubCloudOnly: false @@ -103596,9 +103827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *339 - *340 - - &614 + - *341 + - &615 name: release_id description: The unique identifier of the release. in: path @@ -103612,9 +103843,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: *609 + schema: *610 examples: - default: *613 + default: *614 '401': description: Unauthorized x-github: @@ -103632,9 +103863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: false content: @@ -103698,9 +103929,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *610 examples: - default: *613 + default: *614 '404': description: Not Found if the discussion category name is invalid content: @@ -103721,9 +103952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 responses: '204': description: Response @@ -103744,9 +103975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *17 - *19 responses: @@ -103756,7 +103987,7 @@ paths: application/json: schema: type: array - items: *610 + items: *611 examples: default: value: @@ -103793,7 +104024,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103837,9 +104068,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: - - *339 - *340 - - *614 + - *341 + - *615 - name: name in: query required: true @@ -103865,7 +104096,7 @@ paths: description: Response for successful upload content: application/json: - schema: *610 + schema: *611 examples: response-for-successful-upload: value: @@ -103920,9 +104151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 - 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. @@ -103946,11 +104177,11 @@ paths: application/json: schema: type: array - items: *469 + items: *470 examples: default: *540 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -103969,9 +104200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *339 - *340 - - *614 + - *341 + - *615 requestBody: required: true content: @@ -104001,16 +104232,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '201': description: Reaction created content: application/json: - schema: *469 + schema: *470 examples: - default: *470 + default: *471 '422': *15 x-github: githubCloudOnly: false @@ -104032,9 +104263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *339 - *340 - - *614 + - *341 + - *615 - *541 responses: '204': @@ -104059,9 +104290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *339 - *340 - - *405 + - *341 + - *406 - *17 - *19 responses: @@ -104077,8 +104308,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *302 - - &615 + - *303 + - &616 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104097,72 +104328,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *303 - - *615 - allOf: - *304 - - *615 + - *616 - allOf: - *305 - - *615 - - allOf: - *616 - - *615 - allOf: - *306 - - *615 + - *616 + - allOf: + - *617 + - *616 - allOf: - *307 - - *615 + - *616 - allOf: - *308 - - *615 + - *616 - allOf: - *309 - - *615 + - *616 - allOf: - *310 - - *615 + - *616 - allOf: - *311 - - *615 + - *616 - allOf: - *312 - - *615 + - *616 - allOf: - *313 - - *615 + - *616 - allOf: - *314 - - *615 + - *616 - allOf: - *315 - - *615 + - *616 - allOf: - - *320 - - *615 + - *316 + - *616 - allOf: - *321 - - *615 + - *616 - allOf: - *322 - - *615 + - *616 - allOf: - - *617 - - *615 + - *323 + - *616 - allOf: - - *316 - - *615 + - *618 + - *616 - allOf: - *317 - - *615 + - *616 - allOf: - *318 - - *615 + - *616 - allOf: - *319 - - *615 + - *616 + - allOf: + - *320 + - *616 examples: default: value: @@ -104201,8 +104432,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - *17 - *19 - name: includes_parents @@ -104213,7 +104444,7 @@ paths: schema: type: boolean default: true - - *618 + - *619 responses: '200': description: Response @@ -104221,7 +104452,7 @@ paths: application/json: schema: type: array - items: *323 + items: *324 examples: default: value: @@ -104252,7 +104483,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *53 + '500': *54 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -104268,8 +104499,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 requestBody: description: Request body required: true @@ -104289,16 +104520,16 @@ paths: - tag - push default: branch - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *619 + items: *620 required: - name - enforcement @@ -104329,9 +104560,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: &630 + default: &631 value: id: 42 name: super cool ruleset @@ -104365,7 +104596,7 @@ paths: updated_at: '2023-08-23T16:29:47Z' '404': *6 '422': *15 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -104379,13 +104610,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *339 - *340 - - *620 + - *341 - *621 - *622 - *623 - *624 + - *625 - *17 - *19 responses: @@ -104393,11 +104624,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: - default: *626 + default: *627 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104416,19 +104647,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *339 - *340 - - *627 + - *341 + - *628 responses: '200': description: Response content: application/json: - schema: *628 + schema: *629 examples: - default: *629 + default: *630 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104454,8 +104685,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104475,11 +104706,11 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 - '500': *53 + '500': *54 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -104495,8 +104726,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104521,16 +104752,16 @@ paths: - branch - tag - push - enforcement: *299 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *300 - conditions: *297 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *619 + items: *620 examples: default: value: @@ -104558,12 +104789,12 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - default: *630 + default: *631 '404': *6 '422': *15 - '500': *53 + '500': *54 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -104579,8 +104810,8 @@ paths: category: repos subcategory: rules parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104591,7 +104822,7 @@ paths: '204': description: Response '404': *6 - '500': *53 + '500': *54 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -104603,8 +104834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *339 - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -104620,11 +104851,11 @@ paths: application/json: schema: type: array - items: *326 + items: *327 examples: - default: *631 + default: *632 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104641,8 +104872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *339 - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104660,7 +104891,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *633 examples: default: value: @@ -104693,7 +104924,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104715,9 +104946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *339 - *340 - - *633 + - *341 - *634 - *635 - *636 @@ -104725,10 +104955,10 @@ paths: - *638 - *639 - *640 - - *60 + - *641 + - *61 - *19 - *17 - - *641 - *642 - *643 - *644 @@ -104737,6 +104967,7 @@ paths: - *647 - *648 - *649 + - *650 responses: '200': description: Response @@ -104747,21 +104978,21 @@ paths: items: type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -104867,7 +105098,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105004,7 +105235,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105026,32 +105257,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 - - *646 + - *341 + - *438 + - *647 responses: '200': description: Response content: application/json: - schema: &653 + schema: &654 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolved_at: type: - string @@ -105157,7 +105388,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *653 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -105180,7 +105411,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &817 + metadata: &818 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -105226,11 +105457,11 @@ paths: metadata: - key: owner_email value: owner@example.com - '304': *35 + '304': *36 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105253,9 +105484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 requestBody: required: true content: @@ -105263,8 +105494,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *651 + resolution: *652 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105312,7 +105543,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *654 examples: default: value: @@ -105392,7 +105623,7 @@ paths: description: State does not match the resolution or resolution comment, assignee does not have write access to the repository, or the requested validity change could not be applied to this alert - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -105414,9 +105645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *339 - *340 - - *437 + - *341 + - *438 - *19 - *17 responses: @@ -105427,7 +105658,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &819 + items: &820 type: object properties: type: @@ -105454,7 +105685,6 @@ paths: - commit details: oneOf: - - *654 - *655 - *656 - *657 @@ -105467,6 +105697,7 @@ paths: - *664 - *665 - *666 + - *667 examples: default: value: @@ -105526,11 +105757,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *66 + Link: *67 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105555,12 +105786,12 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 - - *667 + - *341 - *668 - *669 - - *60 + - *670 + - *61 - *19 - *17 responses: @@ -105570,11 +105801,11 @@ paths: application/json: schema: type: array - items: *327 + items: *328 examples: - default: *670 + default: *671 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 post: @@ -105595,8 +105826,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105609,9 +105840,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *671 + items: *672 examples: - default: *672 + default: *673 responses: '201': description: All patterns created successfully. @@ -105623,9 +105854,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *327 + items: *328 examples: - default: *673 + default: *674 '400': *14 '403': *27 '404': *6 @@ -105649,7 +105880,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *674 + items: *675 delete: summary: Bulk delete repository custom patterns description: |- @@ -105668,8 +105899,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105683,7 +105914,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *675 + items: *676 post_delete_action: type: string description: |- @@ -105696,14 +105927,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *676 + default: *677 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -105723,8 +105954,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *339 - *340 + - *341 - name: pattern_id in: path required: true @@ -105735,21 +105966,21 @@ paths: required: true content: application/json: - schema: *677 + schema: *678 examples: - default: *678 + default: *679 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *327 + schema: *328 examples: - default: *679 + default: *680 '400': *14 '403': *27 '404': *6 - '412': *329 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -105767,8 +105998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -105776,14 +106007,14 @@ paths: schema: type: object properties: - reason: &681 + reason: &682 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *680 + placeholder_id: *681 required: - reason - placeholder_id @@ -105800,7 +106031,7 @@ paths: schema: type: object properties: - reason: *681 + reason: *682 expire_at: type: - string @@ -105824,7 +106055,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *114 + '503': *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -105847,13 +106078,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *339 - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *114 + '503': *115 '200': description: Response content: @@ -105863,7 +106094,7 @@ paths: properties: incremental_scans: type: array - items: &682 + items: &683 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105896,15 +106127,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *682 + items: *683 backfill_scans: type: array - items: *682 + items: *683 custom_pattern_backfill_scans: type: array items: allOf: - - *682 + - *683 - type: object properties: pattern_name: @@ -105917,7 +106148,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *682 + items: *683 examples: default: value: @@ -105982,9 +106213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *339 - *340 - - *60 + - *341 + - *61 - name: sort description: The property to sort the results by. in: query @@ -105996,8 +106227,8 @@ paths: - updated - published default: created - - *45 - *46 + - *47 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -106027,9 +106258,9 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: - default: *684 + default: *685 '400': *14 '404': *6 x-github: @@ -106052,8 +106283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -106133,7 +106364,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -106223,9 +106454,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &686 + default: &687 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106464,8 +106695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -106578,7 +106809,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: default: value: @@ -106731,17 +106962,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '200': description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 + default: *687 '403': *27 '404': *6 x-github: @@ -106765,9 +106996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 requestBody: required: true content: @@ -106847,7 +107078,7 @@ paths: login: type: string description: The username of the user credited. - type: *331 + type: *332 required: - login - type @@ -106938,17 +107169,17 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *686 - add_credit: *686 + default: *687 + add_credit: *687 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *124 + schema: *125 examples: invalid_state_transition: value: @@ -106979,11 +107210,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: - '202': *37 + '202': *38 '400': *14 '403': *27 '404': *6 @@ -107008,17 +107239,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *339 - *340 - - *685 + - *341 + - *686 responses: '202': description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 '400': *14 '422': *15 '403': *27 @@ -107044,8 +107275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107119,7 +107350,7 @@ paths: type: User site_admin: false headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -107141,8 +107372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107151,7 +107382,7 @@ paths: application/json: schema: type: array - items: &687 + items: &688 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107163,8 +107394,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *37 - '204': *59 + '202': *38 + '204': *58 '422': description: Repository contains more than 10,000 commits x-github: @@ -107184,8 +107415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -107235,8 +107466,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107263,8 +107494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -107335,8 +107566,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *37 - '204': *59 + '202': *38 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107358,8 +107589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *339 - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107513,8 +107744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *339 - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107524,7 +107755,7 @@ paths: application/json: schema: type: array - items: *687 + items: *688 examples: default: value: @@ -107537,7 +107768,7 @@ paths: - - 0 - 2 - 21 - '204': *59 + '204': *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107557,8 +107788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *339 - *340 + - *341 - name: sha in: path required: true @@ -107614,7 +107845,7 @@ paths: description: Response content: application/json: - schema: *688 + schema: *689 examples: default: value: @@ -107668,8 +107899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107681,9 +107912,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107701,14 +107932,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &689 + schema: &690 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107781,8 +108012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *339 - *340 + - *341 requestBody: required: false content: @@ -107808,7 +108039,7 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: default: value: @@ -107835,8 +108066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -107856,8 +108087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107916,7 +108147,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107939,8 +108170,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -107976,8 +108207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *339 - *340 + - *341 - *17 - *19 responses: @@ -107987,11 +108218,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *261 + default: *262 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -108009,8 +108240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *339 - *340 + - *341 - *19 - *17 responses: @@ -108018,7 +108249,7 @@ paths: description: Response content: application/json: - schema: &690 + schema: &691 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108030,7 +108261,7 @@ paths: required: - names examples: - default: &691 + default: &692 value: names: - octocat @@ -108053,8 +108284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -108085,9 +108316,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *691 examples: - default: *691 + default: *692 '404': *6 '422': *7 x-github: @@ -108108,9 +108339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *339 - *340 - - &692 + - *341 + - &693 name: per description: The time frame to display results for. in: query @@ -108141,7 +108372,7 @@ paths: - 128 clones: type: array - items: &693 + items: &694 title: Traffic type: object properties: @@ -108228,8 +108459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -108323,8 +108554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *339 - *340 + - *341 responses: '200': description: Response @@ -108387,9 +108618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *339 - *340 - - *692 + - *341 + - *693 responses: '200': description: Response @@ -108410,7 +108641,7 @@ paths: - 3782 views: type: array - items: *693 + items: *694 required: - uniques - count @@ -108487,8 +108718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *339 - *340 + - *341 requestBody: required: true content: @@ -108524,7 +108755,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: value: @@ -108768,8 +108999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *339 - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108792,8 +109023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -108815,8 +109046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *339 - *340 + - *341 responses: '204': description: Response @@ -108842,8 +109073,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *339 - *340 + - *341 - name: ref in: path required: true @@ -108935,9 +109166,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108978,7 +109209,7 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: default: value: @@ -109054,7 +109285,7 @@ paths: schema: type: string '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109170,7 +109401,7 @@ paths: html_url: type: string format: uri - repository: *155 + repository: *156 score: type: number file_size: @@ -109189,7 +109420,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &694 + text_matches: &695 title: Search Result Text Matches type: array items: @@ -109303,8 +109534,8 @@ paths: deployments_url: http://api.github.com/repos/octocat/Hello-World/deployments releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 '403': *27 x-github: @@ -109352,7 +109583,7 @@ paths: enum: - author-date - committer-date - - &695 + - &696 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 @@ -109421,7 +109652,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 comment_count: type: integer message: @@ -109440,7 +109671,7 @@ paths: url: type: string format: uri - verification: *522 + verification: *523 required: - author - committer @@ -109455,7 +109686,7 @@ paths: committer: anyOf: - type: 'null' - - *403 + - *404 parents: type: array items: @@ -109467,12 +109698,12 @@ paths: type: string sha: type: string - repository: *155 + repository: *156 score: type: number node_id: type: string - text_matches: *694 + text_matches: *695 required: - sha - node_id @@ -109601,7 +109832,7 @@ paths: deployments_url: https://api.github.com/repos/octocat/Spoon-Knife/deployments score: 1 node_id: MDQ6VXNlcjU4MzIzMQ== - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109664,7 +109895,7 @@ paths: - interactions - created - updated - - *695 + - *696 - *17 - *19 - name: advanced_search @@ -109778,8 +110009,8 @@ paths: type: - string - 'null' - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -109796,7 +110027,7 @@ paths: milestone: anyOf: - type: 'null' - - *281 + - *282 comments: type: integer created_at: @@ -109810,7 +110041,7 @@ paths: - string - 'null' format: date-time - text_matches: *694 + text_matches: *695 pull_request: type: object properties: @@ -109848,10 +110079,10 @@ paths: type: string score: type: number - author_association: *79 + author_association: *80 draft: type: boolean - repository: *78 + repository: *79 body_html: type: string body_text: @@ -109859,7 +110090,7 @@ paths: timeline_url: type: string format: uri - type: *245 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -109867,8 +110098,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *83 - reactions: *80 + - *84 + reactions: *81 required: - assignee - closed_at @@ -110066,9 +110297,9 @@ paths: - quoted_text items: - "..." - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -110120,7 +110351,7 @@ paths: enum: - created - updated - - *695 + - *696 - *17 - *19 responses: @@ -110165,7 +110396,7 @@ paths: - 'null' score: type: number - text_matches: *694 + text_matches: *695 required: - id - node_id @@ -110197,7 +110428,7 @@ paths: default: true description: Something isn't working. score: 1 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -110250,7 +110481,7 @@ paths: - forks - help-wanted-issues - updated - - *695 + - *696 - *17 - *19 responses: @@ -110478,7 +110709,7 @@ paths: license: anyOf: - type: 'null' - - *84 + - *85 permissions: type: object properties: @@ -110496,7 +110727,7 @@ paths: - admin - pull - push - text_matches: *694 + text_matches: *695 temp_clone_token: type: string allow_merge_commit: @@ -110699,9 +110930,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *114 + '503': *115 '422': *15 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110804,7 +111035,7 @@ paths: - string - 'null' format: uri - text_matches: *694 + text_matches: *695 related: type: - array @@ -110947,7 +111178,7 @@ paths: featured: true curated: true score: 1 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110997,7 +111228,7 @@ paths: - followers - repositories - joined - - *695 + - *696 - *17 - *19 responses: @@ -111107,7 +111338,7 @@ paths: type: - boolean - 'null' - text_matches: *694 + text_matches: *695 blog: type: - string @@ -111168,8 +111399,8 @@ paths: starred_url: https://api.github.com/users/mojombo/starred{/owner}{/repo} events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true - '304': *35 - '503': *114 + '304': *36 + '503': *115 '422': *15 x-github: githubCloudOnly: false @@ -111189,7 +111420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &698 + - &699 name: team_id description: The unique identifier of the team. in: path @@ -111201,9 +111432,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -111230,7 +111461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *698 + - *699 requestBody: required: true content: @@ -111294,16 +111525,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '201': description: Response content: application/json: - schema: *335 + schema: *336 examples: - default: *336 + default: *337 '404': *6 '422': *15 '403': *27 @@ -111331,7 +111562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *698 + - *699 responses: '204': description: Response @@ -111360,7 +111591,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -111370,11 +111601,11 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *240 + default: *241 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111400,7 +111631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *698 + - *699 - name: role description: Filters members returned by their role in the team. in: query @@ -111421,11 +111652,11 @@ paths: application/json: schema: type: array - items: *699 + items: *700 examples: - default: *700 + default: *701 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -111451,8 +111682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: if user is a member @@ -111488,8 +111719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -111528,8 +111759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -111565,16 +111796,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '200': description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *701 + response-if-user-is-a-team-maintainer: *702 '404': *6 x-github: githubCloudOnly: false @@ -111607,8 +111838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 requestBody: required: false content: @@ -111633,9 +111864,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *702 + response-if-users-membership-with-team-is-now-pending: *703 '403': description: Forbidden if team synchronization is set up '422': @@ -111669,8 +111900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *698 - - *70 + - *699 + - *71 responses: '204': description: Response @@ -111697,7 +111928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -111707,11 +111938,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -111739,15 +111970,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *703 + schema: *704 examples: alternative-response-with-extra-repository-information: value: @@ -111904,9 +112135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 requestBody: required: false content: @@ -111956,9 +112187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *698 - - *339 + - *699 - *340 + - *341 responses: '204': description: Response @@ -111983,7 +112214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *698 + - *699 - *17 - *19 responses: @@ -111993,11 +112224,11 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - response-if-child-teams-exist: *704 + response-if-child-teams-exist: *705 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 '422': *15 @@ -112028,7 +112259,7 @@ paths: application/json: schema: oneOf: - - &706 + - &707 title: Private User description: Private User type: object @@ -112278,7 +112509,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *705 + - *706 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112361,7 +112592,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -112438,7 +112669,7 @@ paths: description: Response content: application/json: - schema: *706 + schema: *707 examples: default: value: @@ -112485,7 +112716,7 @@ paths: space: 400 private_repos: 20 collaborators: 0 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -112517,8 +112748,8 @@ paths: type: array items: *4 examples: - default: *69 - '304': *35 + default: *70 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -112540,7 +112771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: If the user is blocked @@ -112549,7 +112780,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -112568,11 +112799,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -112592,11 +112823,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -112641,11 +112872,11 @@ paths: type: integer codespaces: type: array - items: *250 + items: *251 examples: - default: *251 - '304': *35 - '500': *53 + default: *252 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -112782,21 +113013,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 - '503': *114 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112836,7 +113067,7 @@ paths: type: integer secrets: type: array - items: &707 + items: &708 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112878,9 +113109,9 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *463 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112950,13 +113181,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '200': description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -112986,7 +113217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 requestBody: required: true content: @@ -113031,7 +113262,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -113059,7 +113290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *163 + - *164 responses: '204': description: Response @@ -113084,7 +113315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 responses: '200': description: Response @@ -113100,13 +113331,13 @@ paths: type: integer repositories: type: array - items: *155 + items: *156 examples: - default: *201 + default: *202 '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113127,7 +113358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *163 + - *164 requestBody: required: true content: @@ -113159,7 +113390,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113181,7 +113412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -113193,7 +113424,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113214,7 +113445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *163 + - *164 - name: repository_id in: path required: true @@ -113226,7 +113457,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *53 + '500': *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113246,17 +113477,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113280,7 +113511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 requestBody: required: false content: @@ -113310,9 +113541,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 + default: *461 '401': *23 '403': *27 '404': *6 @@ -113334,11 +113565,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: - '202': *37 - '304': *35 - '500': *53 + '202': *38 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113363,13 +113594,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '202': description: Response content: application/json: - schema: &708 + schema: &709 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113422,7 +113653,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &709 + default: &710 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113430,7 +113661,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *53 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113454,7 +113685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *252 + - *253 - name: export_id in: path required: true @@ -113467,9 +113698,9 @@ paths: description: Response content: application/json: - schema: *708 + schema: *709 examples: - default: *709 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -113490,7 +113721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *252 + - *253 responses: '200': description: Response @@ -113506,11 +113737,11 @@ paths: type: integer machines: type: array - items: *461 + items: *462 examples: - default: *710 - '304': *35 - '500': *53 + default: *711 + '304': *36 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -113537,7 +113768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *252 + - *253 requestBody: required: true content: @@ -113593,11 +113824,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *342 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *462 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -114394,17 +114625,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '304': *35 - '500': *53 + default: *461 + '304': *36 + '500': *54 '400': *14 '401': *23 '402': @@ -114414,7 +114645,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *52 + '409': *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114434,16 +114665,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *252 + - *253 responses: '200': description: Response content: application/json: - schema: *250 + schema: *251 examples: - default: *460 - '500': *53 + default: *461 + '500': *54 '401': *23 '403': *27 '404': *6 @@ -114472,9 +114703,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: &722 + default: &723 value: - id: 197 name: hello_docker @@ -114575,7 +114806,7 @@ paths: application/json: schema: type: array - items: &711 + items: &712 title: Email description: Email type: object @@ -114611,7 +114842,7 @@ paths: primary: true verified: true visibility: private - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114645,17 +114876,17 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: - default: &724 + default: &725 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114724,7 +114955,7 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: default: value: @@ -114741,7 +114972,7 @@ paths: verified: false visibility: '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114804,7 +115035,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114836,10 +115067,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -114869,10 +115100,10 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -114891,7 +115122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *70 + - *71 responses: '204': description: if the person is followed by the authenticated user @@ -114900,7 +115131,7 @@ paths: content: application/json: schema: *3 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -114921,11 +115152,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114946,11 +115177,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *70 + - *71 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -114982,7 +115213,7 @@ paths: application/json: schema: type: array - items: &712 + items: &713 title: GPG Key description: A unique encryption key type: object @@ -115127,7 +115358,7 @@ paths: - subkeys - revoked examples: - default: &741 + default: &742 value: - id: 3 name: Octocat's GPG Key @@ -115159,8 +115390,8 @@ paths: revoked: false raw_key: string headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115212,9 +115443,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: &713 + default: &714 value: id: 3 name: Octocat's GPG Key @@ -115248,7 +115479,7 @@ paths: v2\n\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\nIts/HFYRLiFgDLmTlxo=\n=+OzK\n-----END PGP PUBLIC KEY BLOCK-----"' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115271,7 +115502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &714 + - &715 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115283,11 +115514,11 @@ paths: description: Response content: application/json: - schema: *712 + schema: *713 examples: - default: *713 + default: *714 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115308,13 +115539,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *714 + - *715 responses: '204': description: Response '404': *6 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115451,8 +115682,8 @@ paths: suspended_at: suspended_by: headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -115499,7 +115730,7 @@ paths: type: array items: allOf: - - *78 + - *79 - type: object properties: custom_properties: @@ -115510,12 +115741,12 @@ paths: values. Present for org repos only. additionalProperties: true examples: - default: *147 + default: *148 headers: - Link: *66 + Link: *67 '404': *6 '403': *27 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115536,12 +115767,12 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 x-github: githubCloudOnly: false @@ -115562,12 +115793,12 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *144 + - *145 responses: '204': description: Response '403': *27 - '304': *35 + '304': *36 '404': *6 '422': description: Returned when the application is installed on `all` repositories @@ -115596,12 +115827,12 @@ paths: application/json: schema: anyOf: - - *237 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *238 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -115625,7 +115856,7 @@ paths: required: true content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -115636,7 +115867,7 @@ paths: description: Response content: application/json: - schema: *237 + schema: *238 examples: default: value: @@ -115717,7 +115948,7 @@ paths: - closed - all default: open - - *248 + - *249 - name: sort description: What to sort results by. in: query @@ -115729,8 +115960,8 @@ paths: - updated - comments default: created - - *60 - - *87 + - *61 + - *88 - *17 - *19 responses: @@ -115740,13 +115971,13 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: - default: *249 + default: *250 headers: - Link: *66 + Link: *67 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115775,7 +116006,7 @@ paths: application/json: schema: type: array - items: &715 + items: &716 title: Key description: Key type: object @@ -115827,8 +116058,8 @@ paths: verified: false read_only: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115878,9 +116109,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: &716 + default: &717 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115890,7 +116121,7 @@ paths: verified: false read_only: false '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115919,11 +116150,11 @@ paths: description: Response content: application/json: - schema: *715 + schema: *716 examples: - default: *716 + default: *717 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -115948,7 +116179,7 @@ paths: responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -115977,7 +116208,7 @@ paths: application/json: schema: type: array - items: &717 + items: &718 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116045,7 +116276,7 @@ paths: - id - type - login - plan: *98 + plan: *99 required: - billing_cycle - next_billing_date @@ -116056,7 +116287,7 @@ paths: - account - plan examples: - default: &718 + default: &719 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116089,8 +116320,8 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 '404': *6 x-github: @@ -116118,12 +116349,12 @@ paths: application/json: schema: type: array - items: *717 + items: *718 examples: - default: *718 + default: *719 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '401': *23 x-github: githubCloudOnly: false @@ -116160,7 +116391,7 @@ paths: application/json: schema: type: array - items: *254 + items: *255 examples: default: value: @@ -116243,8 +116474,8 @@ paths: type: User site_admin: false headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -116268,13 +116499,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 responses: '200': description: Response content: application/json: - schema: *254 + schema: *255 examples: default: value: @@ -116336,7 +116567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *74 + - *75 requestBody: required: true content: @@ -116361,9 +116592,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: &719 + default: &720 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -116410,9 +116641,9 @@ paths: processed asynchronously. content: application/json: - schema: *254 + schema: *255 examples: - default: *719 + default: *720 '403': *27 '404': *6 '422': *15 @@ -116441,7 +116672,7 @@ paths: application/json: schema: type: array - items: *256 + items: *257 examples: default: value: @@ -116594,8 +116825,8 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -116703,7 +116934,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -116856,7 +117087,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -116883,7 +117114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *257 + - *258 - name: exclude in: query required: false @@ -116896,7 +117127,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -117050,7 +117281,7 @@ paths: created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117090,11 +117321,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *257 + - *258 responses: '302': description: Response - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117116,12 +117347,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *257 + - *258 responses: '204': description: Response '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -117145,12 +117376,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *257 - - *720 + - *258 + - *721 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117170,7 +117401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *257 + - *258 - *17 - *19 responses: @@ -117180,11 +117411,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 '404': *6 x-github: githubCloudOnly: false @@ -117199,7 +117430,7 @@ paths: content: application/json: schema: - items: *65 + items: *66 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -117235,12 +117466,12 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -117279,7 +117510,7 @@ paths: - docker - nuget - container - - *721 + - *722 - *19 - *17 responses: @@ -117289,10 +117520,10 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 - '400': *723 + default: *723 + '400': *724 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117312,16 +117543,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: &742 + default: &743 value: id: 40201 name: octo-name @@ -117434,8 +117665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 responses: '204': description: Response @@ -117465,8 +117696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *264 - *265 + - *266 - name: token description: package token schema: @@ -117498,8 +117729,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: - - *264 - *265 + - *266 - *19 - *17 - name: state @@ -117519,7 +117750,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -117568,15 +117799,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -117612,9 +117843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -117644,9 +117875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *264 - *265 - - *267 + - *266 + - *268 responses: '204': description: Response @@ -117683,12 +117914,12 @@ paths: application/json: schema: type: array - items: *711 + items: *712 examples: - default: *724 + default: *725 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -117796,9 +118027,9 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default: &731 + default: &732 summary: Default response value: - id: 1296269 @@ -117919,9 +118150,9 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 + Link: *67 '422': *15 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -118116,16 +118347,16 @@ paths: description: Response content: application/json: - schema: *342 + schema: *343 examples: - default: *344 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World schema: type: string '401': *23 - '304': *35 + '304': *36 '404': *6 '403': *27 '422': *15 @@ -118162,12 +118393,12 @@ paths: application/json: schema: type: array - items: *536 + items: *537 examples: - default: *725 + default: *726 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118187,14 +118418,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response '403': *27 - '409': *52 + '409': *53 '404': *6 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118216,12 +118447,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *241 + - *242 responses: '204': description: Response - '409': *52 - '304': *35 + '409': *53 + '304': *36 '404': *6 '403': *27 x-github: @@ -118249,7 +118480,7 @@ paths: application/json: schema: type: array - items: &726 + items: &727 title: Social account description: Social media account type: object @@ -118266,13 +118497,13 @@ paths: - provider - url examples: - default: &727 + default: &728 value: - provider: twitter url: https://twitter.com/github headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118329,11 +118560,11 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: - default: *727 + default: *728 '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118387,7 +118618,7 @@ paths: '204': description: Response '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118419,7 +118650,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118439,7 +118670,7 @@ paths: - title - created_at examples: - default: &759 + default: &760 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -118450,8 +118681,8 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118504,16 +118735,16 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: &729 + default: &730 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 title: ssh-rsa AAAAB3NzaC1yc2EAAA created_at: '2020-06-11T21:31:57Z' '422': *15 - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118536,7 +118767,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: - - &730 + - &731 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118548,11 +118779,11 @@ paths: description: Response content: application/json: - schema: *728 + schema: *729 examples: - default: *729 + default: *730 '404': *6 - '304': *35 + '304': *36 '403': *27 '401': *23 x-github: @@ -118573,11 +118804,11 @@ 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: - - *730 + - *731 responses: '204': description: Response - '304': *35 + '304': *36 '404': *6 '403': *27 '401': *23 @@ -118602,7 +118833,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &760 + - &761 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 @@ -118615,7 +118846,7 @@ paths: - created - updated default: created - - *60 + - *61 - *17 - *19 responses: @@ -118625,13 +118856,13 @@ paths: application/json: schema: type: array - items: *78 + items: *79 examples: - default-response: *731 + default-response: *732 application/vnd.github.v3.star+json: schema: type: array - items: &761 + items: &762 title: Starred Repository description: Starred Repository type: object @@ -118639,7 +118870,7 @@ paths: starred_at: type: string format: date-time - repo: *78 + repo: *79 required: - starred_at - repo @@ -118767,8 +118998,8 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -118787,8 +119018,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: - - *339 - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -118798,7 +119029,7 @@ paths: application/json: schema: *3 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -118816,15 +119047,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '403': *27 '404': *6 '401': *23 - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118841,14 +119072,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *339 - *340 + - *341 responses: '204': description: Response '404': *6 '401': *23 - '304': *35 + '304': *36 '403': *27 x-github: githubCloudOnly: false @@ -118875,12 +119106,12 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -118914,7 +119145,7 @@ paths: application/json: schema: type: array - items: *335 + items: *336 examples: default: value: @@ -118965,8 +119196,8 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '404': *6 '403': *27 x-github: @@ -118992,7 +119223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *100 + - *101 responses: '200': description: Response @@ -119000,10 +119231,10 @@ paths: application/json: schema: oneOf: + - *707 - *706 - - *705 examples: - default-response: &735 + default-response: &736 summary: Default response value: login: octocat @@ -119038,7 +119269,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &736 + response-with-git-hub-plan-information: &737 summary: Response with GitHub plan information value: login: octocat @@ -119095,14 +119326,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &733 + - &734 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *280 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -119136,10 +119367,10 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: - draft_issue: *286 - '304': *35 + draft_issue: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -119161,7 +119392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *732 + - *733 - *17 responses: '200': @@ -119172,13 +119403,13 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: Link: example: ; rel="next" schema: type: string - '304': *35 + '304': *36 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119196,8 +119427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *733 - - *280 + - *734 + - *281 requestBody: required: true content: @@ -119271,18 +119502,18 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *734 + schema: *735 examples: table_view: summary: Response for creating a table view - value: *290 + value: *291 board_view: summary: Response for creating a board view with filter - value: *290 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *290 - '304': *35 + value: *291 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -119315,7 +119546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -119323,11 +119554,11 @@ paths: application/json: schema: oneOf: + - *707 - *706 - - *705 examples: - default-response: *735 - response-with-git-hub-plan-information: *736 + default-response: *736 + response-with-git-hub-plan-information: *737 '404': *6 x-github: githubCloudOnly: false @@ -119351,9 +119582,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 requestBody: required: true content: @@ -119377,8 +119608,8 @@ paths: required: - subject_digests examples: - default: *737 - withPredicateType: *738 + default: *738 + withPredicateType: *739 responses: '200': description: Response @@ -119432,7 +119663,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *739 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119465,7 +119696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *70 + - *71 requestBody: required: true content: @@ -119530,7 +119761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *70 + - *71 - name: subject_digest description: Subject Digest in: path @@ -119561,7 +119792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *70 + - *71 - name: attestation_id description: Attestation ID in: path @@ -119597,9 +119828,9 @@ paths: url: https://docs.github.com/rest/users/attestations#list-attestations parameters: - *17 - - *45 - *46 - - *70 + - *47 + - *71 - name: subject_digest description: Subject Digest in: path @@ -119652,12 +119883,12 @@ paths: initiator: type: string examples: - default: *399 + default: *400 '201': description: Response content: application/json: - schema: *164 + schema: *165 examples: default: value: @@ -119699,7 +119930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user parameters: - - *70 + - *71 - name: per_page description: The number of results per page (max 100). in: query @@ -119733,7 +119964,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *196 + items: *197 examples: default: summary: Example response for listing user copilot spaces @@ -119832,7 +120063,7 @@ paths: html_url: https://github.com/copilot/spaces/octocat/2 api_url: https://api.github.com/user/1/copilot-spaces/2 headers: - Link: *66 + Link: *67 '403': *27 '404': *6 x-github: @@ -119854,7 +120085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user parameters: - - *70 + - *71 requestBody: required: true content: @@ -119948,9 +120179,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: &740 + default: &741 summary: Example response for a user copilot space value: id: 42 @@ -120037,7 +120268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120049,9 +120280,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 x-github: @@ -120073,7 +120304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120175,9 +120406,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *197 examples: - default: *740 + default: *741 '403': *27 '404': *6 '422': *15 @@ -120200,7 +120431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120234,7 +120465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120254,7 +120485,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *198 + items: *199 examples: default: value: @@ -120350,7 +120581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120397,7 +120628,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -120457,7 +120688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120508,7 +120739,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -120570,7 +120801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120618,7 +120849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120638,7 +120869,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *199 + items: *200 examples: default: value: @@ -120676,7 +120907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120730,7 +120961,7 @@ paths: description: Resource created content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -120746,7 +120977,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -120781,7 +121012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120799,7 +121030,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -120831,7 +121062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120866,7 +121097,7 @@ paths: description: Response content: application/json: - schema: *199 + schema: *200 examples: default: value: @@ -120899,7 +121130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user parameters: - - *70 + - *71 - name: space_number description: The unique identifier of the Copilot Space. in: path @@ -120935,7 +121166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *70 + - *71 responses: '200': description: Response @@ -120943,9 +121174,9 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 + default: *723 '403': *27 '401': *23 x-github: @@ -120968,7 +121199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -120978,7 +121209,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121040,8 +121271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *70 - - *74 + - *71 + - *75 - *17 - *19 responses: @@ -121051,7 +121282,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121128,7 +121359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121138,7 +121369,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -121196,7 +121427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121208,9 +121439,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121227,7 +121458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121239,9 +121470,9 @@ paths: type: array items: *4 examples: - default: *69 + default: *70 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121258,7 +121489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *70 + - *71 - name: target_user in: path required: true @@ -121285,8 +121516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *70 - - *87 + - *71 + - *88 - *17 - *19 responses: @@ -121296,11 +121527,11 @@ paths: application/json: schema: type: array - items: *88 + items: *89 examples: - default: *89 + default: *90 headers: - Link: *66 + Link: *67 '422': *15 x-github: githubCloudOnly: false @@ -121319,7 +121550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121329,11 +121560,11 @@ paths: application/json: schema: type: array - items: *712 + items: *713 examples: - default: *741 + default: *742 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121355,7 +121586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *70 + - *71 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -121427,7 +121658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *70 + - *71 responses: '200': description: Response @@ -121435,7 +121666,7 @@ paths: application/json: schema: *20 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121453,7 +121684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121489,7 +121720,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121509,7 +121740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -121519,11 +121750,11 @@ paths: application/json: schema: type: array - items: *72 + items: *73 examples: - default: *111 + default: *112 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121560,8 +121791,8 @@ paths: - docker - nuget - container - - *721 - - *70 + - *722 + - *71 - *19 - *17 responses: @@ -121571,12 +121802,12 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: - default: *722 + default: *723 '403': *27 '401': *23 - '400': *723 + '400': *724 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121596,17 +121827,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response content: application/json: - schema: *262 + schema: *263 examples: - default: *742 + default: *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121627,9 +121858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '204': description: Response @@ -121661,9 +121892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 - name: token description: package token schema: @@ -121695,9 +121926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *264 - *265 - - *70 + - *266 + - *71 responses: '200': description: Response @@ -121705,7 +121936,7 @@ paths: application/json: schema: type: array - items: *266 + items: *267 examples: default: value: @@ -121763,16 +121994,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *264 - *265 - - *267 - - *70 + - *266 + - *268 + - *71 responses: '200': description: Response content: application/json: - schema: *266 + schema: *267 examples: default: value: @@ -121807,10 +122038,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -121842,10 +122073,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *264 - *265 - - *70 - - *267 + - *266 + - *71 + - *268 responses: '204': description: Response @@ -121869,15 +122100,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *70 + - *71 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -121886,12 +122117,12 @@ paths: application/json: schema: type: array - items: *278 + items: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121910,19 +122141,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *280 - - *70 + - *281 + - *71 responses: '200': description: Response content: application/json: - schema: *278 + schema: *279 examples: - default: *279 + default: *280 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121941,11 +122172,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *280 - - *70 + - *281 + - *71 - *17 - - *45 - *46 + - *47 responses: '200': description: Response @@ -121953,12 +122184,12 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *743 + default: *744 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -121976,8 +122207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true content: @@ -122015,7 +122246,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *744 + items: *745 required: - name - data_type @@ -122031,7 +122262,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *745 + iteration_configuration: *746 required: - name - data_type @@ -122053,21 +122284,21 @@ paths: value: name: Due date data_type: date - single_select_field: *746 - iteration_field: *747 + single_select_field: *747 + iteration_field: *748 responses: '201': description: Response content: application/json: - schema: *283 + schema: *284 examples: - text_field: *748 - number_field: *749 - date_field: *750 - single_select_field: *751 - iteration_field: *752 - '304': *35 + text_field: *749 + number_field: *750 + date_field: *751 + single_select_field: *752 + iteration_field: *753 + '304': *36 '403': *27 '401': *23 '422': *15 @@ -122087,20 +122318,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *280 - - *753 - - *70 + - *281 + - *754 + - *71 responses: '200': description: Response content: application/json: - schema: *283 + schema: *284 examples: - default: *754 + default: *755 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -122120,10 +122351,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *280 - - *70 - - *45 + - *281 + - *71 - *46 + - *47 - *17 - 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) @@ -122153,12 +122384,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -122176,8 +122407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *70 - - *280 + - *71 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -122247,23 +122478,23 @@ paths: description: Response content: application/json: - schema: *285 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *286 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *286 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *286 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *286 - '304': *35 + value: *287 + '304': *36 '403': *27 '401': *23 x-github: @@ -122282,9 +122513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -122304,12 +122535,12 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 x-github: @@ -122327,9 +122558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -122402,13 +122633,13 @@ paths: description: Response content: application/json: - schema: *287 + schema: *288 examples: - text_field: *288 - number_field: *288 - date_field: *288 - single_select_field: *288 - iteration_field: *288 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -122428,9 +122659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *280 - - *70 - - *289 + - *281 + - *71 + - *290 responses: '204': description: Response @@ -122452,9 +122683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *280 - - *70 - - *755 + - *281 + - *71 + - *756 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -122470,8 +122701,8 @@ paths: maxItems: 50 items: type: string - - *45 - *46 + - *47 - *17 responses: '200': @@ -122480,12 +122711,12 @@ paths: application/json: schema: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: - Link: *66 - '304': *35 + Link: *67 + '304': *36 '403': *27 '401': *23 '404': *6 @@ -122510,7 +122741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -122520,7 +122751,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -122585,7 +122816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -122595,7 +122826,7 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: value: @@ -122658,7 +122889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *70 + - *71 - name: type description: Limit results to repositories of the specified type. in: query @@ -122701,11 +122932,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122725,12 +122956,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing AI credit usage report @@ -122837,8 +123068,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122858,12 +123089,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *120 + - *119 - *121 + - *122 responses: '200': description: Response when getting a billing premium request usage report @@ -122970,8 +123201,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122991,10 +123222,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *70 - - *116 - - *756 - - *118 + - *71 + - *117 + - *757 + - *119 responses: '200': description: Response when getting a billing usage report @@ -123064,8 +123295,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123088,13 +123319,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *70 - - *116 + - *71 - *117 - *118 - - *757 - - *121 + - *119 - *758 + - *122 + - *759 responses: '200': description: Response when getting a billing usage summary @@ -123199,8 +123430,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *53 - '503': *114 + '500': *54 + '503': *115 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123218,7 +123449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -123228,11 +123459,11 @@ paths: application/json: schema: type: array - items: *726 + items: *727 examples: - default: *727 + default: *728 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123250,7 +123481,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -123260,11 +123491,11 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: - default: *759 + default: *760 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123286,9 +123517,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *70 - - *760 - - *60 + - *71 + - *761 + - *61 - *17 - *19 responses: @@ -123299,13 +123530,13 @@ paths: schema: anyOf: - type: array - items: *761 + items: *762 - type: array - items: *78 + items: *79 examples: - default-response: *731 + default-response: *732 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123322,7 +123553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *70 + - *71 - *17 - *19 responses: @@ -123332,11 +123563,11 @@ paths: application/json: schema: type: array - items: *155 + items: *156 examples: - default: *268 + default: *269 headers: - Link: *66 + Link: *67 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123463,7 +123694,7 @@ webhooks: type: string enum: - disabled - enterprise: &762 + enterprise: &763 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123532,7 +123763,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &763 + installation: &764 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123553,7 +123784,7 @@ webhooks: required: - id - node_id - organization: &764 + organization: &765 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123626,7 +123857,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &765 + repository: &766 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -123655,7 +123886,7 @@ webhooks: license: anyOf: - type: 'null' - - *84 + - *85 organization: anyOf: - type: 'null' @@ -124566,10 +124797,10 @@ webhooks: type: string enum: - enabled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -124645,11 +124876,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: &766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: &767 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) @@ -124872,11 +125103,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -125064,11 +125295,11 @@ webhooks: - everyone required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - rule: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -125152,7 +125383,7 @@ webhooks: type: string enum: - completed - check_run: &768 + check_run: &769 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125217,8 +125448,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *85 - repository: *155 + items: *86 + repository: *156 status: type: string enum: @@ -125262,7 +125493,7 @@ webhooks: - examples: - neutral - deployment: *767 + deployment: *768 details_url: type: string examples: @@ -125322,7 +125553,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *85 + items: *86 started_at: type: string format: date-time @@ -125360,10 +125591,10 @@ webhooks: - output - app - pull_requests - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -125754,11 +125985,11 @@ webhooks: type: string enum: - created - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -126152,11 +126383,11 @@ webhooks: type: string enum: - requested_action - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 requested_action: description: The action requested by the user. type: object @@ -126559,11 +126790,11 @@ webhooks: type: string enum: - rerequested - check_run: *768 - installation: *763 - enterprise: *762 - organization: *764 - repository: *765 + check_run: *769 + installation: *764 + enterprise: *763 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -127548,10 +127779,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -128265,10 +128496,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -128976,10 +129207,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -129148,7 +129379,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129300,20 +129531,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &769 + commit_oid: &770 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: *762 - installation: *763 - organization: *764 - ref: &770 + enterprise: *763 + installation: *764 + organization: *765 + ref: &771 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: *765 + repository: *766 sender: *4 required: - action @@ -129480,7 +129711,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129721,12 +129952,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -129824,7 +130055,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130009,12 +130240,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -130183,7 +130414,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130360,12 +130591,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -130466,7 +130697,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130655,9 +130886,9 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130665,7 +130896,7 @@ webhooks: type: - string - 'null' - repository: *765 + repository: *766 sender: *4 required: - action @@ -130764,7 +130995,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130911,12 +131142,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *769 - enterprise: *762 - installation: *763 - organization: *764 - ref: *770 - repository: *765 + commit_oid: *770 + enterprise: *763 + installation: *764 + organization: *765 + ref: *771 + repository: *766 sender: *4 required: - action @@ -131085,7 +131316,7 @@ webhooks: required: - login - id - dismissed_comment: *432 + dismissed_comment: *433 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131237,10 +131468,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131500,10 +131731,10 @@ webhooks: - updated_at - author_association - body - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131584,18 +131815,18 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *764 - pusher_type: &771 + organization: *765 + pusher_type: &772 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &772 + ref: &773 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -131605,7 +131836,7 @@ webhooks: enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -131687,10 +131918,10 @@ webhooks: type: string enum: - created - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -131775,9 +132006,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -131854,10 +132085,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -131934,10 +132165,10 @@ webhooks: type: string enum: - updated - definition: *291 - enterprise: *762 - installation: *763 - organization: *764 + definition: *292 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -132014,19 +132245,19 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - repository: *765 - organization: *764 + enterprise: *763 + installation: *764 + repository: *766 + organization: *765 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *295 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *295 + items: *296 required: - action - repository @@ -132102,18 +132333,18 @@ webhooks: title: delete event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - pusher_type: *771 - ref: *772 + enterprise: *763 + installation: *764 + organization: *765 + pusher_type: *772 + ref: *773 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *765 + repository: *766 sender: *4 required: - ref @@ -132193,11 +132424,11 @@ webhooks: type: string enum: - assignees_changed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132277,11 +132508,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132362,11 +132593,11 @@ webhooks: type: string enum: - auto_reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132447,11 +132678,11 @@ webhooks: type: string enum: - created - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132530,11 +132761,11 @@ webhooks: type: string enum: - dismissed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132613,11 +132844,11 @@ webhooks: type: string enum: - fixed - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132697,11 +132928,11 @@ webhooks: type: string enum: - reintroduced - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132780,11 +133011,11 @@ webhooks: type: string enum: - reopened - alert: *492 - installation: *763 - organization: *764 - enterprise: *762 - repository: *765 + alert: *493 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -132861,9 +133092,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - key: &773 + enterprise: *763 + installation: *764 + key: &774 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132901,8 +133132,8 @@ webhooks: - verified - created_at - read_only - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132979,11 +133210,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - key: *773 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + key: *774 + organization: *765 + repository: *766 sender: *4 required: - action @@ -133550,12 +133781,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: &777 + workflow: &778 title: Workflow type: - object @@ -134306,13 +134537,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *499 + - *500 pull_requests: type: array - items: *598 - repository: *765 - organization: *764 - installation: *763 + items: *599 + repository: *766 + organization: *765 + installation: *764 sender: *4 responses: '200': @@ -134383,7 +134614,7 @@ webhooks: type: string enum: - approved - approver: &774 + approver: &775 type: object properties: avatar_url: @@ -134426,11 +134657,11 @@ webhooks: type: string comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: &775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: &776 type: array items: type: object @@ -134511,7 +134742,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &776 + workflow_job_run: &777 type: object properties: conclusion: @@ -135257,18 +135488,18 @@ webhooks: type: string enum: - rejected - approver: *774 + approver: *775 comment: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - reviewers: *775 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: *776 sender: *4 since: type: string - workflow_job_run: *776 + workflow_job_run: *777 workflow_job_runs: type: array items: @@ -135985,13 +136216,13 @@ webhooks: type: string enum: - requested - enterprise: *762 + enterprise: *763 environment: type: string - installation: *763 - organization: *764 - repository: *765 - requestor: &782 + installation: *764 + organization: *765 + repository: *766 + requestor: &783 title: User type: - object @@ -137924,12 +138155,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Deployment Workflow Run type: @@ -138620,7 +138851,7 @@ webhooks: type: string enum: - answered - answer: &780 + answer: &781 type: object properties: author_association: @@ -138780,11 +139011,11 @@ webhooks: - created_at - updated_at - body - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138911,11 +139142,11 @@ webhooks: - from required: - category - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -138998,11 +139229,11 @@ webhooks: type: string enum: - closed - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139084,7 +139315,7 @@ webhooks: type: string enum: - created - comment: &779 + comment: &780 type: object properties: author_association: @@ -139244,11 +139475,11 @@ webhooks: - updated_at - body - reactions - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139331,12 +139562,12 @@ webhooks: type: string enum: - deleted - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139431,12 +139662,12 @@ webhooks: - from required: - body - comment: *779 - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + comment: *780 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139520,11 +139751,11 @@ webhooks: type: string enum: - created - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139606,11 +139837,11 @@ webhooks: type: string enum: - deleted - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139710,11 +139941,11 @@ webhooks: type: string required: - from - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139796,10 +140027,10 @@ webhooks: type: string enum: - labeled - discussion: *778 - enterprise: *762 - installation: *763 - label: &781 + discussion: *779 + enterprise: *763 + installation: *764 + label: &782 title: Label type: object properties: @@ -139832,8 +140063,8 @@ webhooks: - color - default - description - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139916,11 +140147,11 @@ webhooks: type: string enum: - locked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140002,11 +140233,11 @@ webhooks: type: string enum: - pinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140088,11 +140319,11 @@ webhooks: type: string enum: - reopened - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140177,16 +140408,16 @@ webhooks: changes: type: object properties: - new_discussion: *778 - new_repository: *765 + new_discussion: *779 + new_repository: *766 required: - new_discussion - new_repository - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140269,10 +140500,10 @@ webhooks: type: string enum: - unanswered - discussion: *778 - old_answer: *780 - organization: *764 - repository: *765 + discussion: *779 + old_answer: *781 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140354,12 +140585,12 @@ webhooks: type: string enum: - unlabeled - discussion: *778 - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140442,11 +140673,11 @@ webhooks: type: string enum: - unlocked - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140528,11 +140759,11 @@ webhooks: type: string enum: - unpinned - discussion: *778 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + discussion: *779 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140605,7 +140836,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *762 + enterprise: *763 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -141283,9 +141514,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - forkee @@ -141431,9 +141662,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pages: description: The pages that were updated. type: array @@ -141471,7 +141702,7 @@ webhooks: - action - sha - html_url - repository: *765 + repository: *766 sender: *4 required: - pages @@ -141547,10 +141778,10 @@ webhooks: type: string enum: - created - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: &783 + organization: *765 + repositories: &784 description: An array of repository objects that the installation can access. type: array @@ -141576,8 +141807,8 @@ webhooks: - name - full_name - private - repository: *765 - requester: *782 + repository: *766 + requester: *783 sender: *4 required: - action @@ -141652,11 +141883,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -141733,11 +141964,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -141814,10 +142045,10 @@ webhooks: type: string enum: - added - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: &784 + organization: *765 + repositories_added: &785 description: An array of repository objects, which were added to the installation. type: array @@ -141863,15 +142094,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *765 - repository_selection: &785 + repository: *766 + repository_selection: &786 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *782 + requester: *783 sender: *4 required: - action @@ -141950,10 +142181,10 @@ webhooks: type: string enum: - removed - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories_added: *784 + organization: *765 + repositories_added: *785 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141980,9 +142211,9 @@ webhooks: - name - full_name - private - repository: *765 - repository_selection: *785 - requester: *782 + repository: *766 + repository_selection: *786 + requester: *783 sender: *4 required: - action @@ -142061,11 +142292,11 @@ webhooks: type: string enum: - suspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -142247,10 +142478,10 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 target_type: type: string @@ -142329,11 +142560,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *762 + enterprise: *763 installation: *20 - organization: *764 - repositories: *783 - repository: *765 + organization: *765 + repositories: *784 + repository: *766 requester: type: - 'null' @@ -142589,8 +142820,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143402,8 +143633,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143420,7 +143651,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -143764,8 +143995,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -143845,7 +144076,7 @@ webhooks: type: string enum: - deleted - comment: &786 + comment: &787 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -144020,8 +144251,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144829,8 +145060,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144847,7 +145078,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -145193,8 +145424,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -145274,7 +145505,7 @@ webhooks: type: string enum: - edited - changes: &810 + changes: &811 description: The changes to the comment. type: object properties: @@ -145286,9 +145517,9 @@ webhooks: type: string required: - from - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146099,8 +146330,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146117,7 +146348,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -146461,8 +146692,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -146543,9 +146774,9 @@ webhooks: type: string enum: - pinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147358,8 +147589,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147376,7 +147607,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -147722,8 +147953,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -147803,9 +148034,9 @@ webhooks: type: string enum: - unpinned - comment: *786 - enterprise: *762 - installation: *763 + comment: *787 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148618,8 +148849,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148636,7 +148867,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -148982,8 +149213,8 @@ webhooks: - state - locked - assignee - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149066,15 +149297,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149157,15 +149388,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 + blocked_issue: *83 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - blocking_issue_repo: *78 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + blocking_issue_repo: *79 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149247,15 +149478,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149338,15 +149569,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *82 - blocked_issue_repo: *78 + blocked_issue: *83 + blocked_issue_repo: *79 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *82 - installation: *763 - organization: *764 - repository: *765 + blocking_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -149426,10 +149657,10 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - issue: &787 + assignee: *783 + enterprise: *763 + installation: *764 + issue: &788 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -150239,9 +150470,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -150261,7 +150492,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -150364,8 +150595,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -150445,8 +150676,8 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -151261,9 +151492,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -151283,7 +151514,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -151529,8 +151760,8 @@ webhooks: required: - state - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -151609,8 +151840,8 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152416,9 +152647,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -152438,7 +152669,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -152540,8 +152771,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -152620,8 +152851,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153450,9 +153681,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -153472,7 +153703,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -153553,7 +153784,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &788 + milestone: &789 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153696,8 +153927,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153796,8 +154027,8 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154607,9 +154838,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -154626,7 +154857,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -154732,9 +154963,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154814,9 +155045,9 @@ webhooks: type: string enum: - field_added - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was set or updated on the @@ -154982,8 +155213,8 @@ webhooks: - id required: - from - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155063,9 +155294,9 @@ webhooks: type: string enum: - field_removed - enterprise: *762 - installation: *763 - issue: *787 + enterprise: *763 + installation: *764 + issue: *788 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -155152,8 +155383,8 @@ webhooks: - 'null' required: - id - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155233,8 +155464,8 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156043,9 +156274,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -156062,7 +156293,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -156168,9 +156399,9 @@ webhooks: - active_lock_reason - body - reactions - label: *781 - organization: *764 - repository: *765 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156250,8 +156481,8 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157085,9 +157316,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -157104,7 +157335,7 @@ webhooks: timeline_url: type: string format: uri - type: *245 + type: *246 title: description: Title of the issue type: string @@ -157187,8 +157418,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157267,8 +157498,8 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158096,9 +158327,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -158118,7 +158349,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -158198,9 +158429,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *788 - organization: *764 - repository: *765 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -159087,8 +159318,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -159118,7 +159349,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -159191,7 +159422,7 @@ webhooks: required: - login - id - type: *245 + type: *246 required: - id - number @@ -159683,8 +159914,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160491,8 +160722,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *696 - issue_dependencies_summary: *697 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -160512,7 +160743,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -160523,7 +160754,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 + - *84 user: title: User type: @@ -160618,8 +160849,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -160699,9 +160930,9 @@ webhooks: type: string enum: - pinned - enterprise: *762 - installation: *763 - issue: &789 + enterprise: *763 + installation: *764 + issue: &790 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -161505,9 +161736,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -161527,7 +161758,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -161629,8 +161860,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -161709,8 +161940,8 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162542,9 +162773,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -162644,9 +162875,9 @@ webhooks: format: uri user_view_type: type: string - type: *245 - organization: *764 - repository: *765 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -163533,9 +163764,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -163555,7 +163786,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -164148,11 +164379,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164232,12 +164463,12 @@ webhooks: type: string enum: - typed - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164318,7 +164549,7 @@ webhooks: type: string enum: - unassigned - assignee: &813 + assignee: &814 title: User type: - object @@ -164390,11 +164621,11 @@ webhooks: required: - login - id - enterprise: *762 - installation: *763 - issue: *787 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164473,12 +164704,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - issue: *787 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -164558,8 +164789,8 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -165391,9 +165622,9 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *83 - sub_issues_summary: *696 - issue_dependencies_summary: *697 + - *84 + sub_issues_summary: *697 + issue_dependencies_summary: *698 issue_field_values: type: array items: *549 @@ -165413,7 +165644,7 @@ webhooks: title: description: Title of the issue type: string - type: *245 + type: *246 updated_at: type: string format: date-time @@ -165493,8 +165724,8 @@ webhooks: format: uri user_view_type: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165574,11 +165805,11 @@ webhooks: type: string enum: - unpinned - enterprise: *762 - installation: *763 - issue: *789 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165657,12 +165888,12 @@ webhooks: type: string enum: - untyped - enterprise: *762 - installation: *763 - issue: *787 - type: *245 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + issue: *788 + type: *246 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165742,11 +165973,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165824,11 +166055,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -165938,11 +166169,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - label: *781 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + label: *782 + organization: *765 + repository: *766 sender: *4 required: - action @@ -166024,9 +166255,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: &790 + enterprise: *763 + installation: *764 + marketplace_purchase: &791 title: Marketplace Purchase type: object required: @@ -166114,8 +166345,8 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: &791 + organization: *765 + previous_marketplace_purchase: &792 title: Marketplace Purchase type: object properties: @@ -166199,7 +166430,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -166279,10 +166510,10 @@ webhooks: - changed effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166370,7 +166601,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -166452,10 +166683,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166541,7 +166772,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *765 + repository: *766 sender: *4 required: - action @@ -166622,8 +166853,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 marketplace_purchase: title: Marketplace Purchase type: object @@ -166709,9 +166940,9 @@ webhooks: type: integer unit_count: type: integer - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -166791,12 +167022,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *762 - installation: *763 - marketplace_purchase: *790 - organization: *764 - previous_marketplace_purchase: *791 - repository: *765 + enterprise: *763 + installation: *764 + marketplace_purchase: *791 + organization: *765 + previous_marketplace_purchase: *792 + repository: *766 sender: *4 required: - action @@ -166898,11 +167129,11 @@ webhooks: type: string required: - to - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167004,11 +167235,11 @@ webhooks: type: - string - 'null' - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167087,11 +167318,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167169,11 +167400,11 @@ webhooks: type: string enum: - added - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167251,7 +167482,7 @@ webhooks: required: - login - id - team: &792 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -167481,11 +167712,11 @@ webhooks: type: string enum: - removed - enterprise: *762 - installation: *763 - member: *782 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + member: *783 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167564,7 +167795,7 @@ webhooks: required: - login - id - team: *792 + team: *793 required: - action - scope @@ -167646,8 +167877,8 @@ webhooks: type: string enum: - checks_requested - installation: *763 - merge_group: &793 + installation: *764 + merge_group: &794 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -167666,15 +167897,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *419 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167760,10 +167991,10 @@ webhooks: - merged - invalidated - dequeued - installation: *763 - merge_group: *793 - organization: *764 - repository: *765 + installation: *764 + merge_group: *794 + organization: *765 + repository: *766 sender: *4 required: - action @@ -167836,7 +168067,7 @@ webhooks: type: string enum: - deleted - enterprise: *762 + enterprise: *763 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -167945,12 +168176,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *763 - organization: *764 + installation: *764 + organization: *765 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -168030,11 +168261,11 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168113,9 +168344,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - milestone: &794 + enterprise: *763 + installation: *764 + milestone: &795 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168257,8 +168488,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168337,11 +168568,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168451,11 +168682,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - milestone: *788 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168535,11 +168766,11 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - milestone: *794 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168618,11 +168849,11 @@ webhooks: type: string enum: - blocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168701,11 +168932,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *782 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + blocked_user: *783 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168784,9 +169015,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - membership: &795 + enterprise: *763 + installation: *764 + membership: &796 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -168896,8 +169127,8 @@ webhooks: - role - organization_url - user - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 required: - action @@ -168975,11 +169206,11 @@ webhooks: type: string enum: - member_added - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -169058,8 +169289,8 @@ webhooks: type: string enum: - member_invited - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -169181,10 +169412,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 - user: *782 + user: *783 required: - action - invitation @@ -169262,11 +169493,11 @@ webhooks: type: string enum: - member_removed - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -169353,11 +169584,11 @@ webhooks: properties: from: type: string - enterprise: *762 - installation: *763 - membership: *795 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + membership: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -169434,9 +169665,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -169959,7 +170190,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &796 + items: &797 title: Ruby Gems metadata type: object properties: @@ -170056,7 +170287,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -170132,9 +170363,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -170496,7 +170727,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 source_url: type: string format: uri @@ -170567,7 +170798,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -170747,12 +170978,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *762 + enterprise: *763 id: type: integer - installation: *763 - organization: *764 - repository: *765 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - id @@ -170829,7 +171060,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &797 + personal_access_token_request: &798 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170979,10 +171210,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *762 - organization: *764 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -171059,11 +171290,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -171139,11 +171370,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *797 - enterprise: *762 - organization: *764 + personal_access_token_request: *798 + enterprise: *763 + organization: *765 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -171218,11 +171449,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *797 - organization: *764 - enterprise: *762 + personal_access_token_request: *798 + organization: *765 + enterprise: *763 sender: *4 - installation: *763 + installation: *764 required: - action - personal_access_token_request @@ -171327,7 +171558,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *798 + last_response: *799 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -171359,8 +171590,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 zen: description: Random string of GitHub zen. @@ -171605,10 +171836,10 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: &799 + enterprise: *763 + installation: *764 + organization: *765 + project_card: &800 title: Project Card type: object properties: @@ -171731,7 +171962,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -171812,11 +172043,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -171896,9 +172127,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: title: Project Card type: object @@ -172028,7 +172259,7 @@ webhooks: repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -172122,11 +172353,11 @@ webhooks: - from required: - note - enterprise: *762 - installation: *763 - organization: *764 - project_card: *799 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *800 + repository: *766 sender: *4 required: - action @@ -172220,9 +172451,9 @@ webhooks: - from required: - column_id - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 project_card: allOf: - title: Project Card @@ -172419,7 +172650,7 @@ webhooks: type: string required: - after_id - repository: *765 + repository: *766 sender: *4 required: - action @@ -172499,10 +172730,10 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - organization: *764 - project: &801 + enterprise: *763 + installation: *764 + organization: *765 + project: &802 title: Project type: object properties: @@ -172629,7 +172860,7 @@ webhooks: - creator - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -172709,10 +172940,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project_column: &800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: &801 title: Project Column type: object properties: @@ -172752,7 +172983,7 @@ webhooks: - name - created_at - updated_at - repository: *765 + repository: *766 sender: *4 required: - action @@ -172831,14 +173062,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -172927,11 +173158,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -173011,11 +173242,11 @@ webhooks: type: string enum: - moved - enterprise: *762 - installation: *763 - organization: *764 - project_column: *800 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *801 + repository: *766 sender: *4 required: - action @@ -173095,11 +173326,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -173179,14 +173410,14 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - project: *801 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 repository: anyOf: - type: 'null' - - *765 + - *766 sender: *4 required: - action @@ -173287,11 +173518,11 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -173370,11 +173601,11 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - organization: *764 - project: *801 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + project: *802 + repository: *766 sender: *4 required: - action @@ -173455,9 +173686,9 @@ webhooks: type: string enum: - closed - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173538,9 +173769,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173621,9 +173852,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173744,9 +173975,9 @@ webhooks: type: string to: type: string - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -173829,7 +174060,7 @@ webhooks: type: string enum: - archived - changes: &805 + changes: &806 type: object properties: archived_at: @@ -173845,9 +174076,9 @@ webhooks: - string - 'null' format: date-time - installation: *763 - organization: *764 - projects_v2_item: &802 + installation: *764 + organization: *765 + projects_v2_item: &803 title: Projects v2 Item description: An item belonging to a project type: object @@ -173865,7 +174096,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *284 + content_type: *285 creator: *4 created_at: type: string @@ -173987,9 +174218,9 @@ webhooks: - 'null' to: type: string - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174071,9 +174302,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174154,9 +174385,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174261,7 +174492,7 @@ webhooks: oneOf: - type: string - type: integer - - &803 + - &804 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -174285,7 +174516,7 @@ webhooks: required: - id - name - - &804 + - &805 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -174325,8 +174556,8 @@ webhooks: oneOf: - type: string - type: integer - - *803 - *804 + - *805 type: - 'null' - string @@ -174349,9 +174580,9 @@ webhooks: - 'null' required: - body - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174448,9 +174679,9 @@ webhooks: type: - string - 'null' - installation: *763 - organization: *764 - projects_v2_item: *802 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174533,10 +174764,10 @@ webhooks: type: string enum: - restored - changes: *805 - installation: *763 - organization: *764 - projects_v2_item: *802 + changes: *806 + installation: *764 + organization: *765 + projects_v2_item: *803 sender: *4 required: - action @@ -174618,9 +174849,9 @@ webhooks: type: string enum: - reopened - installation: *763 - organization: *764 - projects_v2: *278 + installation: *764 + organization: *765 + projects_v2: *279 sender: *4 required: - action @@ -174701,9 +174932,9 @@ webhooks: type: string enum: - created - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -174784,9 +175015,9 @@ webhooks: type: string enum: - deleted - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -174932,9 +175163,9 @@ webhooks: - string - 'null' format: date - installation: *763 - organization: *764 - projects_v2_status_update: *806 + installation: *764 + organization: *765 + projects_v2_status_update: *807 sender: *4 required: - action @@ -175005,10 +175236,10 @@ webhooks: title: public event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - repository @@ -175085,13 +175316,13 @@ webhooks: type: string enum: - assigned - assignee: *782 - enterprise: *762 - installation: *763 - number: &807 + assignee: *783 + enterprise: *763 + installation: *764 + number: &808 description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -177334,6 +177565,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -177462,7 +177694,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -177559,11 +177791,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -179797,6 +180029,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -179927,7 +180160,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -180024,11 +180257,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -182262,6 +182495,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -182392,7 +182626,7 @@ webhooks: - draft reason: type: string - repository: *765 + repository: *766 sender: *4 required: - action @@ -182489,13 +182723,13 @@ webhooks: type: string enum: - closed - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: &808 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: &809 allOf: - - *598 + - *599 - type: object properties: allow_auto_merge: @@ -182557,7 +182791,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *765 + repository: *766 sender: *4 required: - action @@ -182638,12 +182872,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -182723,11 +182957,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: &809 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: &810 title: Pull Request type: object properties: @@ -184948,6 +185182,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -185118,7 +185353,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *765 + repository: *766 sender: *4 required: - action @@ -185197,11 +185432,11 @@ webhooks: type: string enum: - dequeued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -187426,6 +187661,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -187569,7 +187805,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *765 + repository: *766 sender: *4 required: - action @@ -187701,12 +187937,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -187786,11 +188022,11 @@ webhooks: type: string enum: - enqueued - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -190015,6 +190251,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -190143,7 +190380,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -190231,11 +190468,11 @@ webhooks: type: string enum: - labeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -192477,6 +192714,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -192605,7 +192843,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -192701,10 +192939,10 @@ webhooks: type: string enum: - locked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -194944,6 +195182,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195072,7 +195311,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -195167,12 +195406,12 @@ webhooks: type: string enum: - milestoned - enterprise: *762 - milestone: *281 - number: *807 - organization: *764 - pull_request: *809 - repository: *765 + enterprise: *763 + milestone: *282 + number: *808 + organization: *765 + pull_request: *810 + repository: *766 sender: *4 required: - action @@ -195251,12 +195490,12 @@ webhooks: type: string enum: - opened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -195337,12 +195576,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -195422,12 +195661,12 @@ webhooks: type: string enum: - reopened - enterprise: *762 - installation: *763 - number: *807 - organization: *764 - pull_request: *808 - repository: *765 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 + pull_request: *809 + repository: *766 sender: *4 required: - action @@ -195802,9 +196041,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -197933,6 +198172,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -198056,7 +198296,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -198151,7 +198391,7 @@ webhooks: type: string enum: - deleted - comment: &811 + comment: &812 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -198444,9 +198684,9 @@ webhooks: - start_side - side - reactions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -200563,6 +200803,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -200686,7 +200927,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -200781,11 +201022,11 @@ webhooks: type: string enum: - edited - changes: *810 - comment: *811 - enterprise: *762 - installation: *763 - organization: *764 + changes: *811 + comment: *812 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -202905,6 +203146,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -203028,7 +203270,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *765 + repository: *766 sender: *4 required: - action @@ -203124,9 +203366,9 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -205256,6 +205498,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -205381,7 +205624,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 review: description: The review that was affected. type: object @@ -205647,9 +205890,9 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -207763,8 +208006,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: &812 + repository: *766 + review: &813 description: The review that was affected. type: object properties: @@ -208010,12 +208253,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -210256,6 +210499,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -210384,7 +210628,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -210470,12 +210714,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -212723,6 +212967,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -212851,7 +213096,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213069,12 +213314,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -215316,6 +215561,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -215445,7 +215691,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_reviewer: title: User type: @@ -215532,12 +215778,12 @@ webhooks: type: string enum: - review_requested - enterprise: *762 - installation: *763 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *764 + organization: *765 pull_request: title: Pull Request type: object @@ -217770,6 +218016,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. @@ -217899,7 +218146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -218106,9 +218353,9 @@ webhooks: type: string enum: - submitted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -220241,6 +220488,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -220366,8 +220614,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 - review: *812 + repository: *766 + review: *813 sender: *4 required: - action @@ -220462,9 +220710,9 @@ webhooks: type: string enum: - resolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -222492,6 +222740,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -222617,7 +222866,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -223022,9 +223271,9 @@ webhooks: type: string enum: - unresolved - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -225036,6 +225285,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: type: string enum: @@ -225160,7 +225410,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *765 + repository: *766 sender: *4 thread: type: object @@ -225561,10 +225811,11 @@ webhooks: type: string enum: - stacked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + stack: *596 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -227806,6 +228057,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -227934,7 +228186,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -228035,10 +228287,10 @@ webhooks: type: string before: type: string - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -230267,6 +230519,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -230395,7 +230648,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -230492,11 +230745,11 @@ webhooks: type: string enum: - unassigned - assignee: *813 - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + assignee: *814 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -232740,6 +232993,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -232868,7 +233122,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -232962,11 +233216,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *762 - installation: *763 - label: *781 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + label: *782 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -235199,6 +235453,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -235327,7 +235582,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -235423,10 +235678,10 @@ webhooks: type: string enum: - unlocked - enterprise: *762 - installation: *763 - number: *807 - organization: *764 + enterprise: *763 + installation: *764 + number: *808 + organization: *765 pull_request: title: Pull Request type: object @@ -237650,6 +237905,7 @@ webhooks: review_comments_url: type: string format: uri + stack: *596 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -237777,7 +238033,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *765 + repository: *766 sender: *4 required: - action @@ -237995,7 +238251,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *762 + enterprise: *763 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238090,8 +238346,8 @@ webhooks: - url - author - committer - installation: *763 - organization: *764 + installation: *764 + organization: *765 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -238690,9 +238946,9 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -239169,7 +239425,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -239225,7 +239481,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -239303,9 +239559,9 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -239617,7 +239873,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *796 + items: *797 summary: type: string tag_name: @@ -239667,7 +239923,7 @@ webhooks: - owner - package_version - registry - repository: *765 + repository: *766 sender: *4 required: - action @@ -239744,10 +240000,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - release: &814 + enterprise: *763 + installation: *764 + organization: *765 + release: &815 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -240078,7 +240334,7 @@ webhooks: - updated_at - zipball_url - body - repository: *765 + repository: *766 sender: *4 required: - action @@ -240155,11 +240411,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -240276,11 +240532,11 @@ webhooks: type: boolean required: - to - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -240358,9 +240614,9 @@ webhooks: type: string enum: - prereleased - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -240696,7 +240952,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -240772,10 +241028,10 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - release: &815 + enterprise: *763 + installation: *764 + organization: *765 + release: &816 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -241108,7 +241364,7 @@ webhooks: - string - 'null' format: uri - repository: *765 + repository: *766 sender: *4 required: - action @@ -241184,11 +241440,11 @@ webhooks: type: string enum: - released - enterprise: *762 - installation: *763 - organization: *764 - release: *814 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *815 + repository: *766 sender: *4 required: - action @@ -241264,11 +241520,11 @@ webhooks: type: string enum: - unpublished - enterprise: *762 - installation: *763 - organization: *764 - release: *815 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + release: *816 + repository: *766 sender: *4 required: - action @@ -241344,11 +241600,11 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -241424,11 +241680,11 @@ webhooks: type: string enum: - reported - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_advisory: *683 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *684 sender: *4 required: - action @@ -241504,10 +241760,10 @@ webhooks: type: string enum: - archived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241584,10 +241840,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241665,10 +241921,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241753,10 +242009,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241871,10 +242127,10 @@ webhooks: - 'null' items: type: string - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -241946,10 +242202,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 status: type: string @@ -242030,10 +242286,10 @@ webhooks: type: string enum: - privatized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242110,10 +242366,10 @@ webhooks: type: string enum: - publicized - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242207,10 +242463,10 @@ webhooks: - name required: - repository - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242290,11 +242546,11 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -242372,11 +242628,11 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 sender: *4 required: - action @@ -242454,11 +242710,11 @@ webhooks: type: string enum: - edited - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - repository_ruleset: *323 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_ruleset: *324 changes: type: object properties: @@ -242477,16 +242733,16 @@ webhooks: properties: added: type: array - items: *297 + items: *298 deleted: type: array - items: *297 + items: *298 updated: type: array items: type: object properties: - condition: *297 + condition: *298 changes: type: object properties: @@ -242519,16 +242775,16 @@ webhooks: properties: added: type: array - items: *619 + items: *620 deleted: type: array - items: *619 + items: *620 updated: type: array items: type: object properties: - rule: *619 + rule: *620 changes: type: object properties: @@ -242765,10 +243021,10 @@ webhooks: - from required: - owner - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242846,10 +243102,10 @@ webhooks: type: string enum: - unarchived - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -242927,7 +243183,7 @@ webhooks: type: string enum: - create - alert: &816 + alert: &817 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243052,10 +243308,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243265,10 +243521,10 @@ webhooks: type: string enum: - dismissed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243346,11 +243602,11 @@ webhooks: type: string enum: - reopen - alert: *816 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *817 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243552,10 +243808,10 @@ webhooks: enum: - fixed - open - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243633,17 +243889,17 @@ webhooks: type: string enum: - assigned - alert: &818 + alert: &819 type: object properties: - number: *180 - created_at: *181 + number: *181 + created_at: *182 updated_at: anyOf: - type: 'null' - - *182 - url: *183 - html_url: *184 + - *183 + url: *184 + html_url: *185 locations_url: type: string format: uri @@ -243697,6 +243953,14 @@ webhooks: - 'null' description: The slug identifier for the provider of the secret that was detected. + secret_category: + type: string + description: The category of the detected secret. `default` + covers specific provider patterns and custom patterns; `generic` + covers non-specific patterns and AI-detected secrets. + enum: + - default + - generic validity: type: string description: The token status as of the latest validity check. @@ -243772,12 +244036,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *817 + metadata: *818 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243855,11 +244119,11 @@ webhooks: type: string enum: - created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -243940,11 +244204,11 @@ webhooks: type: string enum: - created - alert: *818 - installation: *763 - location: *819 - organization: *764 - repository: *765 + alert: *819 + installation: *764 + location: *820 + organization: *765 + repository: *766 sender: *4 required: - location @@ -244182,11 +244446,11 @@ webhooks: type: string enum: - metadata_created - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244263,11 +244527,11 @@ webhooks: type: string enum: - metadata_removed - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244344,11 +244608,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244426,11 +244690,11 @@ webhooks: type: string enum: - reopened - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244508,11 +244772,11 @@ webhooks: type: string enum: - resolved - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244590,12 +244854,12 @@ webhooks: type: string enum: - unassigned - alert: *818 + alert: *819 assignee: *4 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244673,11 +244937,11 @@ webhooks: type: string enum: - validated - alert: *818 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + alert: *819 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -244807,10 +245071,10 @@ webhooks: - organization - enterprise - - repository: *765 - enterprise: *762 - installation: *763 - organization: *764 + repository: *766 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -244888,11 +245152,11 @@ webhooks: type: string enum: - published - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: &820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: &821 description: The details of the security advisory, including summary, description, and severity. type: object @@ -244909,7 +245173,7 @@ webhooks: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -245096,11 +245360,11 @@ webhooks: type: string enum: - updated - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 - security_advisory: *820 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: *821 sender: *4 required: - action @@ -245173,10 +245437,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -245194,7 +245458,7 @@ webhooks: required: - vector_string - score - cvss_severities: *62 + cvss_severities: *63 cwes: type: array items: @@ -245370,11 +245634,11 @@ webhooks: from: type: object properties: - security_and_analysis: *296 - enterprise: *762 - installation: *763 - organization: *764 - repository: *342 + security_and_analysis: *297 + enterprise: *763 + installation: *764 + organization: *765 + repository: *343 sender: *4 required: - changes @@ -245452,12 +245716,12 @@ webhooks: type: string enum: - cancelled - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: &821 + sponsorship: &822 type: object properties: created_at: @@ -245762,12 +246026,12 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -245855,12 +246119,12 @@ webhooks: type: string required: - from - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -245937,17 +246201,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &822 + effective_date: &823 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: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - sponsorship @@ -246021,7 +246285,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &823 + changes: &824 type: object properties: tier: @@ -246065,13 +246329,13 @@ webhooks: - from required: - tier - effective_date: *822 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + effective_date: *823 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -246148,13 +246412,13 @@ webhooks: type: string enum: - tier_changed - changes: *823 - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + changes: *824 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *821 + sponsorship: *822 required: - action - changes @@ -246228,10 +246492,10 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246315,10 +246579,10 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246752,15 +247016,15 @@ webhooks: type: - string - 'null' - enterprise: *762 + enterprise: *763 id: description: The unique identifier of the status. type: integer - installation: *763 + installation: *764 name: type: string - organization: *764 - repository: *765 + organization: *765 + repository: *766 sender: *4 sha: description: The Commit SHA. @@ -246870,15 +247134,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -246961,15 +247225,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - parent_issue_repo: *78 + parent_issue: *83 + parent_issue_repo: *79 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - installation: *763 - organization: *764 - repository: *765 + sub_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -247052,15 +247316,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -247143,15 +247407,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *82 - sub_issue_repo: *78 + sub_issue: *83 + sub_issue_repo: *79 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *82 - installation: *763 - organization: *764 - repository: *765 + parent_issue: *83 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -247227,12 +247491,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - team: &824 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -247462,9 +247726,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -247934,7 +248198,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -248010,9 +248274,9 @@ webhooks: type: string enum: - created - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -248482,7 +248746,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -248559,9 +248823,9 @@ webhooks: type: string enum: - deleted - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -249031,7 +249295,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -249175,9 +249439,9 @@ webhooks: - from required: - permissions - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -249647,7 +249911,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - changes @@ -249725,9 +249989,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *762 - installation: *763 - organization: *764 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -250197,7 +250461,7 @@ webhooks: - topics - visibility sender: *4 - team: *824 + team: *825 required: - action - team @@ -250273,10 +250537,10 @@ webhooks: type: string enum: - started - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -250349,17 +250613,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *762 + enterprise: *763 inputs: type: - object - 'null' additionalProperties: true - installation: *763 - organization: *764 + installation: *764 + organization: *765 ref: type: string - repository: *765 + repository: *766 sender: *4 workflow: type: string @@ -250441,10 +250705,10 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -250700,7 +250964,7 @@ webhooks: type: string required: - conclusion - deployment: *499 + deployment: *500 required: - action - repository @@ -250779,10 +251043,10 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -251064,7 +251328,7 @@ webhooks: required: - status - steps - deployment: *499 + deployment: *500 required: - action - repository @@ -251143,10 +251407,10 @@ webhooks: type: string enum: - queued - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -251292,7 +251556,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -251371,10 +251635,10 @@ webhooks: type: string enum: - waiting - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -251521,7 +251785,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *499 + deployment: *500 required: - action - repository @@ -251601,12 +251865,12 @@ webhooks: type: string enum: - completed - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -252625,12 +252889,12 @@ webhooks: type: string enum: - in_progress - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -253634,12 +253898,12 @@ webhooks: type: string enum: - requested - enterprise: *762 - installation: *763 - organization: *764 - repository: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *777 + workflow: *778 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 039cf6dad3..fa7908d2dc 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -18604,6 +18604,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19066,6 +19092,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19232,6 +19284,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19337,6 +19415,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19520,6 +19624,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -19811,6 +19941,32 @@ } } } + }, + "410": { + "description": "Gone", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } } }, "x-github": { @@ -52076,17 +52232,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": { "get": { - "summary": "Get Copilot enterprise user-teams report for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the enterprise, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", + "operationId": "copilot/copilot-enterprise-repos-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day" }, "parameters": [ { @@ -52155,6 +52311,9 @@ } } }, + "204": { + "description": "A header with no content is returned." + }, "500": { "description": "Internal Error", "content": { @@ -52242,17 +52401,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": { "get": { - "summary": "Get Copilot users usage metrics for a specific day", - "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot enterprise user-teams report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise user-teams report for a specific day. The report provides user-team join data for Copilot across the enterprise, with one entry per user-team pair.\n\nThe report contains user-team membership data for the specified day, enabling consumers to join with the existing enterprise user reports to compute team-level usage metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-one-day-usage-metrics", + "operationId": "copilot/copilot-enterprise-user-teams-one-day-report", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day" }, "parameters": [ { @@ -52408,17 +52567,17 @@ } } }, - "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { "get": { - "summary": "Get Copilot users usage metrics", - "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/copilot-users-usage-metrics", + "operationId": "copilot/copilot-users-one-day-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day" }, "parameters": [ { @@ -52429,6 +52588,19 @@ "schema": { "type": "string" } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } } ], "responses": { @@ -52438,8 +52610,8 @@ "application/json": { "schema": { "type": "object", - "title": "Copilot Metrics 28 Day Report", - "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", "properties": { "download_links": { "type": "array", @@ -52447,23 +52619,17 @@ "type": "string", "format": "uri" }, - "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." - }, - "report_start_day": { - "type": "string", - "format": "date", - "description": "The start date of the report period in `YYYY-MM-DD` format." + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." }, - "report_end_day": { + "report_day": { "type": "string", "format": "date", - "description": "The end date of the report period in `YYYY-MM-DD` format." + "description": "The day of the report in `YYYY-MM-DD` format." } }, "required": [ "download_links", - "report_start_day", - "report_end_day" + "report_day" ] }, "examples": { @@ -52473,8 +52639,7 @@ "https://example.com/copilot-usage-report-1.ndjson", "https://example.com/copilot-usage-report-2.ndjson" ], - "report_start_day": "2025-07-01", - "report_end_day": "2025-07-28" + "report_day": "2025-07-01" } } } @@ -52568,17 +52733,17 @@ } } }, - "/enterprises/{enterprise}/copilot/policies/coding_agent": { - "put": { - "summary": "Set the coding agent policy for an enterprise", - "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows authorized users to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nEnterprise owners, billing managers, and authorized users with fine-grained \"View Enterprise Copilot Metrics\" permission can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], - "operationId": "copilot/set-enterprise-coding-agent-policy", + "operationId": "copilot/copilot-users-usage-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics" }, "parameters": [ { @@ -52591,46 +52756,206 @@ } } ], - "requestBody": { - "description": "The coding agent policy configuration", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "policy_state": { - "type": "string", - "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", - "enum": [ - "enabled_for_all_orgs", - "disabled_for_all_orgs", - "enabled_for_selected_orgs", - "configured_by_org_admins" - ] - } + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise/organization.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise/organization." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] }, - "required": [ - "policy_state" - ] - }, - "examples": { - "default": { - "summary": "Enable coding agent for all organizations", - "value": { - "policy_state": "enabled_for_all_orgs" + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } } } } } - } - }, - "responses": { - "204": { - "description": "A header with no content is returned." }, - "400": { - "description": "Bad Request", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot cloud agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot cloud agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot cloud agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -169776,6 +170101,11 @@ ] } }, + "partial_success": { + "type": "boolean", + "default": false, + "description": "When enabled, deployments associated with repositories the actor can write to are processed\nwhile deployments associated with repositories that cannot be resolved or written to by the actor\nare skipped and reported in the `errors` array. When false (the default), the endpoint returns\nan error if any targeted repository cannot be resolved, the actor lacks write access, or no matching attestation can be found.\n" + }, "return_records": { "type": "boolean", "default": true, @@ -169918,6 +170248,199 @@ } } }, + "207": { + "description": "This response format is only returned when `partial_success` is set to true in the request body.\nSuccessfully processed deployments are included in the `deployment_records` field. Records that could\nnot be processed and were skipped because of unresolvable repositories, missing actor permissions, or lack of a matching attestation are\nincluded in the `errors` field.\n", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created or updated.", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + }, + "errors": { + "type": "array", + "description": "A list of errors for deployments that could not be processed.", + "items": { + "type": "object", + "properties": { + "cause": { + "type": "string", + "description": "The reason the deployment failed processing.", + "enum": [ + "unauthorized", + "not_found" + ] + }, + "deployment": { + "type": "object", + "description": "The deployment payload that could not be processed.", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment that failed processing." + }, + "version": { + "type": [ + "string", + "null" + ], + "description": "The version of the deployment." + }, + "status": { + "type": "string", + "description": "The deployment status." + }, + "github_repository": { + "type": [ + "string", + "null" + ], + "description": "The repository associated with the deployment." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom metadata tags for the deployment." + }, + "runtime_risks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Runtime risk classifications for the deployment." + } + } + } + } + } + } + }, + "required": [ + "total_count" + ] + }, + "examples": { + "partial_success": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 42, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "us-east-1a", + "cluster": "production-cluster", + "deployment_name": "deployment-pod", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ], + "created_at": "2024-01-01T12:00:00Z", + "updated_at": "2024-01-01T12:30:00Z", + "attestation_id": 777 + } + ], + "errors": [ + { + "cause": "unauthorized", + "deployment": { + "name": "my-image", + "digest": "sha256:5aa19f9a13f67a644f6d8528e2eb5cf64431e236df5dbbd44ff9b9e3f6fc6cb2", + "deployment_name": "restricted-deployment", + "version": "2.1.1", + "status": "deployed", + "github_repository": "private-repo", + "tags": { + "owning-team": "platform" + }, + "runtime_risks": [ + "sensitive-data" + ] + } + } + ] + } + } + } + } + } + }, "403": { "description": "Forbidden", "content": { @@ -200252,6 +200775,175 @@ } } }, + "/orgs/{org}/copilot/metrics/reports/repos-1-day": { + "get": { + "summary": "Get Copilot organization repository report for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot organization repository report for a specific day. The report provides per-repository pull request metrics for Copilot across the organization, with one entry per repository.\n\nThe report contains repository-level pull request activity for the specified day, including the Copilot Coding Agent (CCA) and Copilot Code Review (CCR) breakdowns. Only repositories that had activity on the specified day are included. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed.\n\nOrganization owners and authorized users with fine-grained \"View Organization Copilot Metrics\" permission can retrieve Copilot metrics reports for the organization. OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.\n\nFor more information about organization metrics attribution, see [How are metrics attributed across organizations](https://docs.github.com/enterprise-cloud@latest/copilot/concepts/copilot-metrics#how-are-metrics-attributed-across-organizations).", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-organization-repos-one-day-report", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise/organization for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise/organization for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.ndjson", + "https://example.com/copilot-usage-report-2.ndjson" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "204": { + "description": "A header with no content is returned." + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "copilot", + "subcategory": "copilot-usage-metrics" + } + } + }, "/orgs/{org}/copilot/metrics/reports/user-teams-1-day": { "get": { "summary": "Get Copilot organization user-teams report for a specific day", @@ -277746,6 +278438,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -289399,6 +290137,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -421329,17 +422113,17 @@ } } }, - "/repos/{owner}/{repo}/code-scanning/alerts": { + "/repos/{owner}/{repo}/code-quality/findings": { "get": { - "summary": "List code scanning alerts for a repository", - "description": "Lists code scanning alerts.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "summary": "List code quality findings for a repository", + "description": "Lists code quality findings for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", "tags": [ - "code-scanning" + "code-quality" ], - "operationId": "code-scanning/list-alerts-for-repo", + "operationId": "code-quality/list-findings-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository" }, "parameters": [ { @@ -421360,38 +422144,6 @@ "type": "string" } }, - { - "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": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." - } - }, - { - "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 their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both.", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -421401,25 +422153,1201 @@ "default": 30 } }, - { - "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": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." - } - }, - { - "name": "pr", - "description": "The number of the pull request for the results you want to list.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } - }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "description": "If specified, only code quality findings with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "dismissed" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + ] + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "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": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/findings/{finding_number}": { + "get": { + "summary": "Get a code quality finding", + "description": "Gets a single code quality finding.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-finding", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "finding_number", + "in": "path", + "description": "The number that identifies a finding.", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Code quality finding", + "type": "object", + "properties": { + "number": { + "description": "The finding number.", + "type": "integer" + }, + "state": { + "description": "State of the code quality finding.", + "type": "string", + "enum": [ + "open", + "dismissed" + ] + }, + "url": { + "description": "The REST API URL of the code quality finding resource.", + "type": "string", + "format": "uri" + }, + "rule": { + "description": "Code quality rule", + "type": "object", + "properties": { + "id": { + "description": "A unique identifier for the rule used to detect the finding.", + "type": "string" + }, + "title": { + "description": "The name of the rule used to detect the finding.", + "type": "string" + }, + "description": { + "description": "A short description of the rule used to detect the finding.", + "type": "string" + }, + "help": { + "description": "A detailed description of the rule used to detect the finding.", + "type": "string" + }, + "severity": { + "description": "The severity of the rule used to detect the finding.", + "type": "string", + "enum": [ + "error", + "warning", + "note", + "none" + ] + }, + "category": { + "description": "The category of the rule used to detect the finding.", + "type": "string", + "enum": [ + "none", + "maintainability", + "reliability" + ] + } + }, + "required": [ + "id", + "title", + "description", + "severity", + "category" + ] + }, + "location": { + "description": "Code quality file location", + "type": "object", + "properties": { + "path": { + "description": "The file path where the finding was detected.", + "type": "string" + }, + "start_line": { + "description": "The line number where the finding starts.", + "type": "integer" + }, + "start_column": { + "description": "The column number where the finding starts.", + "type": "integer" + }, + "end_line": { + "description": "The line number where the finding ends.", + "type": "integer" + }, + "end_column": { + "description": "The column number where the finding ends.", + "type": "integer" + } + }, + "required": [ + "path" + ] + }, + "message": { + "description": "Code quality finding message", + "type": "object", + "properties": { + "text": { + "description": "The message text of the code quality finding.", + "type": "string" + }, + "markdown": { + "description": "The message text of the code quality finding in markdown format.", + "type": "string" + } + }, + "required": [ + "text", + "markdown" + ] + }, + "created_at": { + "description": "The time the code quality finding was created.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "number", + "state", + "url", + "rule", + "location", + "message" + ] + }, + "examples": { + "default": { + "value": { + "number": 42, + "state": "open", + "url": "https://api.github.com/repos/octocat/hello-world/code-quality/findings/42", + "rule": { + "id": "java/useless-null-check", + "title": "Useless null check", + "description": "Checking whether an expression is null when that expression cannot possibly be null is useless.", + "help": "# Useless null check\nSometimes you can guarantee that a particular variable will never be null. For example when that variable has just been assigned a newly created object or is the exception caught by a `catch` clause. A null check on such a variable is ...", + "severity": "warning", + "category": "maintainability" + }, + "location": { + "path": "java/UselessNullCheck.java", + "start_line": 9, + "start_column": 4, + "end_line": 9, + "end_column": 18 + }, + "message": { + "text": "This check is useless. o cannot be null at this check, since it is guarded by instanceof.", + "markdown": "This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25)." + }, + "created_at": "2026-01-23T12:34:56Z" + } + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "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": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-quality/setup": { + "get": { + "summary": "Get a code quality setup configuration", + "description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/get-setup", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2023-12-06T14:20:20.000Z" + ] + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + }, + "examples": { + "default": { + "value": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + } + } + } + } + } + }, + "403": { + "description": "Response if the user is not authorized to access Code quality for this repository.", + "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" + } + } + } + } + } + }, + "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": "code-quality", + "subcategory": "code-quality" + } + }, + "patch": { + "summary": "Update a code quality setup configuration", + "description": "Updates a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-quality" + ], + "operationId": "code-quality/update-setup", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "The desired state of code quality setup.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby" + ] + } + } + }, + "anyOf": [ + { + "required": [ + "state" + ] + }, + { + "required": [ + "runner_type" + ] + }, + { + "required": [ + "runner_label" + ] + }, + { + "required": [ + "languages" + ] + } + ], + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python", + "ruby" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "You can use `run_url` to track the status of the run. This includes a property status and conclusion.\nYou should not rely on this always being an actions workflow run object.", + "type": "object", + "properties": { + "run_id": { + "description": "ID of the corresponding run.", + "type": "integer" + }, + "run_url": { + "description": "URL of the corresponding run.", + "type": "string" + } + } + }, + "examples": { + "default": { + "value": { + "run_id": 42, + "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if Code quality is not enabled for this repository", + "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" + } + } + } + } + } + }, + "409": { + "description": "Response if there is already a code quality setup configuration update in progress", + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the configuration change cannot be made", + "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": "code-quality", + "subcategory": "code-quality" + } + } + }, + "/repos/{owner}/{repo}/code-scanning/alerts": { + "get": { + "summary": "List code scanning alerts for a repository", + "description": "Lists code scanning alerts.\n\nThe response includes a `most_recent_instance` object.\nThis provides details of the most recent instance of this alert\nfor the default branch (or for the specified Git reference if you used `ref` in the request).\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/list-alerts-for-repo", + "externalDocs": { + "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": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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": { + "type": "string", + "description": "The name of the tool used to generate the code scanning analysis." + } + }, + { + "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 their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both.", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ], + "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "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": { + "type": "string", + "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + } + }, + { + "name": "pr", + "description": "The number of the pull request for the results you want to list.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, { "name": "direction", "description": "The direction to sort the results by.", @@ -452808,6 +454736,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -685697,6 +687671,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -690132,352 +692152,398 @@ "type", "url" ] - } - }, - "required": [ - "label", - "ref", - "repo", - "sha", - "user" - ] - }, - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "commits": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "statuses": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "html": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] - }, - "issue": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "_links": { + "type": "object", + "properties": { + "comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "commits": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "statuses": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "html": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "issue": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comment": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "self": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] }, - "review_comments": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" ] }, - "review_comment": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] + "commit_title": { + "type": "string", + "description": "Title for the merge commit message." }, - "self": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { - "href": { - "type": "string" - } - }, - "required": [ - "href" - ] + "commit_message": { + "type": "string", + "description": "Commit message for the merge commit." } }, "required": [ - "comments", - "commits", - "statuses", - "html", - "issue", - "review_comments", - "review_comment", - "self" - ] - }, - "author_association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": [ - "OWNER" + "enabled_by", + "merge_method", + "commit_title", + "commit_message" ] }, - "auto_merge": { - "title": "Auto merge", - "description": "The status of auto merging a pull request.", + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", "type": [ "object", "null" ], "properties": { - "enabled_by": { - "title": "Simple User", - "description": "A GitHub user.", + "base": { "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "ref": { "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] + "description": "The base ref of the stack this pull request belongs to." }, - "user_view_type": { + "sha": { "type": "string", - "examples": [ - "public" - ] + "description": "The base SHA of the stack this pull request belongs to." } }, "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "ref", + "sha" ] }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": [ - "merge", - "squash", - "rebase" - ] + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." }, - "commit_title": { - "type": "string", - "description": "Title for the merge commit message." + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." }, - "commit_message": { - "type": "string", - "description": "Commit message for the merge commit." + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." } }, "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" + "base" ] }, "draft": { @@ -698735,6 +700801,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -703793,6 +705905,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -717258,6 +719416,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -722153,6 +724357,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -888143,6 +890393,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -959455,6 +961751,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1114431,6 +1116773,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1531145,6 +1533533,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1536242,6 +1538676,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1541342,6 +1543822,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1547528,6 +1550054,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1553904,6 +1556476,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1559474,6 +1562092,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1564560,6 +1567224,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1570822,6 +1573532,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1576102,6 +1578858,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1581252,6 +1584054,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1586357,6 +1589205,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1591734,6 +1594628,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1597916,6 +1600856,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1604292,6 +1607278,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1610668,6 +1613700,52 @@ "commit_message" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "draft": { "description": "Indicates whether or not the pull request is a draft.", "type": "boolean", @@ -1616188,6 +1619266,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1621495,6 +1624619,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1626824,6 +1629994,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1631771,6 +1634987,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1642148,6 +1645410,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1647264,6 +1650572,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1652514,6 +1655868,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1657617,6 +1661017,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1662710,6 +1666156,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1667793,6 +1671285,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1673044,6 +1676582,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "type": "string", "enum": [ @@ -1675497,6 +1679081,52 @@ "node_id" ] }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "number": { "description": "The pull request number.", "type": "integer" @@ -1678542,6 +1682172,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1683648,6 +1687324,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1688860,6 +1692582,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1694008,6 +1697776,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1699095,6 +1702909,52 @@ "type": "string", "format": "uri" }, + "stack": { + "title": "Pull Request Stack", + "description": "The stack information associated with a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "base": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The base ref of the stack this pull request belongs to." + }, + "sha": { + "type": "string", + "description": "The base SHA of the stack this pull request belongs to." + } + }, + "required": [ + "ref", + "sha" + ] + }, + "size": { + "type": "integer", + "description": "The total number of pull requests in the stack." + }, + "position": { + "type": "integer", + "description": "The one-based position of this pull request within the stack, where 1 is the bottom of the stack." + }, + "id": { + "type": "integer", + "description": "The ID of the stack that this pull request belongs to." + }, + "number": { + "type": "integer", + "description": "The number of the stack that this pull request belongs to." + } + }, + "required": [ + "base" + ] + }, "state": { "description": "State of this Pull Request. Either `open` or `closed`.", "type": "string", @@ -1777403,6 +1781263,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1780635,6 +1784503,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1783699,6 +1787575,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1787269,6 +1791153,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1790332,6 +1794224,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1793395,6 +1797295,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1796459,6 +1800367,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1799523,6 +1803439,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1802587,6 +1806511,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + "generic" + ] + }, "validity": { "type": "string", "description": "The token status as of the latest validity check.", @@ -1805819,6 +1809751,14 @@ ], "description": "The slug identifier for the provider of the secret that was detected." }, + "secret_category": { + "type": "string", + "description": "The category of the detected secret. `default` covers specific provider patterns and custom patterns; `generic` covers non-specific patterns and AI-detected secrets.", + "enum": [ + "default", + {"code":"deadline_exceeded","msg":"operation timed out"}